Post upgrade (amahi 11) assistance

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Post upgrade (amahi 11) assistance

Postby modem7 » Mon Mar 18, 2019 4:42 pm

Hey guys,

I've updated to amahi 11 using the following guide: https://wiki.amahi.org/index.php/Amahi_11_Upgrade

When I try to load the dashboard, I get
Unable to connect

Waterfox can't establish a connection to the server at 192.168.0.254.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Waterfox is permitted to access the Web.
I disabled firewalld, but rolekit wasn't loaded (Failed to stop rolekit.service: Unit rolekit.service not loaded.)

I've tried both my internal IP and hda, both same results.

Any thoughts?

Thanks

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Post upgrade (amahi 11) assistance

Postby modem7 » Mon Mar 18, 2019 4:47 pm

Update:

Looks like httpd didn't start at startup. I've enabled it now, but getting "The Dashboard has encountered an exception!"

I've looked here viewtopic.php?f=9&t=7180 but wasn't 100% sure on what was written here.

Should I delete everything within this folder?
drwxr-xr-x. 7 apache apache 152 Mar 18 23:29 010-users
drwxr-xr-x. 7 apache apache 153 Mar 18 23:28 020-shares
drwxr-xr-x. 7 apache apache 152 Mar 18 23:28 030-disks
drwxr-xr-x. 8 apache apache 163 Mar 18 23:29 040-apps
drwxr-xr-x. 6 apache apache 144 Mar 18 23:28 050-network
drwxr-xr-x. 7 apache apache 155 Mar 18 23:28 080-settings
-rw-r--r-- 1 apache apache 0 Nov 6 11:28 .gitkeep

● 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 Mon 2019-03-18 23:37:41 GMT; 19min ago
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Mar 18 23:37:41 localhost.localdomain systemd[1]: Stopped Amahi HDA controller.
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Start request repeated too quickly.
Mar 18 23:37:41 localhost.localdomain systemd[1]: Failed to start Amahi HDA controller.
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 18 23:37:41 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Last edited by modem7 on Mon Mar 18, 2019 4:57 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Post upgrade (amahi 11) assistance

Postby bigfoot65 » Mon Mar 18, 2019 4:56 pm

Did you follow the prerequisites for upgrade?

All Amahi Plugins must be uninstalled.

Provide a list of what apps you had installed when you performed the upgrade.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2


User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Post upgrade (amahi 11) assistance

Postby bigfoot65 » Tue Mar 19, 2019 4:02 am

I didn't see any apps that would cause an issue specifically, but having any apps installed when doing an upgrade is not recommended. There could be something with an app that causes the upgrade to not complete successfully.

Did you see any errors during the upgrade process?

Try the following:

Code: Select all

sudo systemctl restart hda-ctl
We can try to diagnose the problem, but sorry to say you may have to do a new install.

I did not have any luck myself with the upgrade.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Post upgrade (amahi 11) assistance

Postby modem7 » Tue Mar 19, 2019 5:35 am

[alex@localhost ~]$ 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.
● 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 Tue 2019-03-19 12:35:20 GMT; 16s ago
Process: 13810 ExecStart=/usr/bin/hda-ctl $HDA_CTL_OPTIONS (code=exited, status=2)

Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Mar 19 12:35:20 localhost.localdomain systemd[1]: Stopped Amahi HDA controller.
Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Start request repeated too quickly.
Mar 19 12:35:20 localhost.localdomain systemd[1]: Failed to start Amahi HDA controller.
Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 19 12:35:20 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
-- Unit hda-ctl.service has finished shutting down.
Mar 19 12:38:32 localhost.localdomain systemd[1]: Starting Amahi HDA controller...
-- Subject: Unit hda-ctl.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l ... temd-devel
--
-- Unit hda-ctl.service has begun starting up.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Control process exited, code=exited status=2
Mar 19 12:38:32 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.
Mar 19 12:38:32 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'
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Mar 19 12:38:32 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.
Mar 19 12:38:32 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'
Mar 19 12:38:32 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'
Mar 19 12:38:32 localhost.localdomain systemd[1]: Starting Amahi HDA controller...
-- Subject: Unit hda-ctl.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/l ... temd-devel
--
-- Unit hda-ctl.service has begun starting up.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Control process exited, code=exited status=2
Mar 19 12:38:32 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.
Mar 19 12:38:32 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'
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Service hold-off time over, scheduling restart.
Mar 19 12:38:32 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.
Mar 19 12:38:32 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'
Mar 19 12:38:32 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'
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Start request repeated too quickly.
Mar 19 12:38:32 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.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Unit entered failed state.
Mar 19 12:38:32 localhost.localdomain systemd[1]: hda-ctl.service: Failed with result 'exit-code'.

Production.log:
https://pastebin.com/P4Nx2PaD

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

Re: Post upgrade (amahi 11) assistance

Postby cpg » Tue Mar 19, 2019 6:01 pm

Hard to tell what is happening, though it seems like a simple thing. There are two things, probably unrelated. hda-ctl and httpd.

We would like to see the last couple/three hundred lines at the end of /var/log/messages ... *immediately after each of the two errors happens*.

i.e. produce each error followed tail -300 /var/log/messages | apaste

I vaguely recall that the hda-ctl error maybe because there may be a missing dependency with rsyslog. You can try dnf installing it and restarting hda-ctl.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Post upgrade (amahi 11) assistance

Postby modem7 » Tue Mar 19, 2019 6:23 pm

Here's my apaste as requested, each command was done a couple of times to make sure nothing gets in the way like mono (I'm starting to see why they named it that -.-).

sudo systemctl restart hda-ctl
https://paste.fedoraproject.org/paste/M ... 3~2vPaFKsg

sudo systemctl restart httpd
https://paste.fedoraproject.org/paste/J ... SCsjrMkH1A

tail -1000 /var/log/messages | grep -Ev '(mono)' | apaste
https://paste.fedoraproject.org/paste/w ... C7K7h5jORw
https://pastebin.com/B1pSV4UW (one done a bit more recently - I restarted the services from line ~600 )
https://pastebin.com/dannQyFM (log rotated, services restarted)
sudo dnf install rsyslog
Last metadata expiration check: 0:29:28 ago on Wed 20 Mar 2019 00:48:50 GMT.
Package rsyslog-8.38.0-1.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
Even tried just in case:
sudo dnf install rsyslog --best --allowerasing
Last metadata expiration check: 1:01:42 ago on Wed 20 Mar 2019 00:48:50 GMT.
Package rsyslog-8.38.0-1.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
hda-ctl service file:
[Unit]
Description=Amahi HDA controller
ConditionPathExists=/usr/bin/hda-ctl
Requires=network.target NetworkManager.service
After=network.target NetworkManager.service mariadb.service
Before=monit.service dnsmasq.service

[Service]
Type=forking
PIDFile=/run/hda-ctl.pid
EnvironmentFile=-/etc/sysconfig/hda-ctl
ExecStart=/usr/bin/hda-ctl $HDA_CTL_OPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
StandardError=null
Restart=always

[Install]
WantedBy=multi-user.target

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Post upgrade (amahi 11) assistance

Postby bigfoot65 » Wed Mar 20, 2019 4:17 am

Please provide the output of:

Code: Select all

ls -al /var/hda/platform/html/plugins
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Post upgrade (amahi 11) assistance

Postby modem7 » Wed Mar 20, 2019 4:47 am

drwxr-xr-x. 8 apache apache 129 Mar 18 23:28 .
drwxr-xr-x. 19 apache apache 4096 Mar 18 23:29 ..
drwxr-xr-x. 7 apache apache 152 Mar 18 23:29 010-users
drwxr-xr-x. 7 apache apache 153 Mar 18 23:28 020-shares
drwxr-xr-x. 7 apache apache 152 Mar 18 23:28 030-disks
drwxr-xr-x. 8 apache apache 163 Mar 18 23:29 040-apps
drwxr-xr-x. 6 apache apache 144 Mar 18 23:28 050-network
drwxr-xr-x. 7 apache apache 155 Mar 18 23:28 080-settings
-rw-r--r-- 1 apache apache 0 Nov 6 11:28 .gitkeep

Who is online

Users browsing this forum: No registered users and 23 guests