SOLVED: [/var/hda/platform/html/public] does not exist

prodriguezii
Posts: 34
Joined: Sun May 27, 2012 6:56 am

SOLVED: [/var/hda/platform/html/public] does not exist

Postby prodriguezii » Fri Dec 11, 2020 12:12 pm

Hi,

I upgraded from Amahi 10 to Amahi 11 (following the instructions located at https://wiki.amahi.org/index.php/Amahi_ ... 20upgrade.). My Amahi 10 install was very stable and simple. I uninstalled all apps and performed the upgrade. The system went through the motions and looks like it was successful except I cannot access the dashboard. When I input the IP of my HDA I get the Fedora Test Page.

When I input the

Code: Select all

sudo systemctl status httpd
I get the following:
â httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
ââphp-fpm.conf
Active: active (running) since Fri 2020-12-11 10:52:20 PST; 15min ago
Docs: man:httpd.service(8)
Main PID: 907 (httpd)
Status: "Total requests: 4; Idle/Busy workers 100/0;Requests/sec: 0.00444; Bytes served/sec: 14 B/sec"
Tasks: 312 (limit: 4915)
CGroup: /system.slice/httpd.service
ââ 907 /usr/sbin/httpd -DFOREGROUND
ââ1024 /usr/sbin/httpd -DFOREGROUND
ââ1025 Passenger watchdog
ââ1028 Passenger core
ââ1040 Passenger ust-router
ââ1063 /usr/sbin/httpd -DFOREGROUND
ââ1064 /usr/sbin/httpd -DFOREGROUND
ââ1065 /usr/sbin/httpd -DFOREGROUND
ââ1407 /usr/sbin/httpd -DFOREGROUND

Dec 11 10:52:14 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Dec 11 10:52:18 localhost.localdomain httpd[907]: AH00112: Warning: DocumentRoot [/var/hda/platform/html/public] does not exist
Dec 11 10:52:18 localhost.localdomain httpd[907]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive glo
Dec 11 10:52:20 localhost.localdomain httpd[907]: Server configured, listening on: port 80
Dec 11 10:52:20 localhost.localdomain systemd[1]: Started The Apache HTTP Server.

It looks like the Amahi update did not create the dashboard files for Apache? Can anyone point me to where/how I can fix this? A search in the wiki or forums didn't pull much on this issue.

When doing

Code: Select all

apaste --sysinfo
I get
Server did not return a correct JSON response

Thank you.

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

Re: [/var/hda/platform/html/public] does not exist

Postby bigfoot65 » Fri Dec 11, 2020 5:42 pm

The system went through the motions and looks like it was successful except I cannot access the dashboard.
It's likely the update process did not complete successfully.
I uninstalled all apps and performed the upgrade.
So there were no Amahi apps installed? If there was one, it could have caused issue with the upgrade.
It looks like the Amahi update did not create the dashboard files for Apache? Can anyone point me to where/how I can fix this?
The upgrade does not affect Amahi dashboard files. It only updates 3 or 4 Amahi executable files. Seems odd that that directory is missing as it should have already been there from Amahi 10. The upgrade primarily updates the OS and would not remove directories. Did you check to verify that /var/hda/platform/html/public is missing? You did not do any manual modifications before or after the upgrade, correct?

Unfortunately, you may have to reinstall from scratch. There is no way to fix a failed upgrade.

I presume you read the disclaimer/warning at the top of the Amahi 11 Upgrade page. This is why we don't recommend upgrade.
ßîgƒσστ65
Applications Manager

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

prodriguezii
Posts: 34
Joined: Sun May 27, 2012 6:56 am

Re: [/var/hda/platform/html/public] does not exist

Postby prodriguezii » Mon Dec 14, 2020 9:08 am


Unfortunately, you may have to reinstall from scratch. There is no way to fix a failed upgrade.

I presume you read the disclaimer/warning at the top of the Amahi 11 Upgrade page. This is why we don't recommend upgrade.
Yep - read, hoped, and prayed. Went ahead and installed from scratch. Seems to be working appropriately. Thank you.

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

Re: [/var/hda/platform/html/public] does not exist

Postby bigfoot65 » Mon Dec 14, 2020 9:37 am

Sorry for the inconvenience, but glad you have it working correctly now.

Will make this thread as resolved.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 12 guests