Snapin Problems
-
@lhovarter That’s quite interesting… I think the @Developers need to take it from here.
-
I have the same problem, snapins will never be added to the snapintasks or snapinjobs tables when creating a single or all snapins task. They will be added and run normally if created as part of a download task however. I’m running a single Centos 7 server and am on 4501.
-
Please try this and see what happens:
chmod -R 755 /var/www/html/fog
and then see what happens.
-
@Wayne-Workman said:
Please try this and see what happens:
chmod -R 755 /var/www/html/fog
and then see what happens.
Still doing the same thing
-
The permissions change did not work for me either
-
@lhovarter Tom has made some changes - please try updating and see how it goes.
-
Almost there! I freshly imaged the PC after updating to 4505 and the snapin I was trying to install worked. Then I added a second one for Google Chrome and deployed it but it looks like it isn’t downloading the installer after I added the snapin on the web portal.
---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 8/27/2015 11:45 AM Client-Info Version: 0.9.4 8/27/2015 11:45 AM SnapinClient Running... 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication Response: Success 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication Response: Success 8/27/2015 11:45 AM SnapinClient Snapin Found: 8/27/2015 11:45 AM SnapinClient ID: 11 8/27/2015 11:45 AM SnapinClient RunWith: 8/27/2015 11:45 AM SnapinClient RunWithArgs: 8/27/2015 11:45 AM SnapinClient Name: UltraVNC 8/27/2015 11:45 AM SnapinClient File: UltraVNC_1_2_06_X64_Setup_silent.exe 8/27/2015 11:45 AM SnapinClient Created: 2015-08-27 11:50:41 8/27/2015 11:45 AM SnapinClient Args: 8/27/2015 11:45 AM SnapinClient Reboot: 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.file.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&taskid=11 8/27/2015 11:45 AM Bus { "channel": "Notification", "data": "{\r\n \"title\": \"UltraVNC\",\r\n \"message\": \"FOG is installing UltraVNC\",\r\n \"duration\": 10\r\n}" } 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM SnapinClient Starting snapin... 8/27/2015 11:45 AM SnapinClient Snapin finished 8/27/2015 11:45 AM SnapinClient Return Code: 1 8/27/2015 11:45 AM Bus { "channel": "Notification", "data": "{\r\n \"title\": \"Finished UltraVNC\",\r\n \"message\": \"UltraVNC finished installing\",\r\n \"duration\": 10\r\n}" } 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?taskid=11&exitcode=1&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication Response: Success 8/27/2015 11:45 AM SnapinClient Snapin Found: 8/27/2015 11:45 AM SnapinClient ID: 12 8/27/2015 11:45 AM SnapinClient RunWith: 'c:\WINDOWS\system32\msiexec.exe 8/27/2015 11:45 AM SnapinClient RunWithArgs: /i 8/27/2015 11:45 AM SnapinClient Name: Google chrome 8/27/2015 11:45 AM SnapinClient File: googlechromestandaloneenterprise.msi 8/27/2015 11:45 AM SnapinClient Created: 2015-08-27 11:50:41 8/27/2015 11:45 AM SnapinClient Args: 8/27/2015 11:45 AM SnapinClient Reboot: 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.file.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&taskid=12 8/27/2015 11:45 AM Bus { "channel": "Notification", "data": "{\r\n \"title\": \"Google chrome\",\r\n \"message\": \"FOG is installing Google chrome\",\r\n \"duration\": 10\r\n}" } 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM Bus Emmiting message on channel: Notification 8/27/2015 11:45 AM SnapinClient Starting snapin... 8/27/2015 11:45 AM SnapinClient ERROR: Could not start snapin 8/27/2015 11:45 AM SnapinClient ERROR: The system cannot find the file specified 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?taskid=12&exitcode=-1&mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication URL: http://172.17.240.1/fog/service/snapins.checkin.php?mac=6C:62:6D:D8:45:57||00:00:00:00:00:00:00:E0&newService=1 8/27/2015 11:45 AM Middleware::Communication Response: No snapins ------------------------------------------------------------------------------
-
Its a permissions issue for the download, so that’s on my end, it looks like everything is working!
-
Thanks for all the information. I did find that I forgot to add the checks that are specific to Snapin Tasks for the checking that tests if snapins should be deployed or not. This should be good to go. Sorry about not knowing sooner. The permissions issue is most likely really simple.
-
No problem, thanks for the swift response and fix!