openhab / openhab-docker

Repository for building Docker containers for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
209 stars 128 forks source link

HABPanel configuration lost when container is deleted #38

Closed GreenTeaBalls closed 7 years ago

GreenTeaBalls commented 7 years ago

I'm not sure whether this issue applies to the docker container or OpenHAB directly. I've updated my image for OpenHAB today and due to having to use a 3rd party GUI (Synology) I end up deleting the container, updating the image and then creating a new container with the same settings.

For the container I've mounted /openhab/conf and /openhab/userdata to folders in my host's filesystem.

After updating the container I've noticed that my HABPanel configuration is gone. HABPanel pulls it's configuration from /rest/services/org.openhab.ui.habpanel/config

Wherever that data is stored I assume it is not in the userdata or conf directories since the configuration is gone after my update. I would propose for that information to be stored in userdata or if it is stored in another directory to update the instructions for this image so that the users persist the path where it is stored to the host's filesystem.

jmccoy555 commented 7 years ago

I think this was moved in the latest version.

legacycode commented 7 years ago

@tkosig is this issue still relevant or can we close it?