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

    Client Updater Loop

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    22
    9.3k
    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.
    • J
      jmeyer @Wayne Workman
      last edited by jmeyer

      @Wayne-Workman If he releases a new version that remove all old version (under 0.9.9) and upgrade the last (0.9.9), won’t it solve my problem ?
      Will 0.9.7 client will download a 0.9.9+ version and clean the multiple install ?

      My current script remove the 3 clients (old, 0.9.7 and 0.9.9) before installing the 0.9.9.
      But this is not great since it will do this in loop.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @jmeyer
        last edited by

        @jmeyer said:

        My current script remove the 3 clients (old, 0.9.7 and 0.9.9) before installing the 0.9.9.
        But this is not great since it will do this in loop.

        If you’re removing 3.0.29, 0.97, and 0.9.9 and then installing the latest - why is the latest client trying to update over and over?

        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/

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

          @jmeyer How do you check for a newer version in a file that is the “most recent?”

          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

          J 1 Reply Last reply Reply Quote 0
          • J
            jmeyer @Tom Elliott
            last edited by jmeyer

            @Tom-Elliott
            I live in loops… lol

            ------------------------------------------------------------------------------
            ---------------------------------SnapinClient---------------------------------
            ------------------------------------------------------------------------------
             18/12/2015 16:25 Client-Info Version: 0.9.9
             18/12/2015 16:25 SnapinClient Running...
             18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=1C:C1:DE:51:16:C1||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=1
             18/12/2015 16:25 Middleware::Communication Response: Success
             18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/snapins.checkin.php?mac=1C:C1:DE:51:16:C1||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=1
             18/12/2015 16:25 Middleware::Communication Response: Success
             18/12/2015 16:25 SnapinClient Snapin Found:
             18/12/2015 16:25 SnapinClient     ID: 201
             18/12/2015 16:25 SnapinClient     RunWith: 
             18/12/2015 16:25 SnapinClient     RunWithArgs: 
             18/12/2015 16:25 SnapinClient     Name: Upgrade Client FOG
             18/12/2015 16:25 SnapinClient     File: upgradefogclient.bat
             18/12/2015 16:25 SnapinClient     Created: 2015-12-18 15:21:44
             18/12/2015 16:25 SnapinClient     Args: 
             18/12/2015 16:25 SnapinClient     Reboot: 0
             18/12/2015 16:25 Middleware::Communication URL: http://fog-server/fog/service/snapins.file.php?mac=1C:C1:DE:51:16:C1||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=201
             18/12/2015 16:25 Bus {
              "channel": "Notification",
              "data": "{\r\n  \"title\": \"Upgrade Client FOG\",\r\n  \"message\": \"FOG is installing Upgrade Client FOG\",\r\n  \"duration\": 10\r\n}"
            }
             18/12/2015 16:25 Bus Emmiting message on channel: Notification
             18/12/2015 16:25 SnapinClient Starting snapin...
             18/12/2015 16:25 Service Stop requested
             18/12/2015 16:25 SnapinClient ERROR: Could not start snapin
             18/12/2015 16:25 SnapinClient ERROR: Le thread a été abandonné.
             18/12/2015 16:25 Service ERROR: Le thread a été abandonné.
             18/12/2015 16:25 Bus {
              "channel": "Status",
              "data": "{\r\n  \"action\": \"unload\"\r\n}"
            }
             18/12/2015 16:25 Bus Emmiting message on channel: Status
             18/12/2015 16:26 RegistryHandler ERROR: Could not retrieve Software\Wow6432Node\FOG\Server
             18/12/2015 16:26 RegistryHandler ERROR: Null key
             18/12/2015 16:26 RegistryHandler 32 bit registry detected
             18/12/2015 16:26 Middleware::Communication URL: http://fog-server/fog/management/other/ca.cert.der
             18/12/2015 16:26 Bus Became bus server
             18/12/2015 16:26 Bus {
              "channel": "Status",
              "data": "{\r\n  \"action\": \"load\"\r\n}"
            }
             18/12/2015 16:26 Bus Emmiting message on channel: Status
            
            1 Reply Last reply Reply Quote 0
            • J
              jmeyer @Wayne Workman
              last edited by

              @Wayne-Workman It’s set on computer startup. I can’t restart all my network like this… I fixed only a few manually.

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

                A snapin should NOT be used to Upgrade the client. THe snapin should ONLY be used to remove the clients.

                Use a GPO (or maybe a startup script) to only install a new client on the systems IF there is no client installed on them already.

                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

                J 1 Reply Last reply Reply Quote 1
                • J
                  jmeyer @Tom Elliott
                  last edited by

                  @Tom-Elliott That’s what i was thinking. Thank you.

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

                    @jmeyer , the client was meant to be upgraded in a linear fashion, but with GPO mucking things up that linear upgrade path is now broken. The best approach is what Tom suggested. Use GPO to remove ALL CLIENTS completely. v0.9.7. v0.9.9, everything needs to be wiped. Then use GPO once to deploy v0.9.9, once deployed remove the GPO policy, or be very careful when you create the policy so that its a one-time only deal.

                    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.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jmeyer @Joe Schmitt
                      last edited by

                      @Jbob Thank you for your help too. 🙂

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

                        I’m solving this thread as the issue involved was not caused by fog at all.

                        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
                        • 2
                        • 2 / 2
                        • First post
                          Last post

                        210

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project