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

    Task 0

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    30 Posts 2 Posters 854 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.
    • K
      kratkale @Tom Elliott
      last edited by

      @Tom-Elliott Manually deploying a Snapin after cloning does not work—you must first manually restart the system. There is no Fog log even before the restart. The Fog Client was run using C:\Windows\Setup\Scripts\SetupComplete.cmd

      1 Reply Last reply Reply Quote 0
      • K
        kratkale @Tom Elliott
        last edited by

        @Tom-Elliott
        e12854c1-f3da-44b1-a5c4-c22145b15017-grafik.png
        Here, too, I’m just launching a simple snap-in—it would be cool if it also showed which snap-in it is. As I mentioned before, due to timing issues, I stopped automatically deploying snap-ins—they often didn’t work properly, even though they worked in the Command Prompt. From this, I concluded that there’s a timing issue between Windows Update… and the snap-ins. That’s why I’ve always preferred to do this manually.

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

          @kratkale

          Multicast. The version number does not show what fails. Queue a multicast task, start the clients, then post:

          • the output of tail -n 40 /opt/fog/log/multicast.log
          • a photo of one client screen

          –public-web-cert. Correction to my last reply: this flag helps only when your web server sends a complete, publicly trusted chain. The flag removes FOG’s own CA from the check, and curl then uses the system trust store. That check also failed. So the system store cannot verify the chain your web server sends. Run this on the FOG server and post the output:

          openssl s_client -connect fog.mm.htlwien10.at:443 -servername fog.mm.htlwien10.at </dev/null 2>/dev/null | grep -E '^ *[0-9]+ s:|^ +i:'
          

          It shows who issued the certificate and which certificates the server sends.

          Power management. The server sends the schedule in the same format as 1.5. The FOG Client runs it on the PC, at 18:55 PC time. Check that Power Management is enabled in FOG Configuration > Service Configuration and on the host. Then post C:\fog.log from one PC. The lines that start with PowerManagement show whether the client got the schedule.

          Snapin after cloning. No C:\fog.log means the FOG Client service has not run yet. The server only queues the snapin. The client starts it. Add net start FOGService after the client install line in SetupComplete.cmd.

          All Snapins. FOG shows All Snapins when a host has more than one snapin queued. The Active Snapin Tasks tab lists each snapin by name. The “/ of (/min)” text in the Progress column is a display bug. It is fixed in 1.6.0-beta.5346.

          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

          K 2 Replies Last reply Reply Quote 0
          • K
            kratkale @Tom Elliott
            last edited by

            @Tom-Elliot
            Unfortunately, I had to get the PCs up and running right away, so I wasn’t able to work through everything on the list. For now, I’ve cloned them without multicast. Next week, I’ll get back to you—I’ll test the rest then.
            –public-web-cert.
            root@fog:~# openssl s_client -connect fog.mm.htlwien10.at:443 -servername fog.mm .htlwien10.at </dev/null 2>/dev/null | grep -E ‘^ *[0-9]+ s:|^ +i:’

            0 s:CN=fog.mm.htlwien10.at, O=FOG Project, OU=FOG Web UI
            i:CN=FOG Web CA, O=FOG Project, OU=FOG Web UI
            root@fog:~#

            Power management.
            fb4a04fa-e1db-45b0-8cef-e7e0ea456b60-grafik.png
            SERIAL Number from SSD
            I had another PC that wouldn’t clone because of an error when entering the SSD’s serial number…
            The number BNE7N774610407R8O ends with an “O” and contains a “0” in the number. Unfortunately, the second SSD was listed in Inventory Static, and I had determined the number of the relevant ssd using lsblk -o SERIAL. There my mistake happend
            ee68d2d1-4524-4087-8099-8ee0490afa3c-grafik.png WhatsApp Image 2026-09-10 at 17.12.42.jpeg

            1 Reply Last reply Reply Quote 0
            • K
              kratkale @Tom Elliott
              last edited by

              @Tom-Elliott
              Hi
              I don’t know enough about certificates. I tried to use ChatGPT to implement your answer—and this is what came out:

              This is important
              
              The original instructions you received essentially say:
              
                  “Your server is using a certificate that was not issued by FOG.”
              
              That doesn’t match your current configuration.
              
              Your current web certificate was clearly issued by the FOG Web CA.
              
              Therefore, I wouldn’t create a symlink to any `fullchain.pem` file right now. We also have no indication so far that you’re using an external ACME certificate at all.
              What’s likely happening
              
              I suspect that the message you’re getting during the upgrade is related to the FOG PKI or the internal trust chain, and not to the fact that you’re using a Let’s Encrypt certificate.
              
              It’s interesting to note that your current Apache configuration uses:
              
              SSLCertificateFile /opt/fog/pki/web/leaf/.webLeaf.pem
              SSLCertificateKeyFile /opt/fog/pki/web/leaf/.webLeaf.key
              
              .
              
              The older configuration also included:
              
              SSLCertificateChainFile /opt/fog/snapins/ssl/CA/.fogCA.pem
              
              The current configuration does not have an SSLCertificateChainFile line.
              
              That might be relevant.
              

              That’s where I stopped…

              1 Reply Last reply Reply Quote 0
              • K
                kratkale @Tom Elliott
                last edited by

                @Tom-Elliott
                Multicast
                cb765515-1c91-406f-bac6-c30fd8dca2e3-grafik.png
                7d927a7b-ff64-4544-bdc1-f166768eeb5c-grafik.png
                deee65ea-e430-40ff-b5e9-732fd60bf0de-grafik.png WhatsApp Image 2026-09-22 at 10.31.53(1).jpeg WhatsApp Image 2026-09-22 at 10.31.53.jpeg

                root@fog:~/FOG_SERVER_Updates_durchführen# tail -n 40 /opt/fog/log/multicast.log
                [09-08-26 9:49:42 pm]  * No new tasks found
                [09-08-26 9:49:52 pm]  * No new tasks found
                [09-08-26 9:50:02 pm]  * No new tasks found
                [09-08-26 9:50:12 pm]  * No new tasks found
                [09-08-26 9:50:22 pm]  * No new tasks found
                [09-08-26 9:50:32 pm]  * No new tasks found
                [09-08-26 9:50:42 pm]  * No new tasks found
                [09-08-26 9:50:52 pm]  * No new tasks found
                [09-08-26 9:51:02 pm]  * No new tasks found
                [09-08-26 9:51:12 pm]  * No new tasks found
                [09-08-26 9:51:22 pm]  * No new tasks found
                [09-08-26 9:51:32 pm]  * No new tasks found
                [09-08-26 9:51:42 pm]  * No new tasks found
                [09-08-26 9:51:52 pm]  * No new tasks found
                [09-08-26 9:52:02 pm]  * No new tasks found
                [09-08-26 9:52:12 pm]  * No new tasks found
                [09-08-26 9:56:33 pm] ===== FOG 1.5.10.2473 -- MulticastManager starting =====
                [09-08-26 9:56:33 pm] Interface Ready with IP Address: 10.10.3.196
                [09-08-26 9:56:33 pm] Interface Ready with IP Address: 127.0.0.1
                [09-08-26 9:56:33 pm] Interface Ready with IP Address: 127.0.1.1
                [09-08-26 9:56:33 pm] Interface Ready with IP Address: 192.168.0.196
                [09-08-26 9:56:33 pm]  * Starting MulticastManager Service
                [09-08-26 9:56:33 pm]  * Checking for new items every 10 seconds
                [09-08-26 9:56:33 pm]  * Starting service loop
                [09-08-26 10:00:14 pm] ===== FOG 1.5.10.2473 -- MulticastManager starting =====
                [09-08-26 10:00:14 pm] Interface Ready with IP Address: 10.10.3.196
                [09-08-26 10:00:14 pm] Interface Ready with IP Address: 127.0.0.1
                [09-08-26 10:00:14 pm] Interface Ready with IP Address: 127.0.1.1
                [09-08-26 10:00:14 pm] Interface Ready with IP Address: 192.168.0.196
                [09-08-26 10:00:14 pm]  * Starting MulticastManager Service
                [09-08-26 10:00:14 pm]  * Checking for new items every 10 seconds
                [09-08-26 10:00:14 pm]  * Starting service loop
                [09-08-26 10:08:36 pm] ===== FOG 1.5.10.2473 -- MulticastManager starting =====
                [09-08-26 10:08:36 pm] Interface Ready with IP Address: 10.10.3.196
                [09-08-26 10:08:36 pm] Interface Ready with IP Address: 127.0.0.1
                [09-08-26 10:08:36 pm] Interface Ready with IP Address: 127.0.1.1
                [09-08-26 10:08:36 pm] Interface Ready with IP Address: 192.168.0.196
                [09-08-26 10:08:36 pm]  * Starting MulticastManager Service
                [09-08-26 10:08:36 pm]  * Checking for new items every 10 seconds
                [09-08-26 10:08:36 pm]  * Starting service loop
                root@fog:~/FOG_SERVER_Updates_durchführen#
                

                I use two network cards—the “192” network is the one with the PCs, and the “10” network contains only servers and my backup servers …

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

                  @kratkale 09-08-26 seems to me that the FOGMulticastManager service isn’t started or died somewhere.

                  Can you run:

                  sudo systemctl restart FOGMulticastManager
                  sleep 5
                  sudo systemctl -l status FOGMulticastManager
                  

                  On a separate window it might be helpful to see your php-fpm www-error logs (see my footer to see where to find that information)

                  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

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kratkale @Tom Elliott
                    last edited by

                    @Tom-Elliott said in Task 0:

                    systemctl -l status FOGMulticastManager

                    root@fog:~# systemctl -l status FOGMulticastManager
                    ● FOGMulticastManager.service - FOGMulticastManager
                         Loaded: loaded (/usr/lib/systemd/system/FOGMulticastManager.service; enabl>
                         Active: activating (auto-restart) (Result: exit-code) since Thu 2026-09-24>
                     Invocation: 492c9b19a1cf4b3aa088147dbfb9573d
                        Process: 3399372 ExecStart=/usr/bin/env php /opt/fog/service/FOGMulticastMa>
                       Main PID: 3399372 (code=exited, status=255/EXCEPTION)
                       Mem peak: 11M
                            CPU: 110ms
                    
                    Sep 24 13:27:28 fog env[3399406]: FOG autoloader: "FOGCore" is a core class and>
                    Sep 24 13:27:28 fog env[3399406]: PHP Fatal error:  Uncaught Error: Class "FOGC>
                    Sep 24 13:27:28 fog env[3399406]: Stack trace:
                    Sep 24 13:27:28 fog env[3399406]: #0 /opt/fog/service/FOGMulticastManager/FOGMu>
                    Sep 24 13:27:28 fog env[3399406]: #1 {main}
                    Sep 24 13:27:28 fog env[3399406]:   thrown in /opt/fog/service/lib/service_lib.>
                    Sep 24 13:27:28 fog systemd[1]: FOGMulticastManager.service: Main process exite>
                    Sep 24 13:27:28 fog systemd[1]: FOGMulticastManager.service: Failed with result>
                    Sep 24 13:27:29 fog systemd[1]: FOGMulticastManager.service: Scheduled restart >
                    Sep 24 13:27:29 fog systemd[1]: Started FOGMulticastManager.service - FOGMultic>
                    lines 1-19/19 (END)...skipping...
                    ● FOGMulticastManager.service - FOGMulticastManager
                         Loaded: loaded (/usr/lib/systemd/system/FOGMulticastManager.service; enabled; preset: enabled)
                         Active: activating (auto-restart) (Result: exit-code) since Thu 2026-09-24 13:27:26 CEST; 279ms ago
                     Invocation: 492c9b19a1cf4b3aa088147dbfb9573d
                        Process: 3399372 ExecStart=/usr/bin/env php /opt/fog/service/FOGMulticastManager/FOGMulticastManager (code=exited, status=255/EXCEPTION)
                       Main PID: 3399372 (code=exited, status=255/EXCEPTION)
                       Mem peak: 11M
                            CPU: 110ms
                    
                    Sep 24 13:27:28 fog env[3399406]: FOG autoloader: "FOGCore" is a core class and core is no longer aliased into the global namespace. Use FOG\Base\FOGCore -- either as a `use` import or fully qualified. See ADR 0013.
                    Sep 24 13:27:28 fog env[3399406]: PHP Fatal error:  Uncaught Error: Class "FOGCore" not found in /opt/fog/service/lib/service_lib.php:62
                    Sep 24 13:27:28 fog env[3399406]: Stack trace:
                    Sep 24 13:27:28 fog env[3399406]: #0 /opt/fog/service/FOGMulticastManager/FOGMulticastManager(24): require()
                    Sep 24 13:27:28 fog env[3399406]: #1 {main}
                    Sep 24 13:27:28 fog env[3399406]:   thrown in /opt/fog/service/lib/service_lib.php on line 62
                    Sep 24 13:27:28 fog systemd[1]: FOGMulticastManager.service: Main process exited, code=exited, status=255/EXCEPTION
                    Sep 24 13:27:28 fog systemd[1]: FOGMulticastManager.service: Failed with result 'exit-code'.
                    Sep 24 13:27:29 fog systemd[1]: FOGMulticastManager.service: Scheduled restart job, restart counter is at 11.
                    Sep 24 13:27:29 fog systemd[1]: Started FOGMulticastManager.service - FOGMulticastManager.
                    
                    root@fog:~# tail /var/log/php*-fpm.log
                    [24-Sep-2026 12:14:14] NOTICE: [pool www] child 3259939 exited with code 0 after 8438.624140 seconds from start
                    [24-Sep-2026 12:14:14] NOTICE: [pool www] child 3351823 started
                    [24-Sep-2026 12:14:18] NOTICE: [pool www] child 3260061 exited with code 0 after 8432.972562 seconds from start
                    [24-Sep-2026 12:14:18] NOTICE: [pool www] child 3351887 started
                    [24-Sep-2026 12:14:29] NOTICE: [pool www] child 3260439 exited with code 0 after 8408.483139 seconds from start
                    [24-Sep-2026 12:14:29] NOTICE: [pool www] child 3352010 started
                    [24-Sep-2026 13:17:35] NOTICE: [pool www] child 3300912 exited with code 0 after 8461.325294 seconds from start
                    [24-Sep-2026 13:17:35] NOTICE: [pool www] child 3392980 started
                    [24-Sep-2026 13:19:31] NOTICE: [pool www] child 3302049 exited with code 0 after 8470.012033 seconds from start
                    [24-Sep-2026 13:19:31] NOTICE: [pool www] child 3394228 started
                    root@fog:~#
                    
                    
                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @kratkale
                      last edited by

                      @kratkale Thank you, that log shows the cause.

                      Your web files are new, but the service files in /opt/fog/service are old. The new web code does not provide the name “FOGCore” that the old service code uses. So every FOG service stops at start, not only the multicast manager.

                      Why: on each upgrade, the installer stopped at the certificate error before the schema step. It had already copied the web files, but it had not yet copied the service files.

                      Both problems are now fixed in 1.6.0-beta.5396. The installer now accepts your FOG Web CA certificate. It also copies the service files immediately after the web files, so a failed step cannot leave them behind again.

                      Please update to 1.6.0-beta.5396 or newer and run the installer again. It must finish without the “TLS verification failed” message. Then run:

                      sudo systemctl restart FOGMulticastManager
                      sleep 5
                      sudo systemctl -l status FOGMulticastManager
                      

                      It must show “active (running)”. Then queue the multicast task, and post the output of tail -n 40 /opt/fog/log/multicast.log if it does not start.

                      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

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kratkale @Tom Elliott
                        last edited by

                        @Tom-Elliott

                        * Setting up fogproject user..................................Skipped
                         * Setting up MySQL user and database..........................Skipped
                         * Creating redirection index file.............................Skipped
                         * Installing Secure Boot signing helper........................./lib/common/functions.sh: Zeile 14181: /etc/sudoers.d/fog-secureboot.tmp: Datei oder Verzeichnis nicht gefunden
                         Refusing to install an invalid sudoers rule; the web Kernel
                           Update page will download unsigned kernels. See /srv/daten/setup/20260602_wechsel_auf_fog_dev/fogproject/bin/error_logs/fog_error_1.6.0-beta.5396.log.
                         * Detected a web certificate managed outside FOG:
                             /opt/fog/pki/web/leaf/.webLeaf.pem does not chain to this server's own CA
                         * FOG will keep managing this vhost, but will not re-issue or
                           re-key that certificate. Undo by pointing
                           /opt/fog/pki/web/leaf/.webLeaf.pem back inside /etc/fog/pki/web.
                         * Web certificate is externally managed (PKI_web_cert_publicly_trusted=yes) -- leaving it in place.
                           Re-issue it yourself if you changed --hostname/--extra-server-name,
                           or the certificate will not cover the new name.
                         * Granting access to fogstorage database user.................Skipped
                         * Setting up and starting DHCP Server.........................Skipped
                        * A sample Kea DHCP config for a dedicated/external DHCP server was
                         | written to: /var/www/fog/kea-dhcp4.conf.fog-sample
                         | Copy it to your DHCP server as /etc/kea/kea-dhcp4.conf and adjust the
                         | subnet/pool/routers/domain-name-servers to match that network.
                         | next-server is already set to this FOG server (192.168.0.196).
                        * autoexec/ is gone: every EFI binary in the TFTP root reads
                           autoexec.ipxe now, so the duplicate tree served no purpose.
                         * 10secdelay/ keeps its BIOS builds and has lost its EFI ones. On
                           EFI the delay is installfog.sh --boot-delay, which writes a sleep
                           into autoexec.ipxe; an EMBED-marked .efi sitting next to a root
                           autoexec.ipxe panics the client it boots.
                         * If any DHCP server hands out a boot filename starting "autoexec/",
                           drop that prefix -- autoexec/snponly.efi becomes snponly.efi. If one
                           names 10secdelay/<something>.efi, point it at the same file without
                           the 10secdelay/ prefix and set --boot-delay instead.
                         * Installing node certificate signing helper..................../lib/common/functions.sh: Zeile 5952: /etc/sudoers.d/fog-pki.tmp: Datei oder Verzeichnis nicht gefunden
                        Failed
                         * Refusing to install an invalid sudoers rule; storage nodes will
                           keep generating their own self-signed certificates.
                         * Installing the certificate management helper................../lib/common/functions.sh: Zeile 6104: /etc/sudoers.d/fog-pki-admin.tmp: Datei oder Verzeichnis nicht gefunden
                        Failed
                         * Refusing to install an invalid sudoers rule; the Certificates
                           page will show the chain but will not be able to change it.
                        
                        

                        3ef2c32b-ad70-4890-89eb-ec1937a0bcfc-grafik.png

                        root@fog:~# systemctl restart FOGMulticastManager
                        root@fog:~# systemctl -l status FOGMulticastManager
                        ● FOGMulticastManager.service - FOGMulticastManager
                             Loaded: loaded (/usr/lib/systemd/system/FOGMulticastManager.service; enabled; preset: enabled)
                             Active: active (running) since Thu 2026-09-24 23:35:57 CEST; 29s ago
                         Invocation: 0552def147314d8f8ec439d6e6eeb128
                           Main PID: 3797027 (php)
                              Tasks: 2 (limit: 4594)
                             Memory: 17.1M (peak: 18.7M)
                                CPU: 247ms
                             CGroup: /system.slice/FOGMulticastManager.service
                                     ├─3797027 php /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                                     └─3797028 php /opt/fog/service/FOGMulticastManager/FOGMulticastManager
                        
                        Sep 24 23:35:57 fog systemd[1]: Started FOGMulticastManager.service - FOGMulticastManager.
                        root@fog:~#
                        

                        Multicast test tomorrow

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

                        44

                        Online

                        12.8k

                        Users

                        17.6k

                        Topics

                        157.2k

                        Posts
                        Copyright © 2012-2026 FOG Project