Web UI
-
I am having an issue accessing my web interface after a server restart. On the fog VM it just comes up as a while screen but on the physical server I am getting. This page isn’t working HTTP Error 500. I have restarted this server before for updates and such and had no issues. Hoping for some guide to what to check.
-
White page indicates a php error. Check your apache error log and post what you find. Also, what version of FOG?
-
@wayne-workman Fog version is 1.4.4, And the log is saying: php7:error. I think you are right except I haven’t changed the password recently. Odd. Let me see if I can change the password fog thinks it is. I believe it won’t let me unless logged in as root. (will have to remember how to login on ubuntu)
-
@hammett131 We need the full error line if we’re going to help you.
-
@wayne-workman I figured just got pulled away but didn’t want to keep you hanging. I will get it as soon as I can thanks.
-
Also you’ll probably want to check free space with the command
df -h
look for partitions with 100% use. -
@wayne-workman None are 100% and I took just the last error which is
[Wed Apr 25 11:45:03.655594 2018] [php7:error] [pid 1443] [client 10.0.2.21:50041] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 -
@hammett131 Looks like it’s trying to insert something and get the ID of that insert, but that call is failing. @developers ideas?
-
@wayne-workman Only thing different is I had it shutdown over the weekend. I can go back to an older snapshot or checkpoint whatever Hyper v calls it now and that works just fine but of course I lose my updated images from the last month or so.
-
@hammett131 I would suggest looking over the Ubuntu is fogs enemy announcement. Most often I see the last insert Id issue and it’s related to the alter user syntax on using a blank password for the root MySQL user.
-
@tom-elliott Awesome! Thanks a bunch Tom. I was able to get it resolved with the tips in that post.