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

Task Management is Blank & Invalid OS ID Windows 7 (5)

Scheduled Pinned Locked Moved
FOG Problems
1
3
1.4k
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.
  • W
    Wolfbane8653 Developer
    last edited by Jun 9, 2014, 3:29 PM

    Good morning!

    It’s been a while for listing problems b/c I just “NAG” Tom directly but I thought this would be a good idea to at least post this… I updated this morning (6/9/2014 @ 8:10am)

    I was in the process of registering machines and I miss pressed a key when adding a HOST to a Group. The group ID I wanted was 3 and I pressed 4 in my haste. At this time Group 4 does not exist. I then continued and told Fog to image the machine. On the next boot I received “An error has been detected ***** Invalid OS ID Windows 7 (5) ***** An error has been detected”

    I tried deleting the host from the Host Management and it would not delete using fog’s delete function due to the id field came up ID=0. So, I ran:
    [CODE]delete from hosts where hostName=‘<HOSTNAME>’;[/CODE]

    This deleted the host out of the HOST Management but when I went to delete the task for imaging this Host the Task Management page is blank. Here is what I get in the apache2 error log.

    [QUOTE][FONT=arial][COLOR=#222222]PHP Fatal error: Call to a member function __toString() on a non-object in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 419, referer: [url]http://10.0.0.252/fog/management/index.php?node=home[/url][/COLOR][/FONT]
    [/QUOTE]

    I have rebooted the Fog server and restarted apache2 service. Any ideas?

    fog v1.1.0-r1799

    [url=“/_imported_xf_attachments/0/945_fog-2014-06-09-12-36-50.png?:”]fog-2014-06-09-12-36-50.png[/url]

    1 Reply Last reply Reply Quote 0
    • W
      Wolfbane8653 Developer
      last edited by Jun 9, 2014, 4:16 PM

      [S]I have fixed the Task Management page by Clearing the Tasks table were nameTask is “AutoRegTask”.[/S]
      [S]For you coders out there:[/S]
      [S][CODE]delete from tasks where taskName=‘AutoRegtask’;[/CODE][/S]

      [S]Going to try to image machine see if I still get the “Invalid OS ID Windows 7 (5)” error.[/S]

      [B]Edit:[/B] This did not fix the issue. The Task Management page is blank again as soon as I registered the next HOST and I am still getting the Invalid OS ID.

      1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by Jun 9, 2014, 5:13 PM

        FIXED!

        I truncated the entire tasks table, removed the bad member reference in groupMembers, and anything else related to this 'BAD HOST"…The Invalid OS ID is due to a small bug in r1799.

        Issue resolved.

        THANKS TOM!!!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post

        164

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project