Unable to Access web GUI after Upgrading
-
Upgrade from 1.5.6 to current
Debian 9
From shell
git pull
git checkout master
git pull
cd /root/fogproject/bin
./installfog.shselected N to everything (DHCP, https, etc)
After which we are unable to access the GUI. I have checked apache2, mysql, and fog.conf to make sure none of the IP info changed. Thoughts?
-
@echophi said in Unable to Access web GUI after Upgrading:
selected N to everything (DHCP, https, etc)
I am wondering why it would ask you questions about DHCP again when upgrading from 1.5.6 that should not be the case. Question about HTTPS yes, as this was added later but not question about DHCP.
I have checked apache2, mysql, and fog.conf …
Which fog.conf do you mean?
Which Linux OS do you have FOG installed on?
Did the installer script run all the way to the end or did it stop with a
Failed
message at some point?After which we are unable to access the GUI.
Just a plain timeout or some kind of error message on the web UI? Please post a picture.
-
One component had initially failed but overall the script completed.
the config that holds network info, we’ve had that one wipe out on us before. It was still set correctly.
We are using Debian 9If you go straight to the IP you get the generic apache “It works!” message. When heading to GUI get the following:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.25 (Debian) Server at 1XX.XXX>.XXX Port 80 -
I am producing a new error in the apache2/error.log
AH01079: failed to make connection to backend: 127.0.0.1
-
here’s the error out of syslog:
Class ‘FOGCore’ not found in /opt/fog/service/lib/service_lib.php -
@echophi Sounds like the PHP-FPM Backend service ist not running. Please run the command
systemctl list-units | grep php
to find the exact name of the service on your system. Probably something likephp72-fpm.service
. Then see if you can start ist withsystemctl start php72-fpm.service
-
@sebastian-roth said in Unable to Access web GUI after Upgrading:
root@fog-server:~# systemctl list-units | grep php
phpsessionclean.timer loaded active waiting Clean PHP session files every 30 minsAlso tried a reinstall and got this error
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package ‘php5’ has no installation candidate
-
@echophi The FOG installer will take care of package installs for you and it will error out if it’s unable to install the correct packages. Please run
dpkg -l | grep php
to see what you have still left installed.I would suggest you just re-run the FOG installer and let us know to what point it runs.