You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ioBroker runs as a Docker container, the Docker ImageID seems to be used as the hostname.
With each Docker update, the ImageID changes, which apparently also changes the hostname.
All data points that are used under system.host need to be reassigned.
In my system.host folder, there are numerous empty folders (the old ImageIDs). It took me a while to understand the background of these folders.
I see several areas for improvement:
Support Docker users by allowing them to set a hostname during installation.
Alternatively, retain the original hostname and not change it with every Docker update.
Delete the outdated (empty) folders from system.host.
Why?
Unnoticed changes in data structures should be avoided by any cost. My automatizations did not run anymore and I only realized weeks later.
How?
No response
The text was updated successfully, but these errors were encountered:
In the ìobroker.json the hostname can be set to a fixed name. I would assume that docker is doing this, more an issue for the official docker or are you not using the buanet container?
The hostname in the iobroker.json file seems to be the same I can fill under "hosts" tab --> edit.
If I set this one, it gets overwritten with the next docker update.
I am using the buanet container, thanks for pointing me in the right direction. I think I have to set "hostname" in Docker somehow. As I am using UNRAID (and therefore not directly using docker compose) I have to see how I can pass this variable. It's no environment variable apparently (these I can set).
You could still consider deleting the old folders in the data structure.
Thanks, that worked!
I already contacted the publisher of the main unraid template to fix this.
I think originally there was an environment variable -e HOST_HOSTNAME = XXX that was used to set "UNRAID" as a standard hostname, but it seems this became effectless with an update (of the docker?) in the past. I can also not find this variable in your official documentation (anymore).
No existing issues.
Description
When ioBroker runs as a Docker container, the Docker ImageID seems to be used as the hostname.
With each Docker update, the ImageID changes, which apparently also changes the hostname.
All data points that are used under system.host need to be reassigned.
In my system.host folder, there are numerous empty folders (the old ImageIDs). It took me a while to understand the background of these folders.
I see several areas for improvement:
Why?
Unnoticed changes in data structures should be avoided by any cost. My automatizations did not run anymore and I only realized weeks later.
How?
No response
The text was updated successfully, but these errors were encountered: