Snapins deployment problem... SVN 7452
-
What’s the actual hash of the file as it exists on the server? We use sha512sum I believe.
-
@Tom-Elliott
root@FOG:/opt/fog/snapins$ md5sum Teacher.msi
0b57a13d37ed49ae20c52c82dbee4f28 Teacher.msi
I just don’t understand because I deployed computer last week and every snapin was fine… -
@Matthieu-Jacquart What I mean, you cannot use
md5sum
. We usesha512sum
what’s the sha512sum of the snapin? -
@Tom-Elliott I don’t know how to get this ^^
-
@Matthieu-Jacquart The same way you did md5sum.
sha512sum /opt/fog/snapins/Teacher.msi
-
@Tom-Elliott oh…
root@FOG:/opt/fog/snapins$ sha512sum Teacher.msi
8f33bafa3b5ddbc113ad1d99c64c00059f25dcfbd6442f60a02344511356d1aa32cc7229d9ae6f3cbab71d642141ea5ee8b5c85aa85fc5f92849de8280eb1e21 Teacher.msi -
@Matthieu-Jacquart Do you use location plugin?
-
@Tom-Elliott No
-
For the record I have reverted v0.10.5’s ability to hash files larger than 2GB incase it was causing any part of this issue.
-
I tried to delete one snapin and create it once again, and it’s ok.
But I didn’t want to delete and re-create all my snapins ^^ -
@Matthieu-Jacquart I don’t understand what you mean. You shouldn’t have to delete and recreate the snapins at all.
-
@Tom-Elliott Yes, I agree !
But just for test, as previous snapin didn’t complete and fog.log show hash error, I just tried once to delete and create new snapin, and it was ok -
@Matthieu-Jacquart That does make sense in that regard. Is this still happening though?
-
@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… -
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 ! -
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
-
@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>
-
@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 -
@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?
-
@Tom-Elliott ok it works if I deploy single snapin
Windows firewall is disabled