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

Deploy all snapins is confused

Scheduled Pinned Locked Moved Solved
Bug Reports
4
20
6.1k
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.
  • C
    Claude Girard
    last edited by Sep 12, 2016, 9:52 AM

    Server
    • Version: 1.3.0-RC-10 SVN 5955
    • OS: Debian 8.5
    Client
    • Version: 0.11.5
    • OS: Win 8.1
    Description

    Hi,

    I’ll try to explain clearly but strange Issue.
    If a host has several snapins, and I want to deploy all snapins, on client the first downloaded file in tmp fog directory, is renamed with the name of the file from another snapin.
    Client doesn’t install it, because hash doesn’t match.
    Next snapins are correctly installed

    When deploying individually, each snapin is installed correctly.

    For example, I have a host with 3 snapins:

    0_1473673870713_Capture d’écran_2016-09-12_11-14-24.png

    When I deploy all snapins, on client in tmp directory, I see this file:

    0_1473673890923_Capture d’écran_2016-09-12_11-07-06.png

    But size file doesn’t match the real size of my exe file, it’s size of a text file in my snapin named “MP active-labview-mp207”

    And in log file on client I see:

    12/09/2016 11:06 Client-Info Client Version: 0.11.5
    12/09/2016 11:06 Client-Info Client OS: Windows
    12/09/2016 11:06 Client-Info Server Version: 1.3.0-RC-10
    12/09/2016 11:06 Middleware::Response Success
    12/09/2016 11:06 SnapinClient Snapin Found:
    12/09/2016 11:06 SnapinClient ID: 4687
    12/09/2016 11:06 SnapinClient Name: GACO-Freeplane
    12/09/2016 11:06 SnapinClient Created: 2016-09-12 11:07:25
    12/09/2016 11:06 SnapinClient Action:
    12/09/2016 11:06 SnapinClient Pack: False
    12/09/2016 11:06 SnapinClient Hide: False
    12/09/2016 11:06 SnapinClient Server:
    12/09/2016 11:06 SnapinClient TimeOut: 0
    12/09/2016 11:06 SnapinClient RunWith:
    12/09/2016 11:06 SnapinClient RunWithArgs:
    12/09/2016 11:06 SnapinClient Args:
    12/09/2016 11:06 SnapinClient File: Freeplanedep.exe
    12/09/2016 11:06 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4687
    12/09/2016 11:06 SnapinClient C:\Program Files (x86)\FOG\tmp\Freeplanedep.exe
    12/09/2016 11:06 SnapinClient ERROR: Hash does not match
    12/09/2016 11:06 SnapinClient ERROR: --> Ideal: D26504FB5B8AD5274FB9A20D7E3D10F4B62A85468FE74D9DD95959FC0DEADAB4BCA2E596D39938888FE982A731791DCFDF12C108FA565ECF8992A826C70C9BF2
    12/09/2016 11:06 SnapinClient ERROR: --> Actual: 1C894D7F5D1D1B7FB1258ADA105114CA8CC8E9936B909A413E84B08AE8A1819A5862BAFB1E7253E6D262E5A3EAB6523BBBB985439E1D9A8B4596790B4B1514BC
    12/09/2016 11:06 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4687&exitcode=-1&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json

    Hash number correspond with the file downloaded but not downloaded with good name:

    0_1473673915717_Capture d’écran_2016-09-12_11-29-25.png

    After that in log file I can see that next downloaded file is the good with good name:

    12/09/2016 11:09 Client-Info Client Version: 0.11.5
    12/09/2016 11:09 Client-Info Client OS: Windows
    12/09/2016 11:09 Client-Info Server Version: 1.3.0-RC-10
    12/09/2016 11:09 Middleware::Response Success
    12/09/2016 11:09 SnapinClient Snapin Found:
    12/09/2016 11:09 SnapinClient ID: 4688
    12/09/2016 11:09 SnapinClient Name: GACO-Freeplane
    12/09/2016 11:09 SnapinClient Created: 2016-09-12 11:07:25
    12/09/2016 11:09 SnapinClient Action:
    12/09/2016 11:09 SnapinClient Pack: False
    12/09/2016 11:09 SnapinClient Hide: False
    12/09/2016 11:09 SnapinClient Server:
    12/09/2016 11:09 SnapinClient TimeOut: 0
    12/09/2016 11:09 SnapinClient RunWith:
    12/09/2016 11:09 SnapinClient RunWithArgs:
    12/09/2016 11:09 SnapinClient Args:
    12/09/2016 11:09 SnapinClient File: Freeplanedep.exe
    12/09/2016 11:09 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4688
    12/09/2016 11:09 SnapinClient C:\Program Files (x86)\FOG\tmp\Freeplanedep.exe
    12/09/2016 11:09 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “Installing GACO-Freeplane”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
    }
    12/09/2016 11:09 Bus Emmiting message on channel: Notification
    12/09/2016 11:09 SnapinClient Starting snapin…
    12/09/2016 11:09 SnapinClient Snapin finished
    12/09/2016 11:09 SnapinClient Return Code: 0
    12/09/2016 11:09 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “GACO-Freeplane Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
    }

    And the third one is installed correctly too:

    12/09/2016 11:09 Bus Emmiting message on channel: Notification
    12/09/2016 11:09 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4688&exitcode=0&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json
    12/09/2016 11:09 SnapinClient Snapin Found:
    12/09/2016 11:09 SnapinClient ID: 4689
    12/09/2016 11:09 SnapinClient Name: Gaco-xampp
    12/09/2016 11:09 SnapinClient Created: 2016-09-12 11:07:25
    12/09/2016 11:09 SnapinClient Action:
    12/09/2016 11:09 SnapinClient Pack: False
    12/09/2016 11:09 SnapinClient Hide: False
    12/09/2016 11:09 SnapinClient Server:
    12/09/2016 11:09 SnapinClient TimeOut: 0
    12/09/2016 11:09 SnapinClient RunWith:
    12/09/2016 11:09 SnapinClient RunWithArgs:
    12/09/2016 11:09 SnapinClient Args: -oE:\ -y
    12/09/2016 11:09 SnapinClient File: xampp_port.exe
    12/09/2016 11:09 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4689
    12/09/2016 11:09 SnapinClient C:\Program Files (x86)\FOG\tmp\xampp_port.exe
    12/09/2016 11:09 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “Installing Gaco-xampp”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
    }
    12/09/2016 11:09 Bus Emmiting message on channel: Notification
    12/09/2016 11:09 SnapinClient Starting snapin…
    12/09/2016 11:10 SnapinClient Snapin finished
    12/09/2016 11:10 SnapinClient Return Code: 0
    12/09/2016 11:10 Bus {
    “self”: true,
    “channel”: “Notification”,
    “data”: “{\r\n “title”: “Gaco-xampp Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
    }
    12/09/2016 11:10 Bus Emmiting message on channel: Notification
    12/09/2016 11:10 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4689&exitcode=0&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json

    Long message, sorry, but this issue is difficult to explain

    1 Reply Last reply Reply Quote 0
    • C
      Claude Girard
      last edited by Sep 12, 2016, 9:54 AM

      I’m confused too, because I can’t attach screen capture, tried three times before:

      Server
      • Version: 1.3.0-RC-10 SVN 5955
      • OS: Debian 8.5
      Client
      • Version: 0.11.5
      • OS: Win 8.1
      Description

      Hi,

      I’ll try to explain clearly but strange Issue.
      If a host has several snapins, and I want to deploy all snapins, on client the first downloaded file in tmp fog directory, is renamed with the name of the file from another snapin.
      Client doesn’t install it, because hash doesn’t match.
      Next snapins are correctly installed

      When deploying individually, each snapin is installed correctly.

      For example, I have a host with 3 snapins:

      0_1473674022532_Capture d’écran_2016-09-12_11-14-24.png

      When I deploy all snapins, on client in tmp directory, I see this file:

      0_1473674034449_Capture d’écran_2016-09-12_11-07-06.png

      But size file doesn’t match the real size of my exe file, it’s size of a text file in my snapin named “MP active-labview-mp207”

      And in log file on client I see:

      12/09/2016 11:06 Client-Info Client Version: 0.11.5
      12/09/2016 11:06 Client-Info Client OS: Windows
      12/09/2016 11:06 Client-Info Server Version: 1.3.0-RC-10
      12/09/2016 11:06 Middleware::Response Success
      12/09/2016 11:06 SnapinClient Snapin Found:
      12/09/2016 11:06 SnapinClient ID: 4687
      12/09/2016 11:06 SnapinClient Name: GACO-Freeplane
      12/09/2016 11:06 SnapinClient Created: 2016-09-12 11:07:25
      12/09/2016 11:06 SnapinClient Action:
      12/09/2016 11:06 SnapinClient Pack: False
      12/09/2016 11:06 SnapinClient Hide: False
      12/09/2016 11:06 SnapinClient Server:
      12/09/2016 11:06 SnapinClient TimeOut: 0
      12/09/2016 11:06 SnapinClient RunWith:
      12/09/2016 11:06 SnapinClient RunWithArgs:
      12/09/2016 11:06 SnapinClient Args:
      12/09/2016 11:06 SnapinClient File: Freeplanedep.exe
      12/09/2016 11:06 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4687
      12/09/2016 11:06 SnapinClient C:\Program Files (x86)\FOG\tmp\Freeplanedep.exe
      12/09/2016 11:06 SnapinClient ERROR: Hash does not match
      12/09/2016 11:06 SnapinClient ERROR: --> Ideal: D26504FB5B8AD5274FB9A20D7E3D10F4B62A85468FE74D9DD95959FC0DEADAB4BCA2E596D39938888FE982A731791DCFDF12C108FA565ECF8992A826C70C9BF2
      12/09/2016 11:06 SnapinClient ERROR: --> Actual: 1C894D7F5D1D1B7FB1258ADA105114CA8CC8E9936B909A413E84B08AE8A1819A5862BAFB1E7253E6D262E5A3EAB6523BBBB985439E1D9A8B4596790B4B1514BC
      12/09/2016 11:06 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4687&exitcode=-1&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json

      Hash number correspond with the file downloaded but not downloaded with good name:

      0_1473674046075_Capture d’écran_2016-09-12_11-29-25.png

      After that in log file I can see that next downloaded file is the good with good name:

      12/09/2016 11:09 Client-Info Client Version: 0.11.5
      12/09/2016 11:09 Client-Info Client OS: Windows
      12/09/2016 11:09 Client-Info Server Version: 1.3.0-RC-10
      12/09/2016 11:09 Middleware::Response Success
      12/09/2016 11:09 SnapinClient Snapin Found:
      12/09/2016 11:09 SnapinClient ID: 4688
      12/09/2016 11:09 SnapinClient Name: GACO-Freeplane
      12/09/2016 11:09 SnapinClient Created: 2016-09-12 11:07:25
      12/09/2016 11:09 SnapinClient Action:
      12/09/2016 11:09 SnapinClient Pack: False
      12/09/2016 11:09 SnapinClient Hide: False
      12/09/2016 11:09 SnapinClient Server:
      12/09/2016 11:09 SnapinClient TimeOut: 0
      12/09/2016 11:09 SnapinClient RunWith:
      12/09/2016 11:09 SnapinClient RunWithArgs:
      12/09/2016 11:09 SnapinClient Args:
      12/09/2016 11:09 SnapinClient File: Freeplanedep.exe
      12/09/2016 11:09 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4688
      12/09/2016 11:09 SnapinClient C:\Program Files (x86)\FOG\tmp\Freeplanedep.exe
      12/09/2016 11:09 Bus {
      “self”: true,
      “channel”: “Notification”,
      “data”: “{\r\n “title”: “Installing GACO-Freeplane”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
      }
      12/09/2016 11:09 Bus Emmiting message on channel: Notification
      12/09/2016 11:09 SnapinClient Starting snapin…
      12/09/2016 11:09 SnapinClient Snapin finished
      12/09/2016 11:09 SnapinClient Return Code: 0
      12/09/2016 11:09 Bus {
      “self”: true,
      “channel”: “Notification”,
      “data”: “{\r\n “title”: “GACO-Freeplane Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
      }

      And the third one is installed correctly too:

      12/09/2016 11:09 Bus Emmiting message on channel: Notification
      12/09/2016 11:09 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4688&exitcode=0&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json
      12/09/2016 11:09 SnapinClient Snapin Found:
      12/09/2016 11:09 SnapinClient ID: 4689
      12/09/2016 11:09 SnapinClient Name: Gaco-xampp
      12/09/2016 11:09 SnapinClient Created: 2016-09-12 11:07:25
      12/09/2016 11:09 SnapinClient Action:
      12/09/2016 11:09 SnapinClient Pack: False
      12/09/2016 11:09 SnapinClient Hide: False
      12/09/2016 11:09 SnapinClient Server:
      12/09/2016 11:09 SnapinClient TimeOut: 0
      12/09/2016 11:09 SnapinClient RunWith:
      12/09/2016 11:09 SnapinClient RunWithArgs:
      12/09/2016 11:09 SnapinClient Args: -oE:\ -y
      12/09/2016 11:09 SnapinClient File: xampp_port.exe
      12/09/2016 11:09 Middleware::Communication Download: http://crim-fog/fog/service/snapins.file.php?mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&taskid=4689
      12/09/2016 11:09 SnapinClient C:\Program Files (x86)\FOG\tmp\xampp_port.exe
      12/09/2016 11:09 Bus {
      “self”: true,
      “channel”: “Notification”,
      “data”: “{\r\n “title”: “Installing Gaco-xampp”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
      }
      12/09/2016 11:09 Bus Emmiting message on channel: Notification
      12/09/2016 11:09 SnapinClient Starting snapin…
      12/09/2016 11:10 SnapinClient Snapin finished
      12/09/2016 11:10 SnapinClient Return Code: 0
      12/09/2016 11:10 Bus {
      “self”: true,
      “channel”: “Notification”,
      “data”: “{\r\n “title”: “Gaco-xampp Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
      }
      12/09/2016 11:10 Bus Emmiting message on channel: Notification
      12/09/2016 11:10 Middleware::Communication URL: http://crim-fog/fog/service/snapins.checkin.php?taskid=4689&exitcode=0&mac=18:03:73:B0:26:18||00:00:00:00:00:00:00:E0&newService&json

      Long message, sorry, but this issue is difficult to explain

      1 Reply Last reply Reply Quote 0
      • C
        Claude Girard
        last edited by Sep 12, 2016, 9:58 AM

        Really confused.

        Forget the second message, attached files are not here and a few text dissapeared

        My first screen capture, to see the 3 snapins on host:

        0_1473674140105_Capture d’écran_2016-09-12_11-14-24.png

        Second one to see what happened on client host tmp directory:

        0_1473674170457_Capture d’écran_2016-09-12_11-07-06.png

        And third to see hash corresponding to other snapin:

        0_1473674208170_Capture d’écran_2016-09-12_11-29-25.png

        1 Reply Last reply Reply Quote 0
        • C
          Claude Girard
          last edited by Sep 12, 2016, 10:00 AM

          And my second message is after the third, not my day 🙂

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Sep 12, 2016, 12:15 PM

            This is the only snapin that isn’t working? Snapins are designed for executables, I’m not sure how they would work with a non-executable.

            What you might be looking for are SnapinPacks. You can deploy a batch file along-side this text file, to copy the file where it needs to go. You can find some details here:
            https://wiki.fogproject.org/wiki/index.php?title=SnapinPacks

            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/

            C 1 Reply Last reply Sep 12, 2016, 12:52 PM Reply Quote 0
            • C
              Claude Girard @Wayne Workman
              last edited by Sep 12, 2016, 12:52 PM

              @Wayne-Workman said in Deploy all snapins is confused:

              This is the only snapin that isn’t working? Snapins are designed for executables, I’m not sure how they would work with a non-executable.

              What you might be looking for are SnapinPacks. You can deploy a batch file along-side this text file, to copy the file where it needs to go. You can find some details here:
              https://wiki.fogproject.org/wiki/index.php?title=SnapinPacks

              No I saw the same issue with several executable snapins.
              And deploying alone is ok.
              For a long time, I deployed msi, bat, copy files on client, etc …

              And yes I have seen this new feature, snapin pack, wich is wonderfull.
              The first time I saw this issue was with snapin pack

              But I could try again to verify with only snapin pack

              W 1 Reply Last reply Sep 12, 2016, 12:54 PM Reply Quote 0
              • W
                Wayne Workman @Claude Girard
                last edited by Sep 12, 2016, 12:54 PM

                @Claude-Girard Can you post a screen shot of the snapins for “All Snapins” task? There should be a single entry in Task Management, but several under “active snapin tasks”.

                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/

                C 1 Reply Last reply Sep 12, 2016, 2:08 PM Reply Quote 0
                • C
                  Claude Girard @Wayne Workman
                  last edited by Sep 12, 2016, 2:08 PM

                  @Wayne-Workman said in Deploy all snapins is confused:

                  @Claude-Girard Can you post a screen shot of the snapins for “All Snapins” task? There should be a single entry in Task Management, but several under “active snapin tasks”.

                  Active tasks:

                  0_1473689156921_Capture d’écran_2016-09-12_16-01-47.png

                  Active snapin tasks:

                  0_1473689190771_Capture d’écran_2016-09-12_16-02-01.png

                  For the first one like I said before, my txt file is downloaded but is rename like the exe file of the second snapin.
                  I opened it with note pad and it’ my real txt file, not an exe one.

                  I’ll try to invert them and I’ll tall you what happen

                  C 1 Reply Last reply Sep 12, 2016, 2:18 PM Reply Quote 0
                  • C
                    Claude Girard @Claude Girard
                    last edited by Sep 12, 2016, 2:18 PM

                    So if I change order for my snapins:

                    0_1473689761876_Capture d’écran_2016-09-12_16-10-42.png

                    Now my exe one is the first

                    But on client when deployed:

                    0_1473689809827_Capture d’écran_2016-09-12_16-12-55.png

                    The name of the downloaded file is the one for the text file, but with size of my exe one !!!

                    Can I have a database problem if no other user has this problem ?

                    W 1 Reply Last reply Sep 12, 2016, 2:40 PM Reply Quote 0
                    • W
                      Wayne Workman
                      last edited by Sep 12, 2016, 2:30 PM

                      I’m pretty certain this is a bug. Passing it off to @Tom-Elliott.
                      Please work with him and answer any questions he asks.

                      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
                      • W
                        Wayne Workman @Claude Girard
                        last edited by Sep 12, 2016, 2:40 PM

                        @Claude-Girard Can you provide steps to - from scratch - replicate the issue? We’re trying to but haven’t succeeded. We don’t have your snapins, so we need replication steps from scratch.

                        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/

                        C 1 Reply Last reply Sep 12, 2016, 3:18 PM Reply Quote 0
                        • C
                          Claude Girard @Wayne Workman
                          last edited by Sep 12, 2016, 3:18 PM

                          @Wayne-Workman said in Deploy all snapins is confused:

                          @Claude-Girard Can you provide steps to - from scratch - replicate the issue? We’re trying to but haven’t succeeded. We don’t have your snapins, so we need replication steps from scratch.

                          Yes I’ll try tomorrow.
                          I say try because it’s difficult to reproduce from scratch, it’s not really clear, I tried several combination, but with no success for finding at least one rule I can repeat.

                          If necessary I can share my files and snapins config

                          But I will try with no snapin at all, and adding some of them.
                          In my last try, removing one of them solved the issue, but I can’t affirm that THIS snapin was the cause

                          So after a good night, maybe …

                          W 1 Reply Last reply Sep 12, 2016, 4:32 PM Reply Quote 0
                          • W
                            Wayne Workman @Claude Girard
                            last edited by Sep 12, 2016, 4:32 PM

                            @Claude-Girard said in Deploy all snapins is confused:

                            If necessary I can share my files and snapins config

                            If this is what you choose, you can do a export of all snapins from Snapin Management, it’s in the left menu. You could email this export and the snapin files to me or @Tom-Elliott. Don’t post your snapin files on the forums. Contact us via forums messaging for our email addresses (top right, talk bubble).

                            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
                            • B
                              Brian David
                              last edited by Sep 14, 2016, 11:10 PM

                              I can confirm I have this exact same problem. After imaging a computer I deployed all snap-ins and the process failed on the first snap-in saying that the hash does not match. If I install a single snap-in, it works fine.

                              C 1 Reply Last reply Sep 15, 2016, 8:34 AM Reply Quote 0
                              • C
                                Claude Girard @Brian David
                                last edited by Sep 15, 2016, 8:34 AM

                                @Brian-David said in Deploy all snapins is confused:

                                I can confirm I have this exact same problem. After imaging a computer I deployed all snap-ins and the process failed on the first snap-in saying that the hash does not match. If I install a single snap-in, it works fine.

                                I have sent my snapin files and my test results to Wayne.
                                But maybe can you try this to confirm my analyze:

                                • remove all snapins for this host
                                • add sanpin 1
                                • add snapin 2
                                • deploy all snapins, it fails
                                • remove all snapins
                                • add snapin 2
                                • add snapin 1
                                • deploy all snapins, it works

                                Just revert order, but I can’t say if alphabetical order of snapin name or alphabetical order of file name should be the cause, or anything else

                                T B 2 Replies Last reply Sep 15, 2016, 10:38 AM Reply Quote 0
                                • T
                                  Tom Elliott @Claude Girard
                                  last edited by Sep 15, 2016, 10:38 AM

                                  @Claude-Girard et al.

                                  I will try confirming this myself though my own testing thus far has failed to produce the same issue currently.

                                  For what it’s worth, everything is handled by sorting by names. It sounds, to me, more like the file names are coming in out of order but only in strange cases. Hopefully i can get more information for you by my tonight.

                                  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
                                  • B
                                    Brian David @Claude Girard
                                    last edited by Sep 15, 2016, 9:31 PM

                                    @Claude-Girard Here’s the test I just ran:

                                    1. Removed all snap-ins from host.
                                    2. Added two snap-ins (both at once): Inkscape and Python
                                    3. Ran ‘All snapins’ on host.

                                    The SnapinClient originally errored out on Python with this message:

                                    9/15/2016 4:06 PM Client-Info Client Version: 0.11.5
                                    9/15/2016 4:06 PM Client-Info Client OS: Windows
                                    9/15/2016 4:06 PM Client-Info Server Version: 1.3.0-RC-10
                                    9/15/2016 4:06 PM Middleware::Response Success
                                    9/15/2016 4:06 PM SnapinClient Snapin Found:
                                    9/15/2016 4:06 PM SnapinClient ID: 326
                                    9/15/2016 4:06 PM SnapinClient Name: Python
                                    9/15/2016 4:06 PM SnapinClient Created: 2016-09-15 16:05:11
                                    9/15/2016 4:06 PM SnapinClient Action:
                                    9/15/2016 4:06 PM SnapinClient Pack: False
                                    9/15/2016 4:06 PM SnapinClient Hide: False
                                    9/15/2016 4:06 PM SnapinClient Server:
                                    9/15/2016 4:06 PM SnapinClient TimeOut: 0
                                    9/15/2016 4:06 PM SnapinClient RunWith: msiexec
                                    9/15/2016 4:06 PM SnapinClient RunWithArgs: /qn /i
                                    9/15/2016 4:06 PM SnapinClient Args: ALLUSERS=1
                                    9/15/2016 4:06 PM SnapinClient File: python-2.7.10.msi
                                    9/15/2016 4:06 PM Middleware::Communication Download: http://fog/fog/service/snapins.file.php?mac=E4:B3:18:E1:AC:70|E6:B3:18:E1:AC:6C|E6:B3:18:E1:AC:6D|E4:B3:18:E1:AC:6C|C8:5B:76:30:78:76&taskid=326
                                    9/15/2016 4:06 PM SnapinClient C:\Program Files (x86)\FOG\tmp\python-2.7.10.msi
                                    9/15/2016 4:06 PM SnapinClient ERROR: Hash does not match
                                    9/15/2016 4:06 PM SnapinClient ERROR: --> Ideal: D7334A6C5D6EDC8494E59E4A24B39DADEB39C63B4275F2F79E2C36422783C6A40DEC3227C81BE9990E033AD8630107279440035A55D4C1C9CDB667D39D0AF6A9
                                    9/15/2016 4:06 PM SnapinClient ERROR: --> Actual: 91975CAE1F0111F655AF5EB66D92EA75A2638D97B06A32C18DAB14F9CFFBB00B6F5782AEB83FAA528816F6C5B6AB58B58ABAFD1B4DEFB0F640E1B812E14B3589
                                    9/15/2016 4:06 PM Middleware::Communication URL: http://fog/fog/service/snapins.checkin.php?taskid=326&exitcode=-1&mac=E4:B3:18:E1:AC:70|E6:B3:18:E1:AC:6C|E6:B3:18:E1:AC:6D|E4:B3:18:E1:AC:6C|C8:5B:76:30:78:76&newService&json

                                    Two minutes later Python successfully installed with this message:

                                    9/15/2016 4:08 PM Client-Info Client Version: 0.11.5
                                    9/15/2016 4:08 PM Client-Info Client OS: Windows
                                    9/15/2016 4:08 PM Client-Info Server Version: 1.3.0-RC-10
                                    9/15/2016 4:08 PM Middleware::Response Success
                                    9/15/2016 4:08 PM SnapinClient Snapin Found:
                                    9/15/2016 4:08 PM SnapinClient ID: 327
                                    9/15/2016 4:08 PM SnapinClient Name: Python
                                    9/15/2016 4:08 PM SnapinClient Created: 2016-09-15 16:05:11
                                    9/15/2016 4:08 PM SnapinClient Action:
                                    9/15/2016 4:08 PM SnapinClient Pack: False
                                    9/15/2016 4:08 PM SnapinClient Hide: False
                                    9/15/2016 4:08 PM SnapinClient Server:
                                    9/15/2016 4:08 PM SnapinClient TimeOut: 0
                                    9/15/2016 4:08 PM SnapinClient RunWith: msiexec
                                    9/15/2016 4:08 PM SnapinClient RunWithArgs: /qn /i
                                    9/15/2016 4:08 PM SnapinClient Args: ALLUSERS=1
                                    9/15/2016 4:08 PM SnapinClient File: python-2.7.10.msi
                                    9/15/2016 4:08 PM Middleware::Communication Download: http://fog/fog/service/snapins.file.php?mac=E4:B3:18:E1:AC:70|E6:B3:18:E1:AC:6C|E6:B3:18:E1:AC:6D|E4:B3:18:E1:AC:6C|C8:5B:76:30:78:76&taskid=327
                                    9/15/2016 4:08 PM SnapinClient C:\Program Files (x86)\FOG\tmp\python-2.7.10.msi
                                    9/15/2016 4:08 PM Bus {
                                    “self”: true,
                                    “channel”: “Notification”,
                                    “data”: “{\r\n “title”: “Installing Python”,\r\n “message”: “Please do not shutdown until this is completed”\r\n}”
                                    }
                                    9/15/2016 4:08 PM Bus Emmiting message on channel: Notification
                                    9/15/2016 4:08 PM SnapinClient Starting snapin…
                                    9/15/2016 4:08 PM SnapinClient Snapin finished
                                    9/15/2016 4:08 PM SnapinClient Return Code: 0
                                    9/15/2016 4:08 PM Bus {
                                    “self”: true,
                                    “channel”: “Notification”,
                                    “data”: “{\r\n “title”: “Python Installed”,\r\n “message”: “Installation has finished and is now ready for use”\r\n}”
                                    }
                                    9/15/2016 4:08 PM Bus Emmiting message on channel: Notification
                                    9/15/2016 4:08 PM Middleware::Communication URL: http://fog/fog/service/snapins.checkin.php?taskid=327&exitcode=0&mac=E4:B3:18:E1:AC:70|E6:B3:18:E1:AC:6C|E6:B3:18:E1:AC:6D|E4:B3:18:E1:AC:6C|C8:5B:76:30:78:76&newService&json

                                    Fog made no attempt to install Inkscape, yet still registered the task as complete after this. Inkscape never installed.

                                    After this, I repeated the process i.e. removed the snap-ins, re-added them, and ran ‘All snapins’. This time, both Inkscape and Python installed correctly.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Tom Elliott Sep 15, 2016, 6:27 PM Sep 16, 2016, 12:27 AM

                                      Mind running:

                                      wget -O /var/www/fog/lib/client/snapinclient.class.php https://raw.githubusercontent.com/FOGProject/fogproject/working-RC-11/packages/web/lib/client/snapinclient.class.php

                                      And testing another set of “all snapin” deployment? I’m hoping this was simply an ordering issue so the first iteration was out of whack. Why it worked with some and not others I don’t know, but I also am trying to make sure the snapins able to be “priority based” simply by the name of the snapin. I had it this way, but didn’t think much of it. Basically I think it was getting the snapins in order of the name, but the “index” it was looking for of the snapin tasking was mis represented.

                                      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

                                      C 1 Reply Last reply Sep 16, 2016, 7:48 AM Reply Quote 0
                                      • C
                                        Claude Girard @Tom Elliott
                                        last edited by Sep 16, 2016, 7:48 AM

                                        @Tom-Elliott said in Deploy all snapins is confused:

                                        Mind running:

                                        wget -O /var/www/fog/lib/client/snapinclient.class.php https://raw.githubusercontent.com/FOGProject/fogproject/working-RC-11/packages/web/lib/client/snapinclient.class.php

                                        And testing another set of “all snapin” deployment? I’m hoping this was simply an ordering issue so the first iteration was out of whack. Why it worked with some and not others I don’t know, but I also am trying to make sure the snapins able to be “priority based” simply by the name of the snapin. I had it this way, but didn’t think much of it. Basically I think it was getting the snapins in order of the name, but the “index” it was looking for of the snapin tasking was mis represented.

                                        It seems ok now for me with this new version of snapinclient.class.php
                                        Snapins are deployed in alphabetical order, seen in active snapin tasks windows.

                                        With old version, when looking at active snapin tasks, they was deployed in same order than declaring them in host snapins.

                                        I mark this solved.

                                        Thank you Tom, it was so strange that it was a pain to explain

                                        .

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Brian David
                                          last edited by Sep 21, 2016, 5:49 PM

                                          I can confirm that this fix works on my end, too. I deployed an image and then sent out all snapins, and everything worked as expected.

                                          Thanks, Tom.

                                          1 Reply Last reply Reply Quote 0
                                          • 1 / 1
                                          1 / 1
                                          • First post
                                            14/20
                                            Last post

                                          246

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project