# Gladys on Unraid

**URL:** <https://community.gladysassistant.com/t/gladys-sur-unraid/6959>\
**Category:** Développement\
**Created:** [February 16, 2022, 1:02pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959 "2022-02-16T13:02:09Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 9, 2022, 6:09pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/42 "2022-03-09T18:09:51Z")

</div>

So, it’s been 24 hours and, being impatient by nature, I can’t help but leave a comment.

For now, it tells me that the image is up to date.

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/70420f0d2e48475c395f55d815210b6f5e5d3154.png)

I pull this image from Docker Hub: `gladysassistant/gladys:v4`

Do I need to change something? Is the v4 too much for the day when we want to upgrade to v5?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 9, 2022, 6:11pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/43 "2022-03-09T18:11:42Z")

</div>

> [@jgcb00](#):
>
> Well, it’s been 24 hours and being impatient by nature, I can’t help but comment.  
> So far, it tells me that the image is up to date.

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 «&nbsp;breaking&nbsp;» update, so we must not automatically update the clients as it will break everything for them ^^

But we are not at risk of moving to v5 😉

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 9, 2022, 6:15pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/44 "2022-03-09T18:15:28Z")

</div>

I am on v4.7.3

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…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 9, 2022, 6:18pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/45 "2022-03-09T18:18:36Z")

</div>

> [@jgcb00](#):
>
> Yes, I was thinking maybe in 10 years on the same instances who knows!

Either we make no breaking changes in the next 10 years, and we’ll stay on v4 (I’d say that’s great)

If we ever want to change major versions, it’s necessarily that we break something and in that case it makes sense to change the tag.

> [@jgcb00](#):
>
> 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…

Are you using watchtower? How does the Unraid UI work?

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 9, 2022, 6:21pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/46 "2022-03-09T18:21:18Z")

</div>

I don’t use Watchtower, it’s not available on unRAID.  
Does Watchtower update all the containers on the host or only those that are designated to it?

I can port Watchtower to unRAID, it’s particularly easy, is it worth it?

After that, on the UI, I don’t know if «&nbsp;up to date&nbsp;» should be indicated by a configuration or something else, I’ll check.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 9, 2022, 6:23pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/47 "2022-03-09T18:23:06Z")

</div>

> [@jgcb00](#):
>
> Justement je n’utilise pas watchtower, il n’est pas porté sur unraid.  
> Est ce que Watchtower met à jour tout les containeurs de l’host ou seulement ceux qu’on lui désigne ?

Both are possible, you can pass the list of containers to update as arguments to watchtower. By default, it updates everything.

> [@jgcb00](#):
>
> After on the ui I don’t know if the up to date should be indicated by a config or something else, I will look

That’s something to see indeed, I couldn’t help you with that, but it’s good to know!

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [March 9, 2022, 8:58pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/48 "2022-03-09T20:58:46Z")

</div>

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 «&nbsp;Unraid docker auto-updater&nbsp;»)

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 10, 2022, 6:02pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/49 "2022-03-10T18:02:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 15, 2022, 2:41pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/50 "2022-03-15T14:41:20Z")

</div>

For information, I resumed work this afternoon on Unraid/Synology compatibility.

I am working on this PR for those interested:

> <https://github.com/GladysAssistant/Gladys/pull/1469?l>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[x\] If your changes affects code, did your write the tests?
> \- \[x\] Are tests passing? (\`npm test\` on both front/server)
> \- \[x\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[x\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[x\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[x\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> \- \[x\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Add the ability to start the Zigbee2mqtt / MQTT container in the same host volume as Gladys.

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.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 15, 2022, 4:17pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/51 "2022-03-15T16:17:10Z")

</div>

I’ve built a fix (dev, not prod), available on the following Docker tag:

`gladysassistant/gladys:fix-zigbee2mqtt-get-container-id`

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 «&nbsp;classic&nbsp;» testers to verify that it hasn’t broken normal functionality 🙂

The image can be tested like this for example:

````docker
--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 :)
````

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 15, 2022, 5:22pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/52 "2022-03-15T17:22:23Z")

</div>

Great!  
I’ll test this on my side on unraid tonight

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 16, 2022, 5:10pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/53 "2022-03-16T17:10:43Z")

</div>

It’s incredible, it works perfectly, it’s really great!  
Super job!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 17, 2022, 6:03pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/54 "2022-03-17T18:03:06Z")

</div>

You’re talking about Gladys Plus or did you get the topic mixed up with Unraid? 😃

Thanks anyway!

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 17, 2022, 6:08pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/55 "2022-03-17T18:08:12Z")

</div>

I made a mistake with unraid, too many gladys tabs open!  
So it works great with Unraid

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 17, 2022, 6:12pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/56 "2022-03-17T18:12:08Z")

</div>

I just moved your response to the Unraid topic so that it is readable for everyone.

Great 🙂 I will merge tomorrow then.

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 17, 2022, 9:54pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/57 "2022-03-17T21:54:08Z")

</div>

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…

What do you think?

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [March 17, 2022, 10:05pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/58 "2022-03-17T22:05:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jgcb00](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jgcb00/32/5863_2.png) [@jgcb00](https://community.gladysassistant.com/u/jgcb00)\
**Post date:** [March 17, 2022, 10:48pm UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/59 "2022-03-17T22:48:19Z")

</div>

Likewise, it is the default port for Keycloak, less used but it’s still a problem.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [March 18, 2022, 8:07am UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/60 "2022-03-18T08:07:50Z")

</div>

@jgcb00 What would you recommend for port 8080? An environment variable that you would define in the Unraid template?

---

<div class="post-metadata">

**Author:** ![damalgos](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@damalgos](https://community.gladysassistant.com/u/damalgos)\
**Post date:** [March 18, 2022, 11:11am UTC](https://community.gladysassistant.com/t/gladys-sur-unraid/6959/61 "2022-03-18T11:11:04Z")

</div>

For this «&nbsp;issue&nbsp;» 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 «&nbsp;free&nbsp;»), right?

[Previous page](https://community.gladysassistant.com/t/gladys-sur-unraid/6959.md?page=2)

[Next page](https://community.gladysassistant.com/t/gladys-sur-unraid/6959.md?page=4)
