Issue of the topic: How I fixed my rules not triggering on events
Note: just posting this in case anyone has the same issues - when I updated from the 5.0.0 milestone release to the release version of 5.0.1, suddenly my rules wouldn’t trigger on astro trigger events, set time events, really any time based trigger. When I looked at my logs I saw they were all in CET time even thought the actual events where US central Base Openhabian/debian logs were all local time and such. Finally based on another old thread here I looked at my EXTRA_JAVA_OPTS in /etc/default/openhab and saw that somehow the -Duser.timezone was set to Europe/Berlin rather than America/Chicago. I changed this, restarted the Openhab systemd service and everything has been working properly since. I’m not sure how it got changed, but I thought I’d post this here in case anyone else was also having similar issues - just something to check.
We are not either but it’s under investigation. Based on what the code does this shouldn’t be happening. At most what should happen is the OS timezone is used if that parameter is added to that file. It’s still not clear why this is happening.
Ah, so this is a known issue? Hmm, is there a bug tracker somewhere I should have looked first? Sorry if I missed step. Still, hopefully for others that just look here in the community forum they’ll see this and have a pointer to a solution. I’ll look around here a bit more.
Just some history, I started with OH 1 way back when and have just been upgrading in place (with two platform migrations) over the years. It’s a testament to the community how there have been so few problems. Thanks for that - if this is the worst thing I ever encounter then I’m very happy!
I can’t remember if a bug was filled or if it’s still open. We still are but sure which repo the bug belongs in so it may not have been filled yet. You can search for issues on GitHub but there are dozens of repos so for something like this it’s not always clear where the right repo to search is.
In this case it’s either openHABian or openhab-linux IIRC.