Page 1 of 1

how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 10:38
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

Re: how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 12:38
by waltervl
What installation method did you use? Docker or another?

Re: how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 13:38
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.

Re: how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 14:56
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

Re: how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 16:04
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.

Re: how to rollback zigbee2mqtt to previous version ?

Posted: Saturday 30 December 2023 19:02
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.