You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-08-10 09:20:33

clu91
Member
Registered: 2022-08-08
Posts: 18

Mailgate Job not importing tickets

Hello,

while setting up GLPI i am facing an issue. The mailgate job is not running automatically. I tried both modes, GLPI and CLI. When setting CLI i created a crontab entry:

*/1 * * * * www-data cd /var/www/html/glpi/front/ && php cron.php > /dev/null

But is not working however i set it up. Grabbing the mails manually works perfectly fine. Connection to the mailbox works and i imported already some Testmails, but whatever i do, no job is running...

Hope someone can help sad


best regards CLU

Offline

#2 2022-08-10 13:27:03

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Mailgate Job not importing tickets

Please try putting quotes around the cron command since it has spaces in it:
"cd /var/www/html/glpi/front/ && php cron.php"
Also, you shouldn't need to change directory before running the cron.php script.
"php /var/www/html/glpi/front/cron.php"


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

#3 2022-08-10 13:45:13

clu91
Member
Registered: 2022-08-08
Posts: 18

Re: Mailgate Job not importing tickets

Hello cconard96,

i changed it, but unfortunately this also didn't help. I really dont understand why it is not working neither GLPI nor CLI......

Offline

#4 2022-08-10 14:30:22

clu91
Member
Registered: 2022-08-08
Posts: 18

Re: Mailgate Job not importing tickets

Okay i fixed it now! The solution is to execute without "" and to put usr/bin/php in the front. Also i changed the execution of the tab to user www-data and forced the mailgate in my statement. Here you find my expression:

*/1 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php --force mailgate

Offline

#5 2022-08-10 14:38:44

clu91
Member
Registered: 2022-08-08
Posts: 18

Re: Mailgate Job not importing tickets

I believe there has to be a general issue / error because other Jobs are also not running. Weird thing is, some are running, some are not!

The job infocom for example should run once a day. Its showing the next scheduled job should run at 13.47 but it didn't happen...

zqFhwYu.jpeg

Offline

#6 2022-09-22 09:29:19

ismail
Member
Registered: 2021-07-01
Posts: 2

Re: Mailgate Job not importing tickets

i had same issue as for now.

when im runninf manually on mail receiver the notification message availabel = xxx imported = xx received = 0.
Before i tried to update my Ubuntu 18.04 all update and its work, but yesterday mail receiver not create the ticket on GLPI.

can anybody also help my issue?

OS = Ubuntu 18.04
GLPI Version 9.7
Server running sinch februari 2022 but now stuck with this issue

Thanks
Ismail

Offline

Board footer

Powered by FluxBB