# Mosquitto v2.0.15 statt latest oder v2.0.18

**URL:** <https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835>\
**Category:** Configuration\
**Created:** [17. April 2024 um 07:58 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835 "2024-04-17T07:58:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![McFlyPartages](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mcflypartages/32/15670_2.png) [@McFlyPartages](https://community.gladysassistant.com/u/McFlyPartages)\
**Post date:** [17. April 2024 um 07:58 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/1 "2024-04-17T07:58:41Z")

</div>

Hallo zusammen,

Ich habe gerade festgestellt, dass die Mosquitto-Version v2.0.15 und nicht die neueste Version ist, wie die meisten von Gladys erstellten Container.

Aktuell ist Mosquitto in Version 2.0.18, die mehrere (8) Sicherheitslücken behebt.

V2.0.15

 ![Bildschirmfoto vom 2024-04-17 09-55-46](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/0655717208da289d946aa4e4a546940f6f2bc128.png)

v2.0.18

 ![Bildschirmfoto vom 2024-04-17 09-56-08](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/ca87eadfb27310c6b82aa0da4e09607f2249dc5b.png)

Gibt es dafür einen Grund?  
(Persönlich mag ich es, die Container-Versionen zu sehen und darauf zugreifen zu können, denn manchmal sind Updates nicht vollständig, z. B. Z2MQTT, das einige Geräte verliert)

Vielen Dank im Voraus

Hier ist ein Pull Request, aber da ich die Entwicklerfunktionen nicht eingerichtet habe, habe ich nicht getestet. Die einzige Änderung ist die MQTT-Version, es gibt keine Code-Änderungen

> <https://github.com/GladysAssistant/Gladys/pull/2053>
>
> \### 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:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] 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 (\[french forum\](https://community.gladysassistant.com/)/\[english forum\](https://en-community.gladysassistant.com/)) for testing before merging.
> \- \[\] 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
> 
> Just update version of MQTT Brocker v2.0.15 to 2.0.18.
> 
> https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835

---

<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:** [17. April 2024 um 11:31 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/2 "2024-04-17T11:31:41Z")

</div>

Ich habe nicht drauf geachtet, aber es wäre eine gute Praxis, kein «&nbsp;latest&nbsp;» bei Docker-Images zu verwenden.

Wenn man «&nbsp;blind&nbsp;» aktualisiert, wird es eines Tages nicht funktionieren, genau wegen eines Versionsupdates eines anderen Containers, das übrigens das System ruinieren kann, wenn es «&nbsp;breaking changes&nbsp;» gibt.

Meiner Meinung nach sollte man also jedes Mal ein Ticket für das Docker-Versionsupdate erstellen und prüfen, ob es mit Gladys kompatibel ist.

---

<div class="post-metadata">

**Author:** ![McFlyPartages](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mcflypartages/32/15670_2.png) [@McFlyPartages](https://community.gladysassistant.com/u/McFlyPartages)\
**Post date:** [17. April 2024 um 13:50 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/3 "2024-04-17T13:50:32Z")

</div>

Derzeit ist abgesehen von Mosquitto (auf meiner Instanz mit nur Zigbee2MQTT und Mosquitto) nur Mosquitto in einer nummerierten Version, der Rest ist in „latest“. Ich glaube, das ist für Watchover, aber ich bestätige, dass die Version möglicherweise das Beste ist, was man tun kann.

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [17. April 2024 um 16:25 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/4 "2024-04-17T16:25:16Z")

</div>

Es gab einen Bug in Version 16, also haben wir das Bild auf Version 15 fixiert

> [@Verbindungsproblem mit MQTT nach Mosquitto-Aktualisierung durch Watchtower](https://community.gladysassistant.com/t/probleme-connexion-a-mqtt-apres-mise-a-jour-de-mosquitto-par-watchtower/8291/30?u=cicoub13):
>
> Salut à tous ! J’ai eu d’autres échos que les intégrations Zigbee2mqtt / et MQTT ne fonctionnaient plus lors d’une nouvelle installation. J’ai fais le test par moi même, et j’arrive au même résultat, sur une installation fraîche, l’installation ne marche plus: configureContainer.js:26 (MqttHandler.configureContainer) MQTT broker Docker container is being configured... configureContainer.js:43 (MqttHandler.configureContainer) Writting default eclipse-mosquitto configuration... installContai…

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [19. April 2024 um 06:27 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/5 "2024-04-19T06:27:14Z")

</div>

Aber es lohnt sich, die 2.0.18 zu testen, ja, danke für dein PR

---

<div class="post-metadata">

**Author:** ![McFlyPartages](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mcflypartages/32/15670_2.png) [@McFlyPartages](https://community.gladysassistant.com/u/McFlyPartages)\
**Post date:** [19. April 2024 um 07:03 UTC](https://community.gladysassistant.com/t/mosquitto-v2-0-15-au-lieu-de-latest-ou-v2-0-18/8835/6 "2024-04-19T07:03:28Z")

</div>

Ja, ich habe ein bisschen überstürzt einen PR gemacht, entschuldige. Beim nächsten Mal werde ich mich mehr anstrengen.
