Update to newest version failed

In Linux I wanted to update from 1.29.2 to the newest version with

cd /opt/zigbee2mqtt
./update.sh

but I get this error:

error: Your local changes to the following files would be overwritten by merge:
package-lock.json
Please commit your changes or stash them before you merge.

What can I do?

Just a quick reply here (not tested, but obviously some file got changed on your disk).

Try to run this:

cd /opt/zigbee2mqtt
git stash
git stash drop

This will discard all the changes made on your disk.
Now the update should work:

cd /opt/zigbee2mqtt
./update.sh

that did the trick. Thanks :slight_smile:

1 Like