-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
After update GLPI to 11.0.0 and plugin ocsinventoryng to 2.1.1, automatic cronjob stopped working (debian 12).
Path to script ocsng_fullsync.sh has been changed from:
/var/www/glpi/plugins/ocsinventoryng/scripts/ocsng_fullsync.sh
to:
/var/www/glpi/plugins/ocsinventoryng/public/scripts/ocsng_fullsync.sh
I changed path, but still not working.
When i run script manually i got this:
root@xxxxxxx:/var/www/glpi/plugins/ocsinventoryng/public/scripts# ./ocsng_fullsync.sh --thread_nbr=2 --server_id=1
PHP Warning: include(../../../../inc/based_config.php): Failed to open stream: No such file or directory in /var/www/glpi/plugins/ocsinventoryng/public/scripts/glpienv.php on line 3
PHP Warning: include(): Failed opening '../../../../inc/based_config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/glpi/plugins/ocsinventoryng/public/scripts/glpienv.php on line 3
PHP Fatal error: Uncaught Error: Undefined constant "GLPI_LOG_DIR" in /var/www/glpi/plugins/ocsinventoryng/public/scripts/glpienv.php:4
Stack trace:
#0 {main}
thrown in /var/www/glpi/plugins/ocsinventoryng/public/scripts/glpienv.php on line 4
Metadata
Metadata
Assignees
Labels
No labels