RotherOSS / otobo-docker

OTOBO Docker and Docker Compose files.
GNU General Public License v3.0
32 stars 15 forks source link

"OTOBO Daemon is not running." message when it is. #96

Closed snk-nick closed 2 years ago

snk-nick commented 2 years ago

Getting the message that the Daemon is not running (rel-10_1) when it is definitely running.

Checked status via ./otobo.Daemon.pl status and it shows as working fine. Stopped/started it. Same thing. I can even see its status messages scrolling by in the console.

bschmalhofer commented 2 years ago

Hi @snk-nick,

I investigatedj how it it determined whether the Daemon is running.

The command ./bin/otobo.Daemon.pl status reads the PID of the running Daemon from /opt/otobo/var/run/Daemin-NodeID-1.pid and checks whether this process is running. This seems to work fine on your setup.

The notification relies on a different mechanism. The running Daemon continually writes in the cache that it is running. This message disappease after 30 s unless it is refreshed. The notification reports when this alive message is not longer available in the cache.

So one reason that the message is showing up, is that the communication via the cache might be broken. Could you check whether caching is activated, that is whether the config setting Cache::InBackend is active.

Best regards, Bernhard

bschmalhofer commented 2 years ago

There were no further reports about this problem. So, let's consider it to be solved.