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

    Host inventory task fails with PHP error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    4
    1.2k
    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.
    • K
      kondi
      last edited by

      Server
      • FOG Version: 1.3.0-RC-35 SVN Revision: 6044
      • OS: Debian Jessie 8.6.0
      Description

      Host inventory feature does not work when trying to capture as a standalone task, or with quick host registration & inventory.

      Hi.

      I’ve ran into an issue with the host inventory feature. I’ve first encountered it on RC 33, 2 days ago.

      Using the “Perform Full host registration, and inventory” the inventory gets registered (as well as the host of course) properly.

      Using the “Quick host registration and inventory” function, on RC35, the inventory gets uploaded according to the PXE environment, but it does not appear under the host/inventory menu. The host gets registered properly.

      Manually creating an inventory task for an already registered host yields the same results as above.

      An entry in the apache error logs is visible on every approach that does not work properly :
      PHP Fatal error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/inventory.php on line 30

      This error is not visible when the inventory is succesful (using the “Full registration and inventory” option.

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        pinging @Tom-Elliott for this one.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @kondi
          last edited by

          @kondi Repushed RC-35 which should address this issue.

          Thanks for reporting.

          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

          K 1 Reply Last reply Reply Quote 2
          • K
            kondi @Tom Elliott
            last edited by

            @Tom-Elliott
            I can confirm that the issue is resolved now. Thanks a lot for all the good work!

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

            161

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project