[Bug 244264] www/glpi: cron: Undefined variable: cron_status

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 21 05:53:35 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244264

            Bug ID: 244264
           Summary: www/glpi: cron:  Undefined variable: cron_status
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ohartmann at walstatt.org
                CC: mathias at monnerville.com
                CC: mathias at monnerville.com
             Flags: maintainer-feedback?(mathias at monnerville.com)

Running www/glpi on FreeBSD 11.3-RELENG, there seems to be a problem with the
cron triggered GLPI task scheduler, responsible for notifications and
FusionInventory. As recoomended, the appropriate job is triggered by a cronjob
owned by user 'www', edited via:

crontab -e -u www

and looking like:

[...]
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
* * * * * /usr/local/bin/php  /usr/local/www/glpi/front/cron.php & >/dev/null
[...]

On a daily basis, the FreeBSD host reports an error via email from user
www at ...:

[...]
Toolbox::userErrorHandlerNormal() in /usr/local/www/glpi/inc/toolbox.class.php
line 659
  *** PHP Notice(8): Undefined variable: cron_status
  Backtrace :
  plugins/fusioninventory/inc/agent.class.php:1243   
  inc/crontask.class.php:829                        
PluginFusioninventoryAgent::cronCleanoldagents()
  front/cron.php:83                                  CronTask::launch()

The ports tree/packages are up to date so far and so is the host's FreeBSD
11.3-RELENG:
11.3-RELEASE-p6 FreeBSD 11.3-RELEASE-p6 #4 r357426: Mon Feb  3 08:22:52 CET
2020 amd64

and port

glpi-9.4.2,1                   www/glpi
p5-FusionInventory-Agent-2.4   net-mgmt/p5-FusionInventory-Agent

Any ideas what the problem may cause?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list