[SOLVED] OpenHAB autoremoves addons on startup

  • Platform information:
    • Hardware: RaspberryPi 3
    • OS: Raspbian Lite
    • 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.


how do you re-install the addon’s?

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.


Please read this:

and then this:

Then probably you have to edit


here is an example:

package = standard
remote = true
legacy = true
binding = allplay,amazondashbutton,astro
ui = paper,classic,habmin
persistence = rrd4j
transformation = javascript,map
misc = openhabcloud,restdocs,ruleengine

All your missed “misc bindings” goes to the misc section above!
Don’t forget to remove the # at the beginning of the line!

e.g. “OpenHab Cloud Connector” = openhabcloud

Thanks for your answer!
I did use default setup for OpenHAB.

I will check the file. I’ll post an update if I found something or not. But it’s weird that only the misc add-ons are removed, isn’t it?

Is there an option to disable the addons.cfg check,
Or is that simply deleting the file?


Just added the misc addons tot the file,
Addons are not removed from OpenHAB at restart.

But why does paperui not add the addons to the file or something?
Or is that the problem of choosing “default setup”?

Thanks for help!

Delete the file.

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 it’s weird that only the misc add-ons are removed, isn’t it?

I assume that is because the file has something like

misc =

(with no misc addons in it, so it removes everything that is not in the list, which is everything)

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

That was exactly what was in the file :sweat_smile:.
But I changed it and now it works.

I think I remove the file, and use the paperui only
The installed bindings and information are in the openhab storage locations u mean?

Sounds logical to me.

Thanks for the information everyone!
I had never find out the problem my self.


1 Like

Glad to help.

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.)