You are not logged in.
Last week we have updated our GLPI instance tot 10.0.11, after this update we received a notification that there was an update for the GLPI Inventory (1.3.4). We updated the plugin via de Marketplace, but now the GLPIInventory plugin is constantly stopping. When we enable it, it will be active until we try to send a inventory to it. After that the GLPI Inventory plugin looks like is has a newer update but we have the latest version (1.3.4).
I'm trying to find the log-file that can provide more information about why the plugin is stopping.
I have tried removing the GLPIInventory directory from the server and downloading it again from the marketplace, but this doesn't resolve the problem.
Running GLPI 10.0.11 on a Debian 12 VM with PHP 8.2
Offline
Some more information may be found in the files/_log/php-errors.log or files/_log/sql-errors.log files. Starting with GLPI 10.0.6, when a plugin throws an error when its "init" function is called (called to load the plugin), GLPI will automatically disable the plugin to prevent breaking other parts of GLPI and spamming the log with errors. If that was the source of the error, you should see a message like "Error while loading plugin glpiinventory:" followed by the error message in the php-errors.log file.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Thanks for your reply cconard96.
In the sql and php logs where no error's showing. But after clearing the logs dir I noticed the cron log growing.
I stopt the cron job (../front/cron.php) then did the plugin update. Now the plugin didn't stop anymore. Now I was able to send inventory's to the server again.
After enabling the cron.php the plugin is still working :-).
Looks like a case solved, good weekend to everyone.
Last edited by Paul_NL (2024-01-05 17:35:57)
Offline