• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG ubuntu image fails to update database

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    9 Posts 4 Posters 78 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JGeearJ
      JGeear
      last edited by

      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!Ubuntu.jpg
      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.🤔

      ***Redbob* M 2 Replies Last reply Reply Quote 0
      • ***Redbob*
        ***Redbob @JGeear
        last edited by

        @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: Captura de tela de 2026-03-05 17-08-08.png

        JGeearJ 2 Replies Last reply Reply Quote 0
        • JGeearJ
          JGeear @***Redbob
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • JGeearJ
            JGeear @***Redbob
            last edited by

            @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.

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • M
              mashina @JGeear
              last edited by

              @JGeear, I have the same problem. But I’m running the latest 1.6-working version.

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @mashina
                last edited by

                @mashina Are you sure it’s giving ftp_login error?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                M 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @JGeear
                  last edited by

                  @JGeear your FOG Storage Node -> username/password is where the ftp_login information comes from.

                  @mashina Similarly for you, but I call out about the “same message” becasue working-1.6 is using ssh unless you’re on an older (1 year or so ago) version of working-1.6?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • M
                    mashina @Tom Elliott
                    last edited by

                    @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.

                    B6F77D97-F373-4335-A658-CBF3CA0A4449.jpg

                    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```
                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @mashina
                      last edited by

                      @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.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      123

                      Online

                      12.6k

                      Users

                      17.5k

                      Topics

                      156.3k

                      Posts
                      Copyright © 2012-2026 FOG Project