Replies: 4 comments 8 replies
-
Lines 56 to 148 in 2e36b90 |
Beta Was this translation helpful? Give feedback.
-
ahhh great - thanks a lot :) |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, Zigbee2MQTT have also added their own update script. When I want to update z2m, I just go to /opt/zigbee2mqtt and run ./update.sh. |
Beta Was this translation helpful? Give feedback.
-
I can't update Z2M in Alpine. I tried running apk update but I'm still at version [1.34.0], but the latest version is 1.37.1. Can anyone help me? |
Beta Was this translation helpful? Give feedback.
-
Hi:)
Would it be possible to make a script for "automating" z2m update?
The commands are like this
Stop Zigbee2MQTT and go to directory
sudo systemctl stop zigbee2mqtt
cd /opt/zigbee2mqtt
Backup configuration
cp -R data data-backup
Update
git pull
npm ci
Restore configuration
cp -R data-backup/* data
rm -rf data-backup
Start Zigbee2MQTT
sudo systemctl start zigbee2mqtt
The whole TTECK site is great with a lot of neat scripts - but it is a little tricky to update Z2M - therefor a script would be nice:)
Beta Was this translation helpful? Give feedback.
All reactions