FOG ubuntu image fails to update database
-
Hi, I am running the latest dev-branch FOG version 1.5.10.1792 on a Ubuntu 24.04 machine. I have not had any issues creating Windows images. I just tried an ubuntu image!

I am now receiving an FTP login incorrect. I have checked the FOG settings and the passwords match and I can transfer files to the server via FTP.
-
@JGeear check at Fog Settings (index.php?node=about&sub=settings) if the password is stored here is the same you can access ftp server:

-
@Redbob Yeah, I verified the passwords in the GUI as well as the /.fogsettings file and they are identical. I was able to transfer files via FTP using the username and password. Note, I am able to capture Windows images, it’s this Ubuntu image that’s causing the grief.
-
@Redbob I did notice the file /var/www/fog/lib/fog/Config.class.php had different password than the GUI and the /.fogsettings file. modifying this file had no effect.
-
@JGeear, I have the same problem. But I’m running the latest 1.6-working version.
-
@mashina Are you sure it’s giving ftp_login error?
-
-
@Tom-Elliott Hi Tom, Sorry, my bad. I don’t get Login incorrect message. Mine is saying, No active task found for Host <Hostname>. But the error is the same, could not Update database. Also, I am using the latest working-1.6.

I don’t know if these errors are relevant, but my Multicast was around 12:30.
masih@fog:~$ sudo tail -n 200 /var/log/apache2/error.log [Fri Mar 06 00:00:03.749336 2026] [mpm_prefork:notice] [pid 119135] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations [Fri Mar 06 00:00:03.749408 2026] [core:notice] [pid 119135] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 06 09:45:22.809081 2026] [proxy_fcgi:error] [pid 188212] [client 172.28.172.92:11308] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined array key "msaID" in /var/www/html/fog/lib/router/route.class.php on line 2515PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined variable $stat in /var/www/html/fog/lib/fog/group.class.php on line 772', referer: http://fog/fog/management/index.php?node=group&sub=edit&id=42 [Fri Mar 06 10:11:51.346904 2026] [proxy_fcgi:error] [pid 148942] [client 172.28.1.83:58320] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined array key "msaID" in /var/www/html/fog/lib/router/route.class.php on line 2515PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined variable $stat in /var/www/html/fog/lib/fog/group.class.php on line 772' [Fri Mar 06 11:00:16.168016 2026] [mpm_prefork:notice] [pid 119135] AH00170: caught SIGWINCH, shutting down gracefully [Fri Mar 06 11:00:55.671950 2026] [mpm_prefork:notice] [pid 845] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations [Fri Mar 06 11:00:55.675999 2026] [core:notice] [pid 845] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 06 11:27:39.854967 2026] [proxy_fcgi:error] [pid 895] [client 172.28.172.92:43525] AH01067: Failed to read FastCGI header, referer: http://fog/fog/management/index.php?node=task&sub=activescheduled [Fri Mar 06 11:27:39.855265 2026] [proxy_fcgi:error] [pid 895] (104)Connection reset by peer: [client 172.28.172.92:43525] AH01075: Error dispatching request to : , referer: http://fog/fog/management/index.php?node=task&sub=activescheduled [Fri Mar 06 11:27:39.907972 2026] [mpm_prefork:notice] [pid 845] AH00170: caught SIGWINCH, shutting down gracefully [Fri Mar 06 11:27:49.405096 2026] [mpm_prefork:notice] [pid 4373] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations [Fri Mar 06 11:27:49.405283 2026] [core:notice] [pid 4373] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 06 11:39:00.840026 2026] [mpm_prefork:notice] [pid 4373] AH00170: caught SIGWINCH, shutting down gracefully [Fri Mar 06 11:39:35.371742 2026] [mpm_prefork:notice] [pid 840] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations [Fri Mar 06 11:39:35.372374 2026] [core:notice] [pid 840] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 06 12:39:59.781079 2026] [proxy_fcgi:error] [pid 1514] [client 172.28.171.193:43267] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined array key "msaID" in /var/www/html/fog/lib/router/route.class.php on line 2515PHP message: PHP Warning: Undefined array key "hostID" in /var/www/html/fog/lib/router/route.class.php on line 2733PHP message: PHP Warning: Undefined variable $stat in /var/www/html/fog/lib/fog/group.class.php on line 772', referer: http://fog/fog/management/index.php?node=group&sub=edit&id=42``` -
@mashina Can you get
select * from history;out of your database?I’m having a sneaking suspicion the issue is likely part of a rewrite to substaintially make save our save to database functions, that has some repercussions on other things because so much had required things that shouldn’t have bene required.
Similarly, can you provide the exact version?
“Latest working-1.6” is a shifting target. like i’m pretty sure you were not on the latest since I made pushes today so pretty sure the error you are getting is not related to today.