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

Host inventory task fails with PHP error, Host task progress is not shown, with PHP errors

Scheduled Pinned Locked Moved Solved
Bug Reports
2
2
846
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.
  • R
    rbaldwin
    last edited by rbaldwin Jan 3, 2017, 4:08 PM Jan 3, 2017, 10:06 PM

    Server
    • FOG Version: Running Version 1.3.1-RC-1
      SVN Revision: 6052
    • OS: jessie/sid

    When Attempting to send inventory… it repeatly attempts to send the inventory then finally fails an error is recorded in the Apache error.log
    [Tue Jan 03 15:56:24.811397 2017] [php7:error] [pid 16365] [client 10.67.55.12:56504] PHP Fatal error: Uncaught Error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/inventory.php:25\nStack trace:\n#0 {main}\n thrown in /var/www/html/fog/service/inventory.php on line 25

    Error is seen when registering the host as well as when imaging the host, registration and imaging is successful, only inventory data is missing.

    Host task progress is not shown, only an error is shown in the Apache error.log:
    [Tue Jan 03 16:01:23.528751 2017] [php7:error] [pid 18616] [client 10.67.55.12:56700] PHP Fatal error: Uncaught Error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/progress.php:24\nStack trace:\n#0 {main}\n thrown in /var/www/html/fog/service/progress.php on line 24

    The task still runs, imaging is successful only the progress on the web interface isn’t shown.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jan 3, 2017, 10:55 PM

      Already fixed in 1.3.1-RC-2 (which as also been released).

      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
        1/2
        Last post

      213

      Online

      12.1k

      Users

      17.3k

      Topics

      155.3k

      Posts
      Copyright © 2012-2024 FOG Project