I am running Openhab 2.5.4 in a docker container on a raspberry pi 3, like this
docker run \
--name openhab25 \
--net=host \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-v /opt/openhab25/conf:/openhab/conf \
-v /opt/openhab25/userdata:/openhab/userdata \
-v /opt/openhab25/addons:/openhab/addons \
-d \
-e USER_ID=999 \
-e GROUP_ID=994 \
--restart=unless-stopped \
openhab/openhab:2.5.4
When I copy my items and sitemaps to the Raspberry Pi, like this
scp "/home/bernd/Dokumente/Raspberry Pi/Openhab/Kostal/httpbinding/Kostal.items" pi@raspberrypi:/opt/openhab25/conf/items/
scp "/home/bernd/Dokumente/Raspberry Pi/Openhab/Kostal/httpbinding/Kostal.sitemap" pi@raspberrypi:/opt/openhab25/conf/sitemaps/
Then I get there warnings in the openhab.log:
2020-05-27 14:12:53.892 [WARN ] [me.core.service.AbstractWatchService] - Error while opening file during update: /openhab/conf/items/Kostal.items
2020-05-27 14:12:54.896 [WARN ] [me.core.service.AbstractWatchService] - Error while opening file during update: /openhab/conf/items/Kostal.items
2020-05-27 14:13:09.589 [WARN ] [me.core.service.AbstractWatchService] - Error while opening file during update: /openhab/conf/sitemaps/Kostal.sitemap
2020-05-27 14:13:10.592 [WARN ] [me.core.service.AbstractWatchService] - Error while opening file during update: /openhab/conf/sitemaps/Kostal.sitemap
I have to restart the container for the sitemap to become visible in Basic UI.
Does some have an idea why I get this warnings and why I have to restart the container?
Regards
Bernd