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

Unable to deploy Snapins - Stuck in Que

Scheduled Pinned Locked Moved Solved
FOG Problems
5
28
4.7k
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.
  • T
    tyler2017
    last edited by Jun 21, 2017, 9:05 PM

    Server
    • FOG Version: 1.4.0
    • OS: Ubuntu 16.04
    Client
    • Service Version: v0.11.12
    • OS: Windows 7
    Description

    Unable to get any snapin to deploy to any client. I even created a 7-Zip Snapin that matched the example on the FOG website. I follow all the steps listed in the guide: Host Management -> Chose a host -> Basic Tasks -> Advanced -> Single Snapin -> Schedule as instant -> Create Task.

    I go to look at the Active Snapin Tasks and is see it, status = in que. Doesn’t matter how long I wait, the snapin never deploys…

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jun 21, 2017, 10:36 PM

      @tyler2017 Check the fog.log on the client and post here.

      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

      T 1 Reply Last reply Jun 23, 2017, 4:23 PM Reply Quote 1
      • W
        Wayne Workman
        last edited by Jun 22, 2017, 12:49 AM

        The fog log is normally located at C:\fog.log unless you specifically pathed it somewhere else during install.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • A
          Avaryan
          last edited by Jun 22, 2017, 2:38 AM

          I had a similar issue occur a few days ago. I had someone use an image (ahead of schedule) as I was still uploading a new version.

          All of his hosts received the older image, which was fine, but snapins wouldn’t deploy. The client renamed and joined the domain, just no snapins.

          I ended up pushing out a simple PowerShell script to toggle the FOG service off and on again, then everything started working properly.

          1 Reply Last reply Reply Quote 0
          • T
            tyler2017 @Sebastian Roth
            last edited by Jun 23, 2017, 4:23 PM

            @Sebastian-Roth 0_1498234991183_Capture.PNG

            1 Reply Last reply Reply Quote 0
            • T
              tyler2017
              last edited by Jun 29, 2017, 3:47 PM

              So I checked the error.log file at /var/log/apache2/error.log and I get this:

              [Thu Jun 29 07:35:02.130507 2017] [mpm_prefork:notice] [pid 19280] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2l configured – resuming normal operations
              [Thu Jun 29 07:35:02.130532 2017] [core:notice] [pid 19280] AH00094: Command line: ‘/usr/sbin/apache2’
              [Thu Jun 29 08:00:59.069236 2017] [php7:error] [pid 7250] [client 10.30.90.218:49385] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/html/fog/lib/fog/fogbase.class.php:1723\nStack trace:\n#0 /var/www/html/fog/lib/client/fogclient.class.php(185): FOGBase->sendData(‘{“error”:“ih”}’)\n#1 /var/www/html/fog/service/usertracking.report.php(25): FOGClient->__construct(true, false)\n#2 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 1723

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jun 29, 2017, 4:07 PM

                Can you upgrade your version of FOG to see if this has already been addressed?

                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

                T 1 Reply Last reply Jun 29, 2017, 4:33 PM Reply Quote 0
                • T
                  tyler2017 @Tom Elliott
                  last edited by Jun 29, 2017, 4:33 PM

                  @Tom-Elliott Recommended version to upgrade to?

                  T 1 Reply Last reply Jun 29, 2017, 4:38 PM Reply Quote 0
                  • T
                    Tom Elliott @tyler2017
                    last edited by Jun 29, 2017, 4:38 PM

                    @tyler2017 Latest, 1.4.4.

                    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

                    T 1 Reply Last reply Jun 29, 2017, 4:44 PM Reply Quote 0
                    • T
                      tyler2017 @Tom Elliott
                      last edited by Jun 29, 2017, 4:44 PM

                      @Tom-Elliott I’ve never done an update before, only fresh installs. Do I just need to run the installer for the new version? Stupid question, I know. Just checking… I’ll definitely back things up first.

                      T 1 Reply Last reply Jun 29, 2017, 4:46 PM Reply Quote 0
                      • T
                        Tom Elliott @tyler2017
                        last edited by Jun 29, 2017, 4:46 PM

                        @tyler2017 Upgrades are automatically handled by the installer yes. You just re-run the installer and it will update the things it needs to update.

                        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

                        T 2 Replies Last reply Jun 29, 2017, 6:52 PM Reply Quote 0
                        • T
                          tyler2017 @Tom Elliott
                          last edited by Jun 29, 2017, 6:52 PM

                          @Tom-Elliott Now all of my clients are showing this:


                          --------------------------------Authentication--------------------------------

                          6/29/2017 1:45 PM Client-Info Version: 0.11.12
                          6/29/2017 1:45 PM Client-Info OS: Windows
                          6/29/2017 1:45 PM Middleware::Authentication Waiting for authentication timeout to pass
                          6/29/2017 1:47 PM Middleware::Communication Download: http://10.30.19.2/fog/management/other/ssl/srvpublic.crt
                          6/29/2017 1:47 PM Data::RSA FOG Server CA cert found
                          6/29/2017 1:47 PM Middleware::Authentication Cert OK
                          6/29/2017 1:47 PM Middleware::Communication POST URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&authorize&newService
                          6/29/2017 1:47 PM Middleware::Response Error multiple hosts returned for list of mac addresses

                          I am unable to find any duplicate MAC address for any hosts. Any ideas?

                          1 Reply Last reply Reply Quote 0
                          • T
                            tyler2017 @Tom Elliott
                            last edited by Jun 29, 2017, 8:56 PM

                            @Tom-Elliott Getting this also:


                            ----------------------------------UserTracker---------------------------------

                            6/29/2017 3:52 PM Client-Info Client Version: 0.11.12
                            6/29/2017 3:52 PM Client-Info Client OS: Windows
                            6/29/2017 3:52 PM Client-Info Server Version: “A valid database connection could not be made”
                            6/29/2017 3:52 PM Middleware::Response ERROR: Unable to get subsection
                            6/29/2017 3:52 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
                            6/29/2017 3:52 PM Service Sleeping for 95 seconds
                            6/29/2017 3:53 PM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                            6/29/2017 3:53 PM Middleware::Response Success
                            6/29/2017 3:53 PM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&mac=98:E7:F4:F4:0A:5E|E4:A7:A0:B6:55:2A|E4:A7:A0:B6:55:26|00:09:0F:FE:00:01||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
                            6/29/2017 3:53 PM Middleware::Response ERROR: Could not parse data
                            6/29/2017 3:53 PM Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path ‘’, line 0, position 0.
                            6/29/2017 3:53 PM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?clientver&newService&json
                            6/29/2017 3:53 PM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?newService&json
                            6/29/2017 3:53 PM Service ERROR: Unable to get cycle data
                            6/29/2017 3:53 PM Service ERROR: Object reference not set to an instance of an object.
                            6/29/2017 3:53 PM Middleware::Response Success

                            T 1 Reply Last reply Jun 30, 2017, 12:36 AM Reply Quote 0
                            • T
                              Tom Elliott @tyler2017
                              last edited by Tom Elliott Jun 29, 2017, 6:40 PM Jun 30, 2017, 12:36 AM

                              @tyler2017 So the “Error multiple hosts returned for list of mac addresses” means there’s likely a duplicate MAC Address being passed, but what you’re looking at for “mac addresses” is not the same as the list the client is passing.

                              I’m not saying you did anything wrong and I hope I just corrected some of the checking code.

                              Would you mind trying:

                              wget -O /var/www/fog/lib/fog/hostmanager.class.php https://raw.githubusercontent.com/FOGProject/fogproject/57d36f5ce22b960db99ad290f1d20b7be1c93e37/packages/web/lib/fog/hostmanager.class.php
                              
                              # Ensure /var/www/html/fog has updated file just in case /var/www/fog is not already linked appropriately.
                              wget -O /var/www/html/fog/lib/fog/hostmanager.class.php https://raw.githubusercontent.com/FOGProject/fogproject/57d36f5ce22b960db99ad290f1d20b7be1c93e37/packages/web/lib/fog/hostmanager.class.php

                              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
                              • T
                                Tom Elliott
                                last edited by Jun 30, 2017, 12:39 AM

                                @tyler2017 said in Unable to deploy Snapins - Stuck in Que:

                                “A valid database connection could not be made”

                                Of note, for this error above, it seems possible that DB is full, or not running properly? (Maybe a whole ton of data causing a delay getting the information.)

                                I’m only guessing based on what I see. This is, for the most part, unrelated to the “Multiple errors exist” thought it’s not impossible a Full/Corrupt DB would be sending a ton more information than expected causing the error to throw. (So DB issues could send lots of excess data in the query, but this would only happen if the DB instance was still running.)

                                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

                                T 1 Reply Last reply Jun 30, 2017, 3:04 PM Reply Quote 0
                                • T
                                  tyler2017 @Tom Elliott
                                  last edited by Jun 30, 2017, 3:04 PM

                                  @Tom-Elliott I tried the commands you suggested. I’ve not noticed any changes in anything. The fog.log on all clients is still showing the same thing. Still unable to push snapins…

                                  T 1 Reply Last reply Jun 30, 2017, 3:13 PM Reply Quote 0
                                  • T
                                    Tom Elliott @tyler2017
                                    last edited by Jun 30, 2017, 3:13 PM

                                    @tyler2017 Do you mean you’re getting the Invalid database error still?

                                    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

                                    T 2 Replies Last reply Jun 30, 2017, 3:58 PM Reply Quote 0
                                    • T
                                      tyler2017 @Tom Elliott
                                      last edited by Jun 30, 2017, 3:58 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tyler2017 @Tom Elliott
                                        last edited by Jun 30, 2017, 4:01 PM

                                        @Tom-Elliott I no longer see the database connection error, but I do still get these…

                                        Authentication:

                                        6/30/2017 10:31 AM Client-Info Version: 0.11.12
                                        6/30/2017 10:31 AM Client-Info OS: Windows
                                        6/30/2017 10:31 AM Middleware::Authentication Waiting for authentication timeout to pass
                                        6/30/2017 10:33 AM Middleware::Communication Download: http://10.30.19.2/fog/management/other/ssl/srvpublic.crt
                                        6/30/2017 10:33 AM Data::RSA FOG Server CA cert found
                                        6/30/2017 10:33 AM Middleware::Authentication Cert OK
                                        6/30/2017 10:33 AM Middleware::Authentication ERROR: Could not get security token
                                        6/30/2017 10:33 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
                                        6/30/2017 10:33 AM Middleware::Communication POST URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&authorize&newService
                                        6/30/2017 10:33 AM Middleware::Response Error multiple hosts returned for list of mac addresses

                                        6/30/2017 10:33 AM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                                        6/30/2017 10:33 AM Middleware::Response Success
                                        6/30/2017 10:33 AM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&mac=1A:E3:47:B3:65:43|28:E3:47:B3:7C:B3|28:E3:47:B3:65:43|00:09:0F:FE:00:01|A0:1D:48:B0:29:CC||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
                                        6/30/2017 10:33 AM Middleware::Response ERROR: Could not parse data
                                        6/30/2017 10:33 AM Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path ‘’, line 0, position 0.
                                        6/30/2017 10:33 AM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?clientver&newService&json
                                        6/30/2017 10:33 AM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?newService&json
                                        6/30/2017 10:33 AM Service ERROR: Unable to get cycle data
                                        6/30/2017 10:33 AM Service ERROR: Object reference not set to an instance of an object.
                                        6/30/2017 10:33 AM Middleware::Response Success
                                        6/30/2017 10:33 AM Service Initializing modules

                                        UserTracker:

                                        6/30/2017 10:33 AM Client-Info Client Version: 0.11.12
                                        6/30/2017 10:33 AM Client-Info Client OS: Windows
                                        6/30/2017 10:33 AM Client-Info Server Version:
                                        6/30/2017 10:33 AM Middleware::Response ERROR: Unable to get subsection
                                        6/30/2017 10:33 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
                                        6/30/2017 10:33 AM Service Sleeping for 143 seconds
                                        6/30/2017 10:35 AM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&configure&newService&json
                                        6/30/2017 10:35 AM Middleware::Response Success
                                        6/30/2017 10:35 AM Middleware::Communication URL: http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&mac=1A:E3:47:B3:65:43|28:E3:47:B3:7C:B3|28:E3:47:B3:65:43|00:09:0F:FE:00:01|A0:1D:48:B0:29:CC||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
                                        6/30/2017 10:35 AM Middleware::Response ERROR: Could not parse data
                                        6/30/2017 10:35 AM Middleware::Response ERROR: Unexpected character encountered while parsing value: E. Path ‘’, line 0, position 0.
                                        6/30/2017 10:35 AM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?clientver&newService&json
                                        6/30/2017 10:35 AM Middleware::Communication URL: http://10.30.19.2/fog/service/getversion.php?newService&json
                                        6/30/2017 10:35 AM Service ERROR: Unable to get cycle data
                                        6/30/2017 10:35 AM Service ERROR: Object reference not set to an instance of an object.
                                        6/30/2017 10:35 AM Middleware::Response Success

                                        T 1 Reply Last reply Jun 30, 2017, 4:08 PM Reply Quote 0
                                        • T
                                          Tom Elliott @tyler2017
                                          last edited by Jun 30, 2017, 4:08 PM

                                          @tyler2017 said in Unable to deploy Snapins - Stuck in Que:

                                          http://10.30.19.2/fog/management/index.php?sub=requestClientInfo&mac=1A:E3:47:B3:65:43|28:E3:47:B3:7C:B3|28:E3:47:B3:65:43|00:09:0F:FE:00:01|A0:1D:48:B0:29:CC||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json

                                          Mind running an SQL query on the db with:

                                          USE fog;
                                          SELECT hmHostID,hmMAC FROM hostMAC WHERE hmMAC IN ('1A:E3:47:B3:65:43','28:E3:47:B3:7C:B3','28:E3:47:B3:65:43','00:09:0F:FE:00:01','A0:1D:48:B0:29:CC');
                                          

                                          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

                                          T 2 Replies Last reply Jun 30, 2017, 5:54 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            7/28
                                            Last post

                                          160

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project