The Dashboard has encountered an exception

boxcarpilot
Posts: 5
Joined: Mon Sep 03, 2018 8:54 pm

The Dashboard has encountered an exception

Postby boxcarpilot » Wed Sep 22, 2021 3:00 pm

Hello,

I upgraded to Amahi 11 after removing all my apps. Yes all of them.

The upgrade seemed to performed fine.
But now I'm unable to access the Dashboard.

The error in the dashboard says:
"Woopsie. Sorry about that!
It could be due to a bug, or very low memory, or very low disk in the root (/) partition.
If your disk or memory are not critical, it's likely a bug."


Production Log says:
[2021-09-22T16:50:27.339161 #2047] INFO -- : [3cbbf79e-9b1e-493a-b432-479ef54698ef] Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.7ms)
F, [2021-09-22T16:50:27.339590 #2047] FATAL -- : [3cbbf79e-9b1e-493a-b432-479ef54698ef]
F, [2021-09-22T16:50:27.339617 #2047] FATAL -- : [3cbbf79e-9b1e-493a-b432-479ef54698ef] JSON::ParserError (765: unexpected token at { I"session_id:ETI"%73574d5d74ebb9eb431be811edd896fa;'):
F, [2021-09-22T16:50:27.339636 #2047] FATAL -- : [3cbbf79e-9b1e-493a-b432-479ef54698ef]
F, [2021-09-22T16:50:27.339658 #2047] FATAL -- : [3cbbf79e-9b1e-493a-b432-479ef54698ef] app/controllers/application_controller.rb:36:in `accessed_from_ip'
I, [2021-09-22T16:50:31.434787 #2047] INFO -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Started GET "/tab/debug" for 192.168.0.182 at 2021-09-22 16:50:31 -0500
I, [2021-09-22T16:50:31.435857 #2047] INFO -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Processing by DebugController#index as HTML
D, [2021-09-22T16:50:31.437983 #2047] DEBUG -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:31.439351 #2047] DEBUG -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] DnsAlias Load (0.4ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:31.440562 #2047] DEBUG -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:31.444725 #2047] DEBUG -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-22T16:50:31.445422 #2047] INFO -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.6ms)
F, [2021-09-22T16:50:31.445856 #2047] FATAL -- : [1d150077-8ec8-4f03-8896-be3406ba2a33]
F, [2021-09-22T16:50:31.445882 #2047] FATAL -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] JSON::ParserError (765: unexpected token at { I"session_id:ETI"%73574d5d74ebb9eb431be811edd896fa;'):
F, [2021-09-22T16:50:31.445903 #2047] FATAL -- : [1d150077-8ec8-4f03-8896-be3406ba2a33]
F, [2021-09-22T16:50:31.445924 #2047] FATAL -- : [1d150077-8ec8-4f03-8896-be3406ba2a33] app/controllers/application_controller.rb:36:in `accessed_from_ip'
I, [2021-09-22T16:50:35.527053 #2047] INFO -- : [fc1d9d75-50df-4265-8324-b44be975096f] Started GET "/tab/debug" for 192.168.0.182 at 2021-09-22 16:50:35 -0500
I, [2021-09-22T16:50:35.528117 #2047] INFO -- : [fc1d9d75-50df-4265-8324-b44be975096f] Processing by DebugController#index as HTML
D, [2021-09-22T16:50:35.530233 #2047] DEBUG -- : [fc1d9d75-50df-4265-8324-b44be975096f] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:35.531629 #2047] DEBUG -- : [fc1d9d75-50df-4265-8324-b44be975096f] DnsAlias Load (0.4ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:35.532828 #2047] DEBUG -- : [fc1d9d75-50df-4265-8324-b44be975096f] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-22T16:50:35.537181 #2047] DEBUG -- : [fc1d9d75-50df-4265-8324-b44be975096f] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-22T16:50:35.538300 #2047] INFO -- : [fc1d9d75-50df-4265-8324-b44be975096f] Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.6ms)
F, [2021-09-22T16:50:35.538730 #2047] FATAL -- : [fc1d9d75-50df-4265-8324-b44be975096f]
F, [2021-09-22T16:50:35.538756 #2047] FATAL -- : [fc1d9d75-50df-4265-8324-b44be975096f] JSON::ParserError (765: unexpected token at { I"session_id:ETI"%73574d5d74ebb9eb431be811edd896fa;'):
F, [2021-09-22T16:50:35.538777 #2047] FATAL -- : [fc1d9d75-50df-4265-8324-b44be975096f]
F, [2021-09-22T16:50:35.538798 #2047] FATAL -- : [fc1d9d75-50df-4265-8324-b44be975096f] app/controllers/application_controller.rb:36:in `accessed_from_ip'

df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 752K 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda4 2.5T 2.3T 204G 92% /
tmpfs 3.9G 20K 3.9G 1% /tmp
/dev/sdb1 2.7T 548G 2.1T 21% /var/hda/files/drives/wdi
/dev/sda2 976M 137M 773M 15% /boot
tmpfs 789M 0 789M 0% /run/user/1000

It seems to have problems with my fixed DHCP IPs and alias, but I could not care less about those.

User avatar
cpg
Administrator
Posts: 2615
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: The Dashboard has encountered an exception

Postby cpg » Thu Sep 23, 2021 6:16 am

Looks like it's a session issue. Maybe the session cookies or their format changed.

Can you try to clear the cookies out for the domain corresponding to the url you use for accessing your HDA?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

boxcarpilot
Posts: 5
Joined: Mon Sep 03, 2018 8:54 pm

Re: The Dashboard has encountered an exception

Postby boxcarpilot » Thu Sep 23, 2021 6:36 am

clearing cookies worked for me to get into the login screen.

After typing my credentials, the same screen with the Dashboard message shows up again, and then I'm kicked back to the login screen.

production log looks a bit different:
D, [2021-09-23T08:37:32.957281 #1337] DEBUG -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Setting Load (0.3ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:32.960597 #1337] DEBUG -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:32.961753 #1337] DEBUG -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Setting Load (0.3ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:32.962123 #1337] DEBUG -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] CACHE Setting Load (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T08:37:32.963210 #1337] INFO -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Rendering user_sessions/new.html.slim within layouts/login
I, [2021-09-23T08:37:32.964018 #1337] INFO -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Rendered user_sessions/new.html.slim within layouts/login (0.7ms)
I, [2021-09-23T08:37:32.966822 #1337] INFO -- : [920cacbf-2328-4cc4-97f3-171d2fe85bc2] Completed 200 OK in 12ms (Views: 3.7ms | ActiveRecord: 1.7ms)
I, [2021-09-23T08:37:32.995314 #1337] INFO -- : [c4e9a25b-120c-4291-aa3d-f326c5368bd2] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 08:37:32 -0500
I, [2021-09-23T08:37:32.996404 #26870] INFO -- : [0384ac33-b568-48db-827e-25d69fde2edf] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 08:37:32 -0500
I, [2021-09-23T08:37:37.701200 #1337] INFO -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Started GET "/" for 192.168.0.182 at 2021-09-23 08:37:37 -0500
I, [2021-09-23T08:37:37.702253 #1337] INFO -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Processing by FrontController#index as HTML
D, [2021-09-23T08:37:37.704552 #1337] DEBUG -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.706122 #1337] DEBUG -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] DnsAlias Load (0.4ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.707488 #1337] DEBUG -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.712607 #1337] DEBUG -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.714659 #1337] DEBUG -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'guest-dashboard' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T08:37:37.715825 #1337] INFO -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Redirected to http://192.168.0.69/user_sessions/new
I, [2021-09-23T08:37:37.715885 #1337] INFO -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Filter chain halted as :login_required_unless_guest_dashboard rendered or redirected
I, [2021-09-23T08:37:37.715972 #1337] INFO -- : [a52d8a9a-507b-4a3e-8b6a-74d1abffb06a] Completed 302 Found in 14ms (ActiveRecord: 2.2ms)
I, [2021-09-23T08:37:37.720812 #1337] INFO -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Started GET "/user_sessions/new" for 192.168.0.182 at 2021-09-23 08:37:37 -0500
I, [2021-09-23T08:37:37.721930 #1337] INFO -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Processing by UserSessionsController#new as HTML
D, [2021-09-23T08:37:37.724021 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Setting Load (0.6ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.725367 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] DnsAlias Load (0.3ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.726538 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.731277 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.733167 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Setting Load (0.3ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T08:37:37.733541 #1337] DEBUG -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] CACHE Setting Load (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T08:37:37.734455 #1337] INFO -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Rendering user_sessions/new.html.slim within layouts/login
I, [2021-09-23T08:37:37.735243 #1337] INFO -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Rendered user_sessions/new.html.slim within layouts/login (0.7ms)
I, [2021-09-23T08:37:37.737007 #1337] INFO -- : [f3845f60-9a87-4ed1-b9a7-1faf37970d2c] Completed 200 OK in 15ms (Views: 2.9ms | ActiveRecord: 2.2ms)
I, [2021-09-23T08:37:37.769451 #26870] INFO -- : [88c6a1ca-2257-43b5-9ec8-3fea893060b7] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 08:37:37 -0500
I, [2021-09-23T08:37:37.769705 #1337] INFO -- : [5534b126-86f8-46ef-84cd-a1a92a142919] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 08:37:37 -0500

httpd error log
[Thu Sep 23 08:48:18.630895 2021] [lbmethod_heartbeat:notice] [pid 27356:tid 140119975309376] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 23 08:48:18.631398 2021] [http2:warn] [pid 27356:tid 140119975309376] AH02951: mod_ssl does not seem to be enabled
[ 2021-09-23 08:48:18.6389 27389/7f46236d8880 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
[ 2021-09-23 08:48:18.6484 27392/7f2fdf48f880 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2021-09-23 08:48:18.6486 27392/7f2fdf48f880 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2021-09-23 08:48:18.6499 27392/7f2fdf48f880 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 27392
[ 2021-09-23 08:48:18.6593 27402/7fe42c616880 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2021-09-23 08:48:18.6600 27402/7fe42c616880 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 27402
[Thu Sep 23 08:48:18.661668 2021] [mpm_event:notice] [pid 27356:tid 140119975309376] AH00489: Apache/2.4.34 (Fedora) Phusion_Passenger/5.0.30 configured -- resuming normal operations
[Thu Sep 23 08:48:18.661710 2021] [core:notice] [pid 27356:tid 140119975309376] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[ 2021-09-23 08:48:18.6637 27360/7f79d80fc880 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
[ 2021-09-23 08:48:59.4328 27392/7f2fc15f6700 age/Cor/Spa/PipeWatcher.h:95 ]: Cannot read from process 0 stdout: Bad file descriptor (errno=9)
[ 2021-09-23 08:48:59.4329 27392/7f2fc15b5700 age/Cor/Spa/PipeWatcher.h:95 ]: Cannot read from process 0 stderr: Bad file descriptor (errno=9)
Typing an invalid credentials, does prompt the bad user name password message.

User avatar
cpg
Administrator
Posts: 2615
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: The Dashboard has encountered an exception

Postby cpg » Thu Sep 23, 2021 7:45 am

There is no error (exception) in this one (or POST of when you enter the good credentials).

Do you think you can try with good credentials, get the exception, and shortly after get the tail of the production log?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

boxcarpilot
Posts: 5
Joined: Mon Sep 03, 2018 8:54 pm

Re: The Dashboard has encountered an exception

Postby boxcarpilot » Thu Sep 23, 2021 7:57 am

Hi, I just did that, got one DEBUG line, and some FATAL lines like
[2021-09-23T10:02:23.659789 #31652] FATAL -- : [89c3f828-3ead-497e-88c4-b6a0c88dbd8d]
F, [2021-09-23T10:02:23.659821 #31652] FATAL -- : [89c3f828-3ead-497e-88c4-b6a0c88dbd8d] RuntimeError (hda-ctl does not appear to be running!):
F, [2021-09-23T10:02:23.659843 #31652] FATAL -- : [89c3f828-3ead-497e-88c4-b6a0c88dbd8d]
F, [2021-09-23T10:02:23.659868 #31652] FATAL -- : [89c3f828-3ead-497e-88c4-b6a0c88dbd8d] lib/command.rb:35:in `execute'


(Qbitorrent webUI is working fine, same as the plex app webUI), shares are up and running, it's just the dashboard.

[root@localhost qBittorrent]# tail -50 /var/hda/platform/html/log/production.log
D, [2021-09-23T09:53:07.729921 #29929] DEBUG -- : [6127f145-7f85-4927-836f-9a72e4bbd4e7] CACHE Setting Load (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T09:53:07.731550 #29929] INFO -- : [6127f145-7f85-4927-836f-9a72e4bbd4e7] Rendering user_sessions/new.html.slim within layouts/login
I, [2021-09-23T09:53:07.732332 #29929] INFO -- : [6127f145-7f85-4927-836f-9a72e4bbd4e7] Rendered user_sessions/new.html.slim within layouts/login (0.7ms)
I, [2021-09-23T09:53:07.734030 #29929] INFO -- : [6127f145-7f85-4927-836f-9a72e4bbd4e7] Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 1.7ms)
I, [2021-09-23T09:53:07.779593 #29929] INFO -- : [9c7971b6-8e99-422d-9705-ff421f8d7132] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 09:53:07 -0500
I, [2021-09-23T09:53:07.781023 #29929] INFO -- : [608bf679-ee42-49ae-b14e-db04546e938e] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 09:53:07 -0500
I, [2021-09-23T09:53:07.791016 #29929] INFO -- : [18c60dc9-1dd9-4ac9-a9b3-9e748c792130] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 09:53:07 -0500
I, [2021-09-23T09:53:07.791870 #29929] INFO -- : [534e7cb1-05e6-4afe-bd2b-d74a830f7a33] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 09:53:07 -0500
I, [2021-09-23T09:53:09.092516 #29929] INFO -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Started POST "/user_sessions" for 192.168.0.182 at 2021-09-23 09:53:09 -0500
I, [2021-09-23T09:53:09.093672 #29929] INFO -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Processing by UserSessionsController#create as HTML
I, [2021-09-23T09:53:09.093767 #29929] INFO -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Parameters: {"utf8"=>"✓", "authenticity_token"=>"rMfZXsV40tLCd9qmAzQA6N+xjXDX9Xa3MeUgTVIou0JcvVgpLeNhF0sj/uw/77GH158KyfgMF8QIAtbXRH9Tkw==", "username"=>"rapz", "password"=>"[FILTERED]", "commit"=>"Log In"}
D, [2021-09-23T09:53:09.096263 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Setting Load (0.5ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:09.097668 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] DnsAlias Load (0.4ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:09.098836 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:09.102200 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:09.103730 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'rapz' ORDER BY `users`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:09.105591 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] (0.2ms) BEGIN
D, [2021-09-23T09:53:09.106140 #29929] DEBUG -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] (0.2ms) ROLLBACK
I, [2021-09-23T09:53:09.106417 #29929] INFO -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.4ms)
F, [2021-09-23T09:53:09.106979 #29929] FATAL -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8]
F, [2021-09-23T09:53:09.107017 #29929] FATAL -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] RuntimeError (hda-ctl does not appear to be running!):
F, [2021-09-23T09:53:09.107043 #29929] FATAL -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8]
F, [2021-09-23T09:53:09.107071 #29929] FATAL -- : [22660b18-e8b2-465e-8ad5-2e1adbc59ca8] lib/command.rb:35:in `execute'
[22660b18-e8b2-465e-8ad5-2e1adbc59ca8] app/models/user.rb:174:in `before_save_hook'
[22660b18-e8b2-465e-8ad5-2e1adbc59ca8] app/controllers/user_sessions_controller.rb:47:in `create'
I, [2021-09-23T09:53:13.319017 #29929] INFO -- : [03028746-6636-4740-87f3-980b7c2d43d2] Started GET "/tab/debug" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
I, [2021-09-23T09:53:13.319646 #29929] INFO -- : [03028746-6636-4740-87f3-980b7c2d43d2] Processing by DebugController#index as HTML
D, [2021-09-23T09:53:13.320845 #29929] DEBUG -- : [03028746-6636-4740-87f3-980b7c2d43d2] Setting Load (0.3ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.321487 #29929] DEBUG -- : [03028746-6636-4740-87f3-980b7c2d43d2] DnsAlias Load (0.1ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.321989 #29929] DEBUG -- : [03028746-6636-4740-87f3-980b7c2d43d2] Setting Load (0.1ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.324945 #29929] DEBUG -- : [03028746-6636-4740-87f3-980b7c2d43d2] Setting Load (0.2ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T09:53:13.326065 #29929] INFO -- : [03028746-6636-4740-87f3-980b7c2d43d2] Redirected to http://192.168.0.69/user_sessions/new
I, [2021-09-23T09:53:13.326130 #29929] INFO -- : [03028746-6636-4740-87f3-980b7c2d43d2] Filter chain halted as :admin_required rendered or redirected
I, [2021-09-23T09:53:13.326222 #29929] INFO -- : [03028746-6636-4740-87f3-980b7c2d43d2] Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
I, [2021-09-23T09:53:13.330751 #29929] INFO -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Started GET "/user_sessions/new" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
I, [2021-09-23T09:53:13.331476 #29929] INFO -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Processing by UserSessionsController#new as HTML
D, [2021-09-23T09:53:13.332801 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Setting Load (0.4ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.333625 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] DnsAlias Load (0.2ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.0.69' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.334352 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Setting Load (0.2ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.337309 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Setting Load (0.3ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.338473 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Setting Load (0.2ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2021-09-23T09:53:13.338937 #29929] DEBUG -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] CACHE Setting Load (0.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'initialized' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2021-09-23T09:53:13.339945 #29929] INFO -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Rendering user_sessions/new.html.slim within layouts/login
I, [2021-09-23T09:53:13.340833 #29929] INFO -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Rendered user_sessions/new.html.slim within layouts/login (0.8ms)
I, [2021-09-23T09:53:13.342903 #29929] INFO -- : [e8990ca9-4929-468a-ab6a-e2ec63b2c1bc] Completed 200 OK in 11ms (Views: 3.4ms | ActiveRecord: 1.3ms)
I, [2021-09-23T09:53:13.388452 #29929] INFO -- : [845ca19d-3f60-415b-82a7-dd0202b4dca2] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
I, [2021-09-23T09:53:13.390323 #29929] INFO -- : [1d051a0e-24c0-42a3-ba70-f4edff89d538] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
I, [2021-09-23T09:53:13.399815 #29929] INFO -- : [48211609-0ed6-4a26-b209-8b45f0fb43e0] Started GET "/assets/body_bg.jpg" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
I, [2021-09-23T09:53:13.401037 #29929] INFO -- : [40a56261-8602-4c1b-8745-d9dbd6fe7118] Started GET "/assets/amahi-logo.png" for 192.168.0.182 at 2021-09-23 09:53:13 -0500
D, [2021-09-23T09:53:23.574518 #31625] DEBUG -- : (0.4ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483

User avatar
cpg
Administrator
Posts: 2615
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: The Dashboard has encountered an exception

Postby cpg » Thu Sep 23, 2021 8:45 am

OK, this one has no exception either, but there is some evidence that hda-ctl is not running. Try (as root or sudo):

Code: Select all

systemctl restart hda-ctl
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

boxcarpilot
Posts: 5
Joined: Mon Sep 03, 2018 8:54 pm

Re: The Dashboard has encountered an exception

Postby boxcarpilot » Thu Sep 23, 2021 8:54 am

Yup, got an error.

[root@localhost qBittorrent]# sudo systemctl restart hda-ctl
Job for hda-ctl.service failed because the control process exited with error code.
See "systemctl status hda-ctl.service" and "journalctl -xe" for details.



root@localhost qBittorrent]# systemctl status hda-ctl.service
● hda-ctl.service - Amahi HDA controller
Loaded: loaded (/usr/lib/systemd/system/hda-ctl.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-09-23 10:48:45 EST; 33s ago
Process: 869 ExecStart=/usr/bin/hda-ctl $HDA_CTL_OPTIONS (code=exited, status=2)

Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Sep 23 10:48:45 localhost.localdomain systemd[1]: Stopped Amahi HDA controller.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Start request repeated too quickly.
Sep 23 10:48:45 localhost.localdomain systemd[1]: Failed to start Amahi HDA controller.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.


-- Unit hda-ctl.service has begun starting up.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Control process exited, code=exited status=2
Sep 23 10:48:45 localhost.localdomain systemd[1]: Failed to start Amahi HDA controller.
-- Subject: Unit hda-ctl.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l ... temd-devel
--
-- Unit hda-ctl.service has failed.
--
-- The result is failed.
Sep 23 10:48:45 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=hda-ctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Sep 23 10:48:45 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=hda-ctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 23 10:48:45 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=hda-ctl comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 23 10:48:45 localhost.localdomain systemd[1]: Stopped Amahi HDA controller.
-- Subject: Unit hda-ctl.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l ... temd-devel
--
-- Unit hda-ctl.service has finished shutting down.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Start request repeated too quickly.
Sep 23 10:48:45 localhost.localdomain systemd[1]: Failed to start Amahi HDA controller.
-- Subject: Unit hda-ctl.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l ... temd-devel
--
-- Unit hda-ctl.service has failed.
--
-- The result is failed.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Sep 23 10:48:45 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.

Who is online

Users browsing this forum: No registered users and 5 guests