In Gladys, what version are you on? (Settings => Systems => Version)
The v4 is not excessive, and if one day we move to v5, it will be a « breaking » update, so we must not automatically update the clients as it will break everything for them ^^
Yes, I was thinking maybe in 10 years on the same instances, you never know!
So I don’t know if I don’t update because it doesn’t check the Docker Hub and therefore I have to do something on the Unraid side or if it’s on the Gladys side…
On UNRAID, you have a plugin that can update the containers you choose at the frequency of your choice. (I don’t remember the name, but something obvious like « Unraid docker auto-updater »)
So it was actually quite simple to update:
Advanced View → force update and that was it. I’ll still deploy Watchtower on unraid because it’s not overly difficult, but after that, I don’t think I’ll enable all available options.
For information, I resumed work this afternoon on Unraid/Synology compatibility.
I am working on this PR for those interested:
I started a VM and I am doing my tests inside it.
This PR modifies the Zigbee2mqtt integration and the MQTT integration at the same time, with the aim of being able to use a custom volume on the host side
I will keep you informed when I have an image to test.
I’m looking for testers with custom installations to install this image and see if it resolves the issue for launching the Zigbee2mqtt integration and the MQTT integration.
I’m also looking for « classic » testers to verify that it hasn’t broken normal functionality
The image can be tested like this for example:
--log-opt max-size=10m \
--restart=always \
--privileged \
--network=host \
--cgroupns=host \
--name gladys \
-e NODE_ENV=production \
-e SERVER_PORT=80 \
-e TZ=Europe/Paris \
-e SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/gladysassistant:/var/lib/gladysassistant \
-v /dev:/dev \
-v /run/udev:/run/udev:ro \
gladysassistant/gladys:fix-zigbee2mqtt-get-container-id```
To test with a custom install, you need to modify the volume (this line: `-v /var/lib/gladysassistant:/var/lib/gladysassistant \`) to set the host directory you want to use :)
After some thought, my last point is that Zigbee2Mqtt uses port 8080, which is very well-known and could probably be used on the user’s machine and cause issues as a result…
If I’m not mistaken, 8080 is the default port for Sabnzbd (and probably others, but less known), which is very widespread… So if a user already has Sabnzb installed, the installation of z2m will indeed fail.
For this « issue » with the port, it could be addressed by creating a network on Docker and placing Gladys with the other Docker containers. We stop hitting port 8080 on the machine, but we only go internally on the Docker side.
And if the need is potentially to check the logs of z2m, we can also assign a random port above 49XXX (the ports that are said to be « free »), right?