SVN 7597 Snapin deployment works, but doesn't check back in correctly to dismiss from Active Tasks

  • After deploying snapin (that worked) the item stays under Active Tasks “checked in”

     5/13/2016 8:30 AM Client-Info Client Version: 0.10.6
     5/13/2016 8:30 AM Client-Info Client OS:      Windows
     5/13/2016 8:30 AM Client-Info Server Version: 7597
     5/13/2016 8:30 AM Middleware::Response Success
     5/13/2016 8:30 AM SnapinClient Snapin Found:
     5/13/2016 8:30 AM SnapinClient     ID: 564
     5/13/2016 8:30 AM SnapinClient     RunWith: 
     5/13/2016 8:30 AM SnapinClient     RunWithArgs: 
     5/13/2016 8:30 AM SnapinClient     Name: Installed Programs
     5/13/2016 8:30 AM SnapinClient     File: InstPrograms.bat
     5/13/2016 8:30 AM SnapinClient     Created: 2016-05-13 08:31:15
     5/13/2016 8:30 AM SnapinClient     Args: 
     5/13/2016 8:30 AM SnapinClient     Action: 
     5/13/2016 8:30 AM Middleware::Communication Download:||00:00:00:00:00:00:00:E0&taskid=564
     5/13/2016 8:30 AM SnapinClient C:\Program Files\FOG\tmp\InstPrograms.bat
     5/13/2016 8:30 AM Bus {
      "self": true,
      "channel": "Notification",
      "data": "{\r\n  \"title\": \"Installing Installed Programs\",\r\n  \"message\": \"Please do not shutdown until this is completed\",\r\n  \"subjectID\": \"snapin-Installed Programs\"\r\n}"
     5/13/2016 8:30 AM Bus Emmiting message on channel: Notification
     5/13/2016 8:30 AM SnapinClient Starting snapin...
     5/13/2016 8:31 AM SnapinClient Snapin finished
     5/13/2016 8:31 AM SnapinClient Return Code: 0
     5/13/2016 8:31 AM Bus {
      "self": true,
      "channel": "Notification",
      "data": "{\r\n  \"title\": \"Installed Programs Installed\",\r\n  \"message\": \"Installation has finished and is now ready for use\",\r\n  \"subjectID\": \"snapin-Installed Programs\"\r\n}"
     5/13/2016 8:31 AM Bus Emmiting message on channel: Notification
     5/13/2016 8:31 AM Middleware::Communication URL:||00:00:00:00:00:00:00:E0&newService&json
     5/13/2016 8:31 AM Middleware::Communication ERROR: Could not contact FOG server
     5/13/2016 8:31 AM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error.

  • Senior Developer

    @Hanz I’ll fix in a little bit. It’s something else causing the 500 and for that I’m sorry. At least I now know it’s trying to do as you requested about sending the hostname/snapin name etc…

  • @Tom-Elliott

    [Fri May 13 08:31:35.006772 2016] [:error] [pid 21120] [client] PHP Fatal error:  Uncaught Error: Call to a member function get() on string in /var/www/html/fog/lib/plugins/pushbullet/events/snapintaskcomplete_pushbullet.event.php:13\nStack trace:\n#0 /var/www/html/fog/lib/fog/eventmanager.class.php(38): SnapinTaskComplete_PushBullet->onEvent('HOST_SNAPINTASK...', Array)\n#1 [internal function]: EventManager->{closure}(Object(SnapinTaskComplete_PushBullet))\n#2 /var/www/html/fog/lib/fog/eventmanager.class.php(40): array_map(Object(Closure), Array)\n#3 /var/www/html/fog/lib/client/snapinclient.class.php(121): EventManager->notify('HOST_SNAPINTASK...', Array)\n#4 /var/www/html/fog/lib/client/fogclient.class.php(13): SnapinClient->json()\n#5 [internal function]: FOGClient->__construct(true, false, false, false, true)\n#6 /var/www/html/fog/lib/fog/fogbase.class.php(89): ReflectionClass->newInstanceArgs(Array)\n#7 /var/www/html/fog/service/snapins.checkin.php(3): FOGBase::getClass('SnapinClient', true, false, false, false, true)\n#8 {main}\n  thrown in /var/www/html/fog/lib/plugins/pushbullet/events/snapintaskcomplete_pushbullet.event.php on line 13

    can’t get it to show full screen

  • Senior Developer

    Error 500 usually means error in apache. Can you provide apache error log?

Log in to reply