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

    FOG 1.6.0-beta.2134 - Host won't add automatically

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    8
    259
    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.
    • S
      sideone
      last edited by

      Installed the FOG client and its started but its not adding the host to “Pending Hosts” on FOG dashboard. We sometimes manually add the FOG client on devices that have no ethernet port to push out snapins etc in line with our networked devices.

      Error in client is below:

      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       16/10/2024 10:38:42 Client-Info Version: 0.13.0
       16/10/2024 10:38:42 Client-Info OS:      Windows
       16/10/2024 10:38:42 Middleware::Authentication Waiting for authentication timeout to pass
       16/10/2024 10:40:40 Middleware::Communication Download: http://10.xx.xx.xx/fog/management/other/ssl/srvpublic.crt
       16/10/2024 10:40:40 Middleware::Authentication Cert OK
       16/10/2024 10:40:40 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
       16/10/2024 10:40:40 Middleware::Authentication ERROR: Could not get security token
       16/10/2024 10:40:40 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
       16/10/2024 10:40:40 Middleware::Communication POST URL: http://10.xx.xx.xx/fog/management/index.php?sub=requestClientInfo&authorize&newService
       16/10/2024 10:40:41 Middleware::Response Invalid host
       16/10/2024 10:40:41 Middleware::Communication URL: http://10.xx.xx.xx/fog/service/register.php?hostname=XXX-LAP-28&mac=E8:D8:D1:53:BE:12|98:AF:65:9C:AE:6A|9A:AF:65:9C:AE:69|98:AF:65:9C:AE:69|98:AF:65:9C:AE:6D&newService&json
      

      Many thanks!

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

        @sideone I just pushed what I hope might help with this. I cannot guarantee it will fix it, but it should give more forward progress.

        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

        S 1 Reply Last reply Reply Quote 1
        • S
          sideone
          last edited by

          EDIT to add: navigating to http://10.xx.xx.xx/fog/service/register.php on the main server IP returns:

          #!im
          
          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @sideone
            last edited by Tom Elliott

            @sideone I don’t believe this is a bug in FOG 1.6.0 specifically, I suspect, you’d run into a similar issue using any other version just as much as this 1.6.0

            That said, the issue is Invalid host.

            Are you not seeing this host show up in “pending”? IIt might be one of the mac’s this machine is sending is registered to another machine that’s in a pending status?

            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

            S 1 Reply Last reply Reply Quote 0
            • S
              sideone @Tom Elliott
              last edited by sideone

              @Tom-Elliott there’s nothing showing in Pending Hosts at all.

              None of these MACs are showing in Pending MACs either.

              E8:D8:D1:53:BE:12|98:AF:65:9C:AE:6A|9A:AF:65:9C:AE:69|98:AF:65:9C:AE:69|98:AF:65:9C:AE:6D

              It has been working up until quite recently, but I can’t say exactly when Pending Hosts stopped receiving devices.

              Thanks

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

                @sideone So I see it getting invalid host, then trying to register.

                Is there, by chance, a php-fpm log around the same time?

                Specifically hoping to see an error or even a warning.

                Is there anything after the registration attempt?

                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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sideone @Tom Elliott
                  last edited by

                  @Tom-Elliott Am I looking in /var/log/php-fpm?

                  If so, in error.log:

                  [13-Oct-2024 03:34:06] NOTICE: error log file re-opened
                  [16-Oct-2024 08:07:18] NOTICE: Terminating ...
                  [16-Oct-2024 08:07:18] NOTICE: exiting, bye-bye!
                  [16-Oct-2024 08:07:38] NOTICE: fpm is running, pid 3879423
                  [16-Oct-2024 08:07:38] NOTICE: ready to handle connections
                  [16-Oct-2024 08:07:38] NOTICE: systemd monitor interval set to 10000ms
                  

                  in www-error.log around the time:

                  [16-Oct-2024 09:42:37 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335
                  [16-Oct-2024 09:42:37 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 340
                  [16-Oct-2024 09:42:37 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 398
                  [16-Oct-2024 09:42:42 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335
                  [16-Oct-2024 09:42:42 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 340
                  [16-Oct-2024 09:42:42 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 398
                  [16-Oct-2024 09:44:07 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:07 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:21 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:21 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:30 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:30 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:38 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:38 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:40 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:40 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:41 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:41 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:50 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:44:50 UTC] PHP Warning:  Undefined property: stdClass::$clientload in /var/www/html/fog/lib/fog/storagegroup.class.php on line 319
                  [16-Oct-2024 09:45:23 UTC] PHP Warning:  Undefined array key "menuAccess" in /var/www/html/fog/lib/fog/bootmenu.class.php on line 335
                  

                  Is there anything after the registration attempt?

                  Nothing in the FOG.log on the client, just repeated attempts to register every 2 minutes.
                  Thanks

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

                    @sideone I just pushed what I hope might help with this. I cannot guarantee it will fix it, but it should give more forward progress.

                    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

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      sideone @Tom Elliott
                      last edited by

                      @Tom-Elliott the device is showing in pending devices now, thank you!

                      1 Reply Last reply Reply Quote 0
                      • [[undefined-on, S sideone, ]]
                      • 1 / 1
                      • First post
                        Last post

                      190

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project