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

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

Scheduled Pinned Locked Moved Solved
Bug Reports
2
4
1.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.
  • H
    Hanz
    last edited by Hanz May 13, 2016, 6:39 AM May 13, 2016, 12:37 PM

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

    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     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: http://10.72.3.50/fog/service/snapins.file.php?mac=08:00:27:D5:A7:2D||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: http://10.72.3.50/fog/service/snapins.checkin.php?taskid=564&exitcode=0&mac=08:00:27:D5:A7:2D||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.
    ------------------------------------------------------------------------------
    
    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 13, 2016, 12:51 PM

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

      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

      H 1 Reply Last reply May 13, 2016, 12:53 PM Reply Quote 0
      • H
        Hanz @Tom Elliott
        last edited by Hanz May 13, 2016, 6:54 AM May 13, 2016, 12:53 PM

        @Tom-Elliott

        [Fri May 13 08:31:35.006772 2016] [:error] [pid 21120] [client 10.72.2.16:56857] 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

        T 1 Reply Last reply May 13, 2016, 12:54 PM Reply Quote 0
        • T
          Tom Elliott @Hanz
          last edited by May 13, 2016, 12:54 PM

          @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…

          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
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          192

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project