Just a heads-up for other users that might experience a similar issue.
I am using the debian packages and upgraded from 2.0 to 2.1. After the upgrade, the service didn’t start any more. The logs were not indicating any error. Reboot didn’t help either.
I then deleted all content of the folders /var/lib/openhab2/tmp and /var/lib/openhab2/cache. Afterwards, the service started successfully and everything works well.
@Kai, The deb packages definately delete /tmp and /cache now. So it looks like the first run of an openHAB confuses something in the folder for specific setups some how? Is there any way we can work out what’s going on here?
I have no clue - you are the deb expert What I always say is that deleting tmp and cache is required for the update, so there must be something fishy going on with apt…
What I have seen (sometimes this happens and I haven’t checked thoroughly):
tmp & cache do get cleaned properly with apt-get upgrade
First startup of OH2 after upgrade does populate the tmp & cache dirs but sometimes errors appear in the logs (and it seems that the process gets stuck somewhere… (to be validated)
Second startup (systemctl restart openhab2 without clearing tmp & cache for a second time) brings up OH2 without any hiccups or any errors being logged
I could see something similar.
Changed from unstable main to stable main to get 2.1
in the events log I could see
"removed zzz " for all/many of my devices.
But the web UI didn’t start.
Rebooted several times. No reboot gave any info in op*.log nor ev*.log
I left everything for the night as is.
This morning I logged on from work and lo and behold, the web interface started!
I have no clue why I didn’t see anything yesterday, nor do I know why it works today.
Could there be an update process that needs to be finished?