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:
When I deploy all snapins, on client in tmp directory, I see this file:
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:
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