Last part of the puzzle was that the php-fpm service wasn’t running.
Started it with:
sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service
systemctl status php-fpm.service
And now the FOG Web UI is working for me again.
Last part of the puzzle was that the php-fpm service wasn’t running.
Started it with:
sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service
systemctl status php-fpm.service
And now the FOG Web UI is working for me again.
OK, apparently that’s all I needed to figure the rest out on my own.
The ??
operator that the error message seemed to be complaining about was apparently introduced in PHP 7. My old CentOS 7.5 server (Eww, I know ) only had PHP 5.6. (Suggesting the install script check the PHP version to make sure it’s at least 7)
I was able to update PHP with the following commands:
sudo yum remove php*
sudo yum install php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mcrypt php-mysqlnd php-pdo php-pecl-jsonc php-pecl-zip php-process
Doing so replaced the blank white web UI with a message that stated:
“Service Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”
I then re-ran the sudo ./installfog.sh
, and it ran without any problems. The DB schema update step functioned, and I could then login like normal.
However, I don’t think I’m fully out of the woods yet. The install script for some reason messes up the NIS login system, requiring a reboot to make work again, but after the reboot the FOG Web UI is back to showing “Service Unavailable”. I’m suspecting a user permission problem that I need to dig into next (Maybe I should make this a new topic if I need help).