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

FOG Service Client not updating on existing image

Scheduled Pinned Locked Moved Solved
Bug Reports
4
20
7.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.
  • P
    Psycholiquid Testers
    last edited by Psycholiquid Nov 19, 2015, 11:03 AM Nov 19, 2015, 5:00 PM

    When imaging a new machine after updating to Trunk 4555 none of my clients can update the FOG Client. (Using Client 0.9.4 before update.) If I uninstall and reinstall the new client everything works as intended. So here is what I am seeing after an image:

    Client Images without issue.
    Once Sysrep Completes the services are turned on for FOG Client
    The service will constantly restart on its own
    Error from FOG client Log is the following for the Client Updater:

    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     11/19/2015 11:44 AM Client-Info Version: 0.9.5
     11/19/2015 11:44 AM ClientUpdater Running...
     11/19/2015 11:44 AM Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=34:64:A9:29:2F:7D||00:00:00:00:00:00:00:E0&newService=1
     11/19/2015 11:44 AM Middleware::Communication Response: Success
     11/19/2015 11:44 AM Middleware::Communication URL: http://fog-server/fog/service/getversion.php?client&newService=1
     11/19/2015 11:44 AM Middleware::Communication URL: http://fog-server/fog/client/FOGService.msi
     11/19/2015 11:44 AM ClientUpdater ERROR: Unable to prepare update helpers
     11/19/2015 11:44 AM ClientUpdater ERROR: The process cannot access the file 'C:\Program Files (x86)\FOG\tmp\FOGUpdateHelper.exe' because it is being used by another process.
    ------------------------------------------------------------------------------
    
     11/19/2015 11:44 AM Bus {
      "channel": "Update",
      "data": "{\r\n  \"action\": \"start\"\r\n}"
    }
     11/19/2015 11:44 AM Bus Emmiting message on channel: Update
     11/19/2015 11:44 AM Service-Update Spawning update helper
     11/19/2015 11:44 AM Bus Registering ParseBus in channel Power
     11/19/2015 11:44 AM Update Helper Shutting down service...
     11/19/2015 11:44 AM Service Stop requested
     11/19/2015 11:44 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"unload\"\r\n}"
    }
     11/19/2015 11:44 AM Bus Emmiting message on channel: Status
     11/19/2015 11:44 AM Update Helper Killing remaining FOG processes...
     11/19/2015 11:44 AM Update Helper Applying MSI...
     11/19/2015 11:44 AM Update Helper --> msiexec /i "C:\Program Files (x86)\FOG\tmp\FOGService.msi" /quiet USETRAY="" HTTPS="0" WEBADDRESS="fog-server" WEBROOT="/fog" ROOTLOG="1"
     11/19/2015 11:44 AM Data::RSA CA cert found
     11/19/2015 11:44 AM Update Helper Starting service...
     11/19/2015 11:45 AM Bus Became bus server
     11/19/2015 11:45 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     11/19/2015 11:45 AM Bus Emmiting message on channel: Status```
    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Nov 19, 2015, 5:05 PM

      new fog server build?

      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/

      P 1 Reply Last reply Nov 19, 2015, 5:06 PM Reply Quote 0
      • P
        Psycholiquid Testers @Wayne Workman
        last edited by Nov 19, 2015, 5:06 PM

        @Wayne-Workman Not sure what your asking. If I updated to latest yes. I am fully updated. I saw a commit with a new client was put in. I think it is version 0.9.7 not so I am 2 version behind at the time of imaging

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Nov 19, 2015, 5:07 PM

          I’m asking if you rebuilt your fog server from scratch since this image was captured.

          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/

          P 1 Reply Last reply Nov 19, 2015, 5:07 PM Reply Quote 0
          • P
            Psycholiquid Testers @Wayne Workman
            last edited by Nov 19, 2015, 5:07 PM

            @Wayne-Workman No it is the same server I have always had, the image is no more than 2 weeks old.

            1 Reply Last reply Reply Quote 0
            • W
              Wayne Workman
              last edited by Nov 19, 2015, 5:08 PM

              Then we need @Jbob 's help on this.

              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/

              P 1 Reply Last reply Nov 19, 2015, 5:08 PM Reply Quote 0
              • P
                Psycholiquid Testers @Wayne Workman
                last edited by Nov 19, 2015, 5:08 PM

                @Wayne-Workman Yeah I figured. I am uninstalling and reinstalling and that is resolving the issue for now

                1 Reply Last reply Reply Quote 0
                • P
                  Psycholiquid Testers
                  last edited by Nov 19, 2015, 5:21 PM

                  Hmm looking at the commit I am seeing the client is supposed to be 0.9.7 but when I download the client form ym FOG server I am only getting 0.9.5.

                  0_1447953676432_upload-ed4de60b-a0e1-4a3d-8af3-abbfe5f9eb66

                  Perhaps wrong version in trunk or I am not getting the right one from the background downloader?

                  1 Reply Last reply Reply Quote 0
                  • P
                    Psycholiquid Testers
                    last edited by Nov 19, 2015, 5:27 PM

                    OK this is what I have so far. The uninstall / reinstall is a crap shoot.

                    The new server trunk is giving me version 0.9.5. I have 0.9.5 installed in my image. So I am not even sure why it is trying to update the client unless something has changed in the code of it that is above my head.

                    I am uninstalling it from a freshly imaged machine and everything is fine. I download the new file from the FOG server ot make sure I am using what is on that page there and when I reinstalled it says it is version 0.9.5 which is what was in there in the first place and I get the same problem of machines not changing name and adding to domain.

                    However to get around this I just turn off the client updater in the service and it allows everything to work as intended.

                    TLDR:

                    Leave the Client as is for now as it is still working.
                    Turn off Client updater service on either the whole server or the client you have just imaged and everything will continue to flow.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Nov 19, 2015, 6:07 PM

                      @Jbob just informed me that this error you have is caused by the fog installer downloading the wrong version of the client during installation.

                      He hinted that it may be due to the roll-back that happened a day/two ago. @Tom-Elliott

                      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/

                      T 1 Reply Last reply Nov 19, 2015, 6:11 PM Reply Quote 0
                      • T
                        Tom Elliott @Wayne Workman
                        last edited by Nov 19, 2015, 6:11 PM

                        @Wayne-Workman What roll back? I did not make a roll back to the system file which keeps track of the client version.

                        While I did revert some code, I did not do a “roll back” of any 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

                        W P 2 Replies Last reply Nov 19, 2015, 6:16 PM Reply Quote 0
                        • W
                          Wayne Workman @Tom Elliott
                          last edited by Nov 19, 2015, 6:16 PM

                          @Tom-Elliott no idea, don’t shoot the messenger lol.

                          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
                          • P
                            Psycholiquid Testers
                            last edited by Nov 19, 2015, 6:17 PM

                            /puts rope away. What lynch mob?

                            1 Reply Last reply Reply Quote 1
                            • W
                              Wayne Workman
                              last edited by Nov 19, 2015, 6:28 PM

                              https://forums.fogproject.org/topic/6184/svn-4393-cloud-5445-fogservice-msi-missing-on-fresh-insall

                              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
                              • P
                                Psycholiquid Testers @Tom Elliott
                                last edited by Nov 19, 2015, 6:31 PM

                                @Tom-Elliott said:

                                @Wayne-Workman What roll back? I did not make a roll back to the system file which keeps track of the client version.

                                While I did revert some code, I did not do a “roll back” of any files.

                                Perhaps the .msi wasn’t uploaded when the commit was done. Please don’t think that I have any idea what I am talking about I am just guessing. I was always under the impression that the client files were downloaded form somewhere else and that was done in the background after the server install.

                                1 Reply Last reply Reply Quote 0
                                • W
                                  Wayne Workman
                                  last edited by Nov 19, 2015, 6:52 PM

                                  wget https://github.com/FOGProject/fog-client/releases/download/0.9.7/FOGService.msi -O /var/www/html/fog/client/FOGService.msi
                                  chown apache:apache /var/www/html/fog/client/FOGService.msi
                                  chmod 644 /var/www/html/fog/client/FOGService.msi
                                  

                                  destination path and owner:group might need altered depending on distribution.

                                  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/

                                  P 1 Reply Last reply Nov 19, 2015, 8:17 PM Reply Quote 0
                                  • P
                                    Psycholiquid Testers @Wayne Workman
                                    last edited by Psycholiquid Nov 19, 2015, 2:17 PM Nov 19, 2015, 8:17 PM

                                    @Wayne-Workman as a workaround that worked like a champ. All I had to do was drop the file in the folder using the command provided. So until repaired others should do this or a form of this.

                                    1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator
                                      last edited by george1421 Nov 19, 2015, 2:51 PM Nov 19, 2015, 8:49 PM

                                      I guess a question that is still not clear to me is when you ran the install.sh on the current trunk, the installer “should” download the latest client. Did that step complete as expected? Or was there an error saying that needed to manually down it?

                                      IF your fog server sits behind a proxy server you need to update wget (what the installer uses to get the msi) with your proxy server settings.

                                      [Edit] Well if you followed Wayne’s instructions and it worked, then something in the installer or svn trunk is broken. The wget in Wayne’s instructions should have thrown an error if there was a proxy issue [/Edit]

                                      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!

                                      P 1 Reply Last reply Nov 19, 2015, 8:51 PM Reply Quote 0
                                      • P
                                        Psycholiquid Testers @george1421
                                        last edited by Psycholiquid Nov 19, 2015, 2:51 PM Nov 19, 2015, 8:51 PM

                                        @george1421 I didn’t get any errors when I did the upgrade but he is right after a fresh install it just isn’t there.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Nov 22, 2015, 5:07 AM

                                          Fixed in trunk in that it should be downloading the file properly and this has been confirmed on another thread.

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

                                          302

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project