Java Runtime Environment: Java™ SE Runtime Environment (build 1.8.0_191-b12)
openHAB version: 2.4.0 Release build
Issue of the topic: OpenHAB autoremoves addons from misc catagory on startup.
For example: this breaks the connection between OpenHAB and the cloud service every restart.
After re-install the cloud connector the connection is back again.
I had this problem also in OpenHAB 2.3.0 Release build.
Couldn’t find anything on the internet to help.
Hope someone has a solution, because it is very annoying that every misc addon needs to be re-installed after startup.
openHAB is initially asking you how to setup itself. One option is to go with “defaults” which AFAIK creates an “addons.cfg” file and only bindings listed in that file are “allowed”. openHAB will reset/sync itself on every start if such a file exists.
The file is a dirt and cheap way to freeze a production system to a set of bindings. You can also just use Paper UI and backup the conf/user directories.
But why does paperui not add the addons to the file or something?
Because it’s an older way of working and the people who created the new way, decided not to interfere with the old way and thus be not backwards compatible
Now it’s working select the answer that helped you most as a solution.
(I think many answers helped you solve the problem, so you might want to pick what set you on the right track.)