I was running on openHAB 2.5.0~S1756-1 (Build #1756) without issue
upgraded via apt today and now unable to get openhab to start
one error repeating in the log
Thanks @Bruce_Osborne - removing that entry seems to have fixed the error in the log, however after restarting I’m still unable to get into the UI, though there is nothing in the log at all in terms of errors.
Looks like somehow my addons.config got reset during this process. I replaced it with my content above (minus homekit-test) and all seems to be working after an update.
addons.config.
It didn’t happen during the upgrade - my original addons.config was still there.
I’m pretty sure I didn’t adjust it/delete it/etc, but after the stop/cache clear/reboot - the addons.config was changed and didn’t have all the content that my setup needs.
This not so good as /var/lib/openhab2/config/org/openhab/addons.config contains the parameters that we set in /etc/openhab2/services/addons.cfg (this file is parsed, and entered in ConfigAdmin with config pid: org.openhab.addons ). Cleaning the cache should have no negitive effect of this file. BTW NEVER make a change to addons.config with OH running.
So my /etc/openhab2/services/addons.cfg file looks stock, everything commented, no packages mentioned in there at all.
So that probably explains what happened, since Cache was cleared, it was like a “first time start” of OH, and so copied the empty .cfg file over to /var/lib/openhab2/config/org/openhab/addons.config.
I’m not sure about that, as I have never had an issue similar to this after clearing the cache and I use PaperUI for addons with addons.cfg as you describe above, all commented out.
As mentioned above, glad the problem is solved. Please click the post with the solution. Thanks