Closed tristangallet closed 9 months ago
Good morning tristangallet,
You specify a cron task that targets:
*/1 * * * * php /var/www/html/glpi/front/cron.php &>/dev/null
But your GLPI seems to be installed in:
GLPI 10.0.12 ( => /var/www/glpi)
Isn't there a discrepancy in the paths?
Likewise, in the installation constants of your GLPI, the value GLPI_SYSTEM_CRON: true
not listed.
Is your inc/downstream.php
file taken into account?
Kind regards.
Hi @tristangallet
If you removed old GLPI sources to replace them with the new version while the GLPI cron system was executed, it is likely to have kill it. In this case, the cron system could have been unable to update the crontask status from "In progress" to "Waiting".
When you process to an update, you should activate the maintenance mode to prevent crontasks to be executed, or even suspend you crontab.
Good morning tristangallet,
You specify a cron task that targets:
*/1 * * * * php /var/www/html/glpi/front/cron.php &>/dev/null
But your GLPI seems to be installed in:
GLPI 10.0.12 ( => /var/www/glpi)
Isn't there a discrepancy in the paths?
Likewise, in the installation constants of your GLPI, the value
GLPI_SYSTEM_CRON: true
not listed.Is your
inc/downstream.php
file taken into account?Kind regards.
Hello, path is good, i've got a shortcut glpi -> /var/www/glpi I will check for the GLPI_SYSTEM_CRON: true
Thanks !
Hi @tristangallet
If you removed old GLPI sources to replace them with the new version while the GLPI cron system was executed, it is likely to have kill it. In this case, the cron system could have been unable to update the crontask status from "In progress" to "Waiting".
When you process to an update, you should activate the maintenance mode to prevent crontasks to be executed, or even suspend you crontab.
Thanks for your informations, i will add the maintenance mode on my update procedure.
Code of Conduct
Is there an existing issue for this?
Version
10.0.0.12
Bug description
Hello, after update, the queued notification hangs, i have to stop it. Queued are using crontab : /1 * php /var/www/html/glpi/front/cron.php &>/dev/null I've got the same with older version. queuednotification -> run mode CLI 0->24
Relevant log output
No response
Page URL
No response
Steps To reproduce
Empty the glpi folder Copy the last sources Copy the inc/downstream Copy files / directory needed (ex pics) Update -> write something in a ticket -> no mail after one minute -> Go to queued notification / watch next run : should be in running all the times : stop it and wait the next cron : ok
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
SQL replicas
Notifications
Plugins list
Anything else?
No response