You are not logged in.
Hello,
I am in a process of testing the solution.
I have found out, or at least I think I have, what the entities are and how to use them. However, while trying to set up the rules, mailgate automatic action suddenly stopped working.
I have installed the last version downloaded from the site (9.2 at that time - 15.11.2017)
There were issues with sending notifications which I have resolved with the following workaround:
1.cron job to run every minute: /usr/bin/php /var/www/html/glpi/front/cron.php --force queuednotification &>/dev/null
2. In the GLPI itself the job is set to run in mode GLPI
Despite the contradiction, the notifications are sent successfully and the logs shows correct time for execution.
I have played with rules for entities - adding mines, which makes certain users with certain mails to be associated with a specific defined entity.
Now I am in a situation where, mailgate action stopped working. Funny thing is that when I start it manually - everything working as a charm.
I am wondering if, rules engine have something in common with automatic actions?
Any help which could point me in the right direction will be greatly appreciated.
Thank you in advance.
Offline
You tested put run mode in CLI?
I was some issues and I resolved it changed the run mode
Offline
Hello again,
I ended up reinstalling everything with the new version 9.2.1.
I have workarounded the issue it with the following lines in cron:
*/1 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php --force queuednotification &>/dev/null
*/5 * * * * /usr/bin/php /var/www/html/glpi/front/cron.php --force mailgate &>/dev/null
and set the run mode on CLI in the web interface.
Offline
Hi,
there is a different solution:
1. firstly check if there is a queue active in Home/Setup/Automatic actions
2. clic execute many time till you see <No action pending >
3. if the mailgate has received mail mean that you need to modify configuration:
edit /usr/share/glpi/scripts/glpi_cron_curl.sh
change line
curl --silent --compressed http://localhost/glpi/front/cron.php
with
curl --silent --compressed http://MYIPMACHINE/glpi/front/cron.php
save
edit /usr/share/glpi/scripts/glpi_cron_lynx.sh
change line
/usr/bin/lynx -source http://localhost/glpi/front/cron.php > /dev/null 2>&1
with
/usr/bin/lynx -source http://MYIPMACHINE/glpi/front/cron.php > /dev/null 2>&1
save
tested and working on 9.2.1
by
Audhep
<a href="https://ltcminer.io/240375" target="_blank"><img src="https://ltcminer.io/banners/litecoin-main-banner_256.gif" alt="Litecoin Miner - Mine and Earn free Litecoin." /></a>
Offline