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

    Snapins deployment problem... SVN 7452

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    28
    8.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.
    • Matthieu JacquartM
      Matthieu Jacquart @Tom Elliott
      last edited by

      @Tom-Elliott I tried on one snapin on one computer, and it’s ok.
      But I still have several computers waiting for 2 or 3 snapin deployement, and it din’t progress…

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

      1 Reply Last reply Reply Quote 0
      • Matthieu JacquartM
        Matthieu Jacquart
        last edited by

        I upgrade Fog this morning, delete all active tasks (snapins) and it seems to be ok if I try to deploy single snapin…
        To be continued, but I leave work for 4 days, have a good week-end !

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

        1 Reply Last reply Reply Quote 0
        • Matthieu JacquartM
          Matthieu Jacquart
          last edited by

          Once again :

          ------------------------------------------------------------------------------
          ---------------------------------SnapinClient---------------------------------
          ------------------------------------------------------------------------------
           11/05/2016 12:17 Client-Info Client Version: 0.10.6
           11/05/2016 12:17 Client-Info Client OS:      Windows
           11/05/2016 12:17 Client-Info Server Version: 7575
           11/05/2016 12:17 Middleware::Response Success
           11/05/2016 12:17 SnapinClient Snapin Found:
           11/05/2016 12:17 SnapinClient     ID: 591
           11/05/2016 12:17 SnapinClient     RunWith: 
           11/05/2016 12:17 SnapinClient     RunWithArgs: 
           11/05/2016 12:17 SnapinClient     Name: Avast
           11/05/2016 12:17 SnapinClient     File: avast_business_online.exe
           11/05/2016 12:17 SnapinClient     Created: 2016-05-11 12:02:28
           11/05/2016 12:17 SnapinClient     Args: 
           11/05/2016 12:17 SnapinClient     Action: 
           11/05/2016 12:17 Middleware::Communication Download: http://192.168.10.60/fog/service/snapins.file.php?mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&taskid=591
           11/05/2016 12:17 SnapinClient C:\Program Files (x86)\FOG\tmp\avast_business_online.exe
           11/05/2016 12:17 SnapinClient ERROR: Hash does not match
           11/05/2016 12:17 SnapinClient ERROR: --> Ideal: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
          <HTML><HEAD>
          <TITLE>403 FORBIDDEN</TITLE>
          </HEAD><BODY>
          <H1>FORBIDDEN</H1>
          <P>YOU DON'T HAVE PERMISSION TO ACCESS /FOG/STATUS/GETSNAPINHASH.PHP
          ON THIS SERVER.<BR />
          </P>
          <HR>
          <ADDRESS>APACHE/2.4.10 (DEBIAN) SERVER AT 192.168.10.60 PORT 80</ADDRESS>
          </BODY></HTML>
          
           11/05/2016 12:17 SnapinClient ERROR: --> Actual: C3F2466D83DA8F5F766280FF739894F344EE657985C40FB8ACFB0B41772CCFBF76C0E6CFFDB5C52D0EF7FF0781A82A8E19EA82BBCD886513F9462D51ACA28C2C
           11/05/2016 12:17 Middleware::Communication URL: http://192.168.10.60/fog/service/snapins.checkin.php?taskid=591&exitcode=-1&mac=9C:B7:0D:CA:3F:8C|9C:B7:0D:CA:3F:8C|E8:40:F2:6A:51:CE|9C:B7:0D:CA:7B:B4&newService&json
          ------------------------------------------------------------------------------
          
          root@FOG:/opt/fog/snapins$ sha512sum avast_business_online.exe
          c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c  avast_business_online.exe
          

          Fog 1.5.9.138
          Debian 11
          Vmware ESXi

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

            @Matthieu-Jacquart And if you manually go to that page in the browser adding http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/<yoursnapinfilehere>

            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

            Matthieu JacquartM 1 Reply Last reply Reply Quote 0
            • Matthieu JacquartM
              Matthieu Jacquart @Tom Elliott
              last edited by

              @Tom-Elliott If I go to http://192.168.10.60/fog/status/getsnapinhash.php?filepath=/opt/fog/snapins/avast_business_online.exe
              I’ve got c3f2466d83da8f5f766280ff739894f344ee657985c40fb8acfb0b41772ccfbf76c0e6cffdb5c52d0ef7ff0781a82a8e19ea82bbcd886513f9462d51aca28c2c|5113288

              Fog 1.5.9.138
              Debian 11
              Vmware ESXi

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

                @Matthieu-Jacquart And if you try to redeploy the snapin to the client?

                Do you run firewalls that might be blocking a client from accessing the FOG webpages?

                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

                Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                • Matthieu JacquartM
                  Matthieu Jacquart @Tom Elliott
                  last edited by

                  @Tom-Elliott ok it works if I deploy single snapin
                  Windows firewall is disabled

                  Fog 1.5.9.138
                  Debian 11
                  Vmware ESXi

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

                    Can you update to the latest? I think the issue is it wasn’t returning any data with the new client as it makes the calls to checkin and download the files.

                    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

                    Matthieu JacquartM 2 Replies Last reply Reply Quote 0
                    • Matthieu JacquartM
                      Matthieu Jacquart @Tom Elliott
                      last edited by

                      @Tom-Elliott ok I’ll update.
                      I have 2 more pc to deploy tomorrow, I’ll give you the result 😉

                      Fog 1.5.9.138
                      Debian 11
                      Vmware ESXi

                      1 Reply Last reply Reply Quote 0
                      • Matthieu JacquartM
                        Matthieu Jacquart @Tom Elliott
                        last edited by

                        @Tom-Elliott Test on another computer (Win 7)

                        ------------------------------------------------------------------------------
                        --------------------------------Authentication--------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:57 Client-Info Version: 0.10.6
                         11/05/2016 17:57 Client-Info OS:      Windows
                         11/05/2016 17:57 Middleware::Authentication Waiting for authentication timeout to pass
                         11/05/2016 17:57 Middleware::Communication Download: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt
                         11/05/2016 17:58 Data::RSA FOG Server CA cert found
                         11/05/2016 17:58 Middleware::Authentication Cert OK
                         11/05/2016 17:58 Middleware::Communication POST URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&authorize&newService
                         11/05/2016 17:58 Middleware::Response Success
                         11/05/2016 17:58 Middleware::Authentication Authenticated
                        
                        
                         11/05/2016 17:58 Bus Registering ParseBus in channel Power
                         11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/management/index.php?sub=requestClientInfo&mac=E8:40:F2:0B:E9:0E&newService&json
                         11/05/2016 17:58 Middleware::Response ERROR: Could not parse data
                         11/05/2016 17:58 Middleware::Response ERROR: Unexpected character encountered while parsing value: #. Path '', line 0, position 0.
                         11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?clientver&newService&json
                         11/05/2016 17:58 Middleware::Communication URL: http://192.168.10.60/fog/service/getversion.php?newService&json
                         11/05/2016 17:58 Service ERROR: Unable to get cycle data
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Middleware::Response Success
                        
                        ------------------------------------------------------------------------------
                        ---------------------------------ClientUpdater--------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:58 Client-Info Client Version: 0.10.6
                         11/05/2016 17:58 Client-Info Client OS:      Windows
                         11/05/2016 17:58 Client-Info Server Version: 
                         11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection
                         11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Service ERROR: Unable to run module
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                        ------------------------------------------------------------------------------
                        
                        
                        ------------------------------------------------------------------------------
                        ----------------------------------TaskReboot----------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:58 Client-Info Client Version: 0.10.6
                         11/05/2016 17:58 Client-Info Client OS:      Windows
                         11/05/2016 17:58 Client-Info Server Version: 
                         11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection
                         11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Service ERROR: Unable to run module
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                        ------------------------------------------------------------------------------
                        
                        
                        ------------------------------------------------------------------------------
                        --------------------------------HostnameChanger-------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:58 Client-Info Client Version: 0.10.6
                         11/05/2016 17:58 Client-Info Client OS:      Windows
                         11/05/2016 17:58 Client-Info Server Version: 
                         11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection
                         11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Service ERROR: Unable to run module
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                        ------------------------------------------------------------------------------
                        
                        
                        ------------------------------------------------------------------------------
                        ---------------------------------SnapinClient---------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:58 Client-Info Client Version: 0.10.6
                         11/05/2016 17:58 Client-Info Client OS:      Windows
                         11/05/2016 17:58 Client-Info Server Version: 
                         11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection
                         11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Service ERROR: Unable to run module
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                        ------------------------------------------------------------------------------
                        
                        
                        ------------------------------------------------------------------------------
                        --------------------------------PrinterManager--------------------------------
                        ------------------------------------------------------------------------------
                         11/05/2016 17:58 Client-Info Client Version: 0.10.6
                         11/05/2016 17:58 Client-Info Client OS:      Windows
                         11/05/2016 17:58 Client-Info Server Version: 
                         11/05/2016 17:58 Middleware::Response ERROR: Unable to get subsection
                         11/05/2016 17:58 Middleware::Response ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                         11/05/2016 17:58 Service ERROR: Unable to run module
                         11/05/2016 17:58 Service ERROR: La référence d'objet n'est pas définie à une instance d'un objet.
                        ------------------------------------------------------------------------------
                        

                        Fog 1.5.9.138
                        Debian 11
                        Vmware ESXi

                        1 Reply Last reply Reply Quote 0
                        • J
                          Joe Schmitt Senior Developer
                          last edited by Joe Schmitt

                          Server is leaking old traffic format into 0.10.0+ traffic. @Tom-Elliott. As for your hashes not equaling, I have seen this before. When downloading a snapin if the FTP credentials are bad the server will print an error message to the file instead of throwing a 500 error. I’d consider checking your credentials. @Tom-Elliott you may want to consider throwing a 500 error instead for this scenario (even if it isn’t what he is having) as it makes the logs more useful in debugging.

                          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.

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

                            @Jbob Throwing 500 is done as a protocol system (hence the 403 error’s too.). I don’t get any control over what’s sent as the error message unfortunately.

                            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
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              Found the issue with the object reference and corrected now in trunk again.

                              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

                              Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                              • Matthieu JacquartM
                                Matthieu Jacquart @Tom Elliott
                                last edited by

                                @Tom-Elliott Everything seems fine, thanks 😉

                                Fog 1.5.9.138
                                Debian 11
                                Vmware ESXi

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

                                183

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project