You are not logged in.
Bonjour
Je suis en GLPI 9.2.3/plugin OCS-NG 1.4.4.
Manuellement, le plugin me propose des ordinateurs à importer donc le lien avec le serveur OCS se fait bien
Lorsque le lance le script ocsng_fullsync.sh, le script se lance bien, finit mais 0 ordinateurs importés ou synchonises.
Toutes les valeurs sont à o dans
https://monserveur/plugins/ocsinventoryng/front/thread.php
Comment puis-je avancer sur ce problème ?
Merci.
LS
**************************************
Contenu du fichier ocsng_fullsync.log
vendredi 2 novembre 2018, 13:00:00 (UTC+0100) ended
vendredi 2 novembre 2018, 13:31:01 (UTC+0100) ocsng_fullsync.sh started
Manage delete items in all OCS server
=====================================================
=====================================================
=====================================================
=====================================================
Thread #1: starting (1/2)
Thread #1: done!!
=====================================================
=====================================================
Thread #2: starting (2/2)
Thread #2: done!!
=====================================================
cleaning up.
vendredi 2 novembre 2018, 13:31:03 (UTC+0100) ended
*******************************************************************
Contenu de php-errors.log
2018-11-02 14:12:28 [710@xxxx]
From Toolbox::deprecated() in /var/www/nextglpi/inc/toolbox.class.php line 486 (0.000", 5.07Mio)
closeArrowMassives() method is deprecated
2018-11-02 14:12:28 [710@xxxx
Backtrace :
inc/toolbox.class.php:487 Toolbox::backtrace()
inc/html.class.php:2044 Toolbox::deprecated()
plugins/ocsinventoryng/inc/thread.class.php:417 Html::closeArrowMassives()
plugins/ocsinventoryng/front/thread.php:53 PluginOcsinventoryngThread->showProcesses()
Offline
L-execution de ocsng_fullsync.sh --nolog --debug donne
vendredi 2 novembre 2018, 15:49:17 (UTC+0100) ocsng_fullsync.sh started
Manage delete items in all OCS server
=====================================================
=====================================================
=====================================================
PHP Notice: Undefined offset: 1 in /var/www/nextglpi/plugins/ocsinventoryng/scripts/ocsng_fullsync.php on line 41
From Config::getCache() in /var/www/nextglpi/inc/config.class.php line 2838
Service with name "Zend\Cache\Storage\Adapter\Apc" could not be created. Reason: ext/apc is disabled - see 'apc.enabled' and 'apc.enable_cli'
From Config::getCache() in /var/www/nextglpi/inc/config.class.php line 2838 (0.006", 5.51Mio)
Service with name "Zend\Cache\Storage\Adapter\Apc" could not be created. Reason: ext/apc is disabled - see 'apc.enabled' and 'apc.enable_cli'
=====================================================
Thread #1: starting (1/2)
Thread #1: done!!
=====================================================
PHP Notice: Undefined offset: 1 in /var/www/nextglpi/plugins/ocsinventoryng/scripts/ocsng_fullsync.php on line 41
From Config::getCache() in /var/www/nextglpi/inc/config.class.php line 2838
Service with name "Zend\Cache\Storage\Adapter\Apc" could not be created. Reason: ext/apc is disabled - see 'apc.enabled' and 'apc.enable_cli'
From Config::getCache() in /var/www/nextglpi/inc/config.class.php line 2838 (0.005", 5.51Mio)
Service with name "Zend\Cache\Storage\Adapter\Apc" could not be created. Reason: ext/apc is disabled - see 'apc.enabled' and 'apc.enable_cli'
=====================================================
Thread #2: starting (2/2)
Thread #2: done!!
=====================================================
cleaning up.
vendredi 2 novembre 2018, 15:49:19 (UTC+0100) ended
Offline
Bonjour,
Même problème avec même versions de GLPI et OCSng (faisant suite à un upgrade).
Offline
Bonjour,
Même problème avec même versions de GLPI et OCSng (faisant suite à un upgrade).
Bon, je crois que j'ai trouvé dans mon cas : problème de droits sur certains fichiers. Ne pas hésiter à vérifier et réappliquer le chown qui va bien.
Offline