Backing up database failed!
-
Server
FOG Version: 1.4 OS: Ubuntu 16.04
Trying to update to latest rev 6078 and server failing on Backing up database
Storage nodes updated fine. -
@george1421 I had downloaded the 6077 again and not 6078
END USER ERROR -
@Raymond-Bell What do you get in the apache error log when this happens?
-
[Tue May 08 09:01:36.276732 2018] [php7:error] [pid 13487] [client 10.*.*.*:24644] 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/bootmenu.class.php(1157): HookManager->processEvent('IPXE_EDIT', Array)\n#3 /var/www/fog/lib/fog/bootmenu.class.php(197): BootMenu->_parseMe(Array)\n#4 /var/www/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#5 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Tue May 08 09:01:39.199505 2018] [php7:error] [pid 13438] [client 10.*.*.*:57575] 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/bootmenu.class.php(1157): HookManager->processEvent('IPXE_EDIT', Array)\n#3 /var/www/fog/lib/fog/bootmenu.class.php(197): BootMenu->_parseMe(Array)\n#4 /var/www/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#5 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
-
@raymond-bell Hmm, I see
BootMenu
mentioned in the logs. Sure this is exactly right when the installer fails on backing up the database? -
@sebastian-roth Going to give it another try today and will send log
-
@sebastian-roth Please close the ticket. I got it going.
-
@raymond-bell said in Backing up database failed!:
@sebastian-roth Please close the ticket. I got it going.
Please explain what you did for others sake.
-
@george1421 I had downloaded the 6077 again and not 6078
END USER ERROR