Hi,
openHAB ist running on an rasp.
I’ve got an “restart openhab”-Cron-Job every Day at 4 am.
Since a few Days there are some probleme after the restart. I could ask the openhab-Status on Shell and it Looks Ok. I could see a “normal” Logging.
But I couldn’t use the Browser-Frontend and the Update-Values from Items doesn’t saved in the Database.
The REST-Interface is answering and working by Browser.
There are no entries in the Logs.
I have to restart the Maschine for one or two times and everything is working again.
What could I do or looking for?
If you can hook up a monitor via hmdi you can probably see if there are issues with your sd while the pi is booting. In my case it was throwing some errors regarding mmcblk0.
A good thing to do is to reduce the read/write load and move openhab or at least all persistence services to a separate drive. I now have all openhab related stuff on a 16GB thumb drive.
I followed this guide to some extent to set up my pi. What I didn’t work for me was the temps for /tmp. Needed to be bigger than a couple of megs so I removed it.
Yes, you are right. And it only shoots out of the roof if you are starting a nginx server like I do. And nginx resisted changing its tmp location (starting the server with sudo worked but starting the service didn’t. For some reason it was using a different cfg).
If you only run openhab it is totally fine.