So far the OH3 version has been running without any problems in Docker on a Synology DS918+ with DSM 7.2. A few days ago I decided to switch to version 4. To do this, I created new directories, as can be seen in the following yml file. Version 3 was then deleted via Portainer and Openhab 4 was created.
Make sure that userdata/cache is empty prior docker image update. It contains files which are copied from docker image. There should be no issues with mdns out of the box, I suppose you have them because of earlier version libs are being retained.
Many thanks for the support. Unfortunately, I have to report that this tip was not successful. The user data of the OH3 version is in the directory
/volume1/docker/openhab/userdata
stored, including independent storage locations.
However, I came up with an idea. Is it possible that remnants of the old configuration still exist in the OpenhabCloud even though the UUID or the Openhab Secret have been changed? Or is it the shelly binding. I have already read that it causes problems under OH4.
The MDNS is not tied to openhab cloud, however error message you found does not indicate which mdns participant causes exception. It could be that mdns services are indexed somehow and there is a clash. I don’t know.
Try refreshing addons (refresh $bundleId in shell), and see which bundle causes error.
I don’t know if my first message was clear enough. My approach involves a new installation. I completely deleted the Portainer stack including the OH3 container. OH4 was even installed in a different directory and you can also log in under a new username.
After the setup was completed and all entries were saved, addons such as “HTTP”, “Exec”, “OpenHAB Cloud Connector” and “Network” were installed - everything without errors. The next addon I install is the Shelly binding and then the error message appears.
Perhaps also interesting that I have some Shelly’s Series 2 Plus installed under OH3. These work almost without errors. There is now an add-on version “Shelly Beta with Plus/Pro and BLU Support”, which also produces error messages under OH4.
I am not aware of any update of the addons via the shell. It would be nice if you could describe the procedure to me in more detail.
Doesn’t any of the experts present here have any idea where the error could lie? My guess is that it’s because of the shelly binding. I’ve read that somewhere else.
Maybe someone else will get in touch, otherwise I’ll have to continue working with OH3.