how to rollback zigbee2mqtt to previous version ?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Dave21w
Posts: 406
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

how to rollback zigbee2mqtt to previous version ?

Post by Dave21w »

I realise this this is not a z2m support forum but just wondered if anyone has done this and if so how. I have an issue with my Aqara switches which has now been flagged and will be fixed in the next stable release however I've only just moved to 1.34 so now a bit concerend what unknown bugs may be in the next version.

I looked here as apparently the dev branch already has the fix but this doesn't actually work

https://www.zigbee2mqtt.io/advanced/mor ... ranch.html

Complains about line 10 "git checkout dev # Change 'dev' to 'master' to switch back to the release version" and this is mentioned by quite a few other people too.

I have found this

https://github.com/Koenkk/zigbee2mqtt/issues/1517

But it's from quite some time ago so I'm a bit concerned that even if I change to the correct version number I want the instructions may not be correct as the dev branch info is much newer and that doesn't wotk either, don't want to break it anymore than it already is !

Thanks
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: how to rollback zigbee2mqtt to previous version ?

Post by waltervl »

What installation method did you use? Docker or another?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 406
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: how to rollback zigbee2mqtt to previous version ?

Post by Dave21w »

Just normal, I only run Domoticz, Mosquitto and Z2M on my Pi, it's a 3B+ so way overpowered for just those I know.
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: how to rollback zigbee2mqtt to previous version ?

Post by waltervl »

What is normal? https://www.zigbee2mqtt.io/guide/installation/

If you did the Linux installation the update command would probably take you back to the latest released stable version
https://www.zigbee2mqtt.io/guide/instal ... st-version
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 406
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: how to rollback zigbee2mqtt to previous version ?

Post by Dave21w »

Yes standard linux install, I'm on the latest stable which is 1.34, this was released 1st Dec and I've only just upgraded to it and now found it has a bug, I want to go back to 1.33 which is what I was on before.
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: how to rollback zigbee2mqtt to previous version ?

Post by Kedi »

If you search google for "git rollback to previous version" or "git reverting to previous version" or "git restore to previous version" you will find your answer, at least if you update by git.
On the commit page you can look for the commit you want to revert to.
mostly around the beginning of the month, so around 1 november.
Logic will get you from A to B. Imagination will take you everywhere.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest