openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
818 stars 251 forks source link

Zigbee2MQTT Update to newest Version #1739

Closed blackpeat closed 1 year ago

blackpeat commented 1 year ago

Hi,

I use Zigbee2MQTT via the openhabian-config Installation. But as far as I've seen Zigbee2MQTT is not updated to the newest Version (1.28.2) via the Update Openhabian in Openhabian-config.

What is the correct way to Update Zigbee2MQTT?

Is it missing in the update or is there an extra step that is needed?

Thanks in advance an extra step is fine but it would be nice to know.

Larsen-Locke commented 1 year ago

See menu 2A under 20 optional components.

blackpeat commented 1 year ago

Oh, quite easy to find. Started it but it didn't run through. Will later add more informations.

Larsen-Locke commented 1 year ago

Please also make sure that you selected main in 01_select_branch so that you have the latest bug-fix version of zigbee2mqtt install routine. If it fails we have to do the steps manually to find the problem

blackpeat commented 1 year ago

Hi @Larsen-Locke

Hope the Debuglog helps to find something. As far as I've Know i dind not chnage anything in package-lock.json only in the config

`2022-11-14_21:43:16_CET [openHABian] Updating Linux package information... + kill -0 3296

$ cd /opt/zigbee2mqtt

$ systemctl stop zigbee2mqtt

$ sudo -u openhabian cp -R data data-backup

$ sudo -u openhabian git pull

Larsen-Locke commented 1 year ago

Please remove package_lock.json from /opt/zigbee2mqtt and try again.

blackpeat commented 1 year ago

Worked thanks @Larsen-Locke

mstormi commented 1 year ago

please close if you think the issue is solved