FOG client unable to reboot win10 PC



  • Server

    FOG Version: 1.3.4
    OS: Lubuntu 16.04
    

    Client

    Service Version: ?
    OS: Windows 10
    

    Description

    So, I have recentl installed FOG I have a problem with restarts. Everytime I schedule a task that needs restarting, the fog client is unable to restart the PC. I ahev enabled the Reboot task and force reboot in global options. The log file on the client shows the following

    7/10/2017 3:08 PM Middleware::Authentication ERROR: Could not get security token
    7/10/2017 3:08 PM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
    7/10/2017 3:08 PM Middleware::Communication POST URL: http://devsys-fog2/fog/management/index.php?sub=requestClientInfo&authorize&newService
    7/10/2017 3:08 PM Middleware::Response Failed to decrypt data
    7/10/2017 3:08 PM Middleware::Response Success
    7/10/2017 3:08 PM Middleware::Communication URL: http://devsys-fog2/fog/service/getversion.php?clientver&newService&json
    7/10/2017 3:08 PM Middleware::Communication URL: http://devsys-fog2/fog/service/getversion.php?newService&json

    7/10/2017 3:08 PM Service Creating user agent cache
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.


    ---------------------------------ClientUpdater--------------------------------

    7/10/2017 3:08 PM Client-Info Client Version: 0.11.9
    7/10/2017 3:08 PM Client-Info Client OS: Windows
    7/10/2017 3:08 PM Client-Info Server Version: 1.3.4
    7/10/2017 3:08 PM Middleware::Response Success


    ----------------------------------TaskReboot----------------------------------

    7/10/2017 3:08 PM Client-Info Client Version: 0.11.9
    7/10/2017 3:08 PM Client-Info Client OS: Windows
    7/10/2017 3:08 PM Client-Info Server Version: 1.3.4
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
    ==========================##### Server

    • FOG Version:
    • OS:
    Client
    • Service Version:
    • OS:
    Description

    Server

    FOG Version: 1.3.4
    OS: Lubuntu 16.04
    

    Client

    Service Version: ?
    OS: Windows 10
    

    Description

    So, I have recentl installed FOG I have a problem with restarts. Everytime I schedule a task that needs restarting, the fog client is unable to restart the PC. I ahev enabled the Reboot task and force reboot in global options. The log file on the client shows the following

    7/10/2017 3:08 PM Middleware::Authentication ERROR: Could not get security token
    7/10/2017 3:08 PM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.
    7/10/2017 3:08 PM Middleware::Communication POST URL: http://devsys-fog2/fog/management/index.php?sub=requestClientInfo&authorize&newService
    7/10/2017 3:08 PM Middleware::Response Failed to decrypt data
    7/10/2017 3:08 PM Middleware::Response Success
    7/10/2017 3:08 PM Middleware::Communication URL: http://devsys-fog2/fog/service/getversion.php?clientver&newService&json
    7/10/2017 3:08 PM Middleware::Communication URL: http://devsys-fog2/fog/service/getversion.php?newService&json

    7/10/2017 3:08 PM Service Creating user agent cache
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.


    ---------------------------------ClientUpdater--------------------------------

    7/10/2017 3:08 PM Client-Info Client Version: 0.11.9
    7/10/2017 3:08 PM Client-Info Client OS: Windows
    7/10/2017 3:08 PM Client-Info Server Version: 1.3.4
    7/10/2017 3:08 PM Middleware::Response Success


    ----------------------------------TaskReboot----------------------------------

    7/10/2017 3:08 PM Client-Info Client Version: 0.11.9
    7/10/2017 3:08 PM Client-Info Client OS: Windows
    7/10/2017 3:08 PM Client-Info Server Version: 1.3.4
    7/10/2017 3:08 PM Middleware::Response ERROR: Unable to get subsection
    7/10/2017 3:08 PM Middleware::Response ERROR: Object reference not set to an instance of an object.


  • Moderator

    Typically when you see “Object reference not set to an instance of an object” errors from the fog client, this most typically means tge encryption needs reset for that host.

    the reset can be done from the web gui, on the host’s general page. It’s a big button towards the top.

    If this fails to fix the issue, try reinstalling the client on that box. Make sure there are reboots between Uninstall and reinstall.

    If several hosts have the issue, this points to an image problem - perhaps reboots were not done (two at least) prior to capture after all software has been installed.


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.