Zigbee2mqtt broken after HA and Hassbian upgrade

Hello, yesterday I upgraded my HA from 0.94.5 to 0.97 and my hassbian (on an rpi 3 b+) to latest versions.
I have also had to update raspbian to latest version (from stretch to buster).
After this upgrades all works but zigbee2mqtt.
I had version 1.0.1 of the addon, installed through hassbian-scripts, and everything worked well.
After raspian upgrade I have been starting to see some errors about node.js and the addon refuses to start.
Please see below for node.js log (zigbee2mqtt does log nothing cause it cannot actually start)

-- Logs begin at Fri 2019-08-09 12:53:42 CEST. --
Aug 09 16:21:00 hassbian npm[1645]: npm ERR! Failed at the [email protected] start script.
Aug 09 16:21:00 hassbian npm[1645]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Aug 09 16:21:12 hassbian npm[1645]: npm ERR! A complete log of this run can be found in:
Aug 09 16:21:12 hassbian npm[1645]: npm ERR!     /home/pi/.npm/_logs/2019-08-09T14_20_58_721Z-debug.log
Aug 09 16:21:12 hassbian systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Aug 09 16:21:12 hassbian systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Aug 09 16:21:12 hassbian systemd[1]: zigbee2mqtt.service: Service RestartSec=100ms expired, scheduling restart.
Aug 09 16:21:12 hassbian systemd[1]: zigbee2mqtt.service: Scheduled restart job, restart counter is at 74.
Aug 09 16:21:12 hassbian systemd[1]: Stopped zigbee2mqtt.
Aug 09 16:21:12 hassbian systemd[1]: Started zigbee2mqtt.
Aug 09 16:22:45 hassbian npm[1695]: > [email protected] start /opt/zigbee2mqtt
Aug 09 16:22:45 hassbian npm[1695]: > node index.js
Aug 09 16:22:45 hassbian npm[1695]:                 Zigbee2mqtt requires node version 8.11 - 10, you are running v11.15.0!
Aug 09 16:22:47 hassbian npm[1695]:   zigbee2mqtt:info 8/9/2019, 4:22:47 PM Logging to directory: '/opt/zigbee2mqtt/data/log/2019-08-09.16-22-46'
Aug 09 16:22:48 hassbian npm[1695]: /opt/zigbee2mqtt/node_modules/bindings/bindings.js:88
Aug 09 16:22:48 hassbian npm[1695]:         throw e
Aug 09 16:22:48 hassbian npm[1695]:         ^
Aug 09 16:22:48 hassbian npm[1695]: Error: The module '/opt/zigbee2mqtt/node_modules/serialport/build/Release/serialport.node'
Aug 09 16:22:48 hassbian npm[1695]: was compiled against a different Node.js version using
Aug 09 16:22:48 hassbian npm[1695]: NODE_MODULE_VERSION 57. This version of Node.js requires
Aug 09 16:22:48 hassbian npm[1695]: NODE_MODULE_VERSION 67. Please try re-compiling or re-installing
Aug 09 16:22:48 hassbian npm[1695]: the module (for instance, using `npm rebuild` or `npm install`).
Aug 09 16:22:48 hassbian npm[1695]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:857:18)
Aug 09 16:22:48 hassbian npm[1695]:     at Module.load (internal/modules/cjs/loader.js:685:32)
Aug 09 16:22:48 hassbian npm[1695]:     at Function.Module._load (internal/modules/cjs/loader.js:620:12)
Aug 09 16:22:48 hassbian npm[1695]:     at Module.require (internal/modules/cjs/loader.js:723:19)
Aug 09 16:22:48 hassbian npm[1695]:     at require (internal/modules/cjs/helpers.js:14:16)
Aug 09 16:22:48 hassbian npm[1695]:     at bindings (/opt/zigbee2mqtt/node_modules/bindings/bindings.js:81:44)
Aug 09 16:22:48 hassbian npm[1695]:     at Object.<anonymous> (/opt/zigbee2mqtt/node_modules/serialport/lib/bindings/linux.js:2:36)
Aug 09 16:22:48 hassbian npm[1695]:     at Module._compile (internal/modules/cjs/loader.js:816:30)
Aug 09 16:22:48 hassbian npm[1695]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
Aug 09 16:22:48 hassbian npm[1695]:     at Module.load (internal/modules/cjs/loader.js:685:32)
Aug 09 16:22:48 hassbian npm[1695]: npm ERR! code ELIFECYCLE
Aug 09 16:22:48 hassbian npm[1695]: npm ERR! errno 1
Aug 09 16:22:48 hassbian npm[1695]: npm ERR! [email protected] start: `node index.js`
Aug 09 16:22:48 hassbian npm[1695]: npm ERR! Exit status 1
Aug 09 16:22:48 hassbian npm[1695]: npm ERR!

The problem is the node.js version installed compared to the version the addon supports.

Do you something similar?
How can we solve?

Thanks

…UP…
Thanks

UP
Anyone else has experienced these problems…???

This seems to be the problem

Latest version of zigbee2mqtt is 1.5.1 so you should update addon or downgrade nodejs

Yes, I thought this too…
I installed z2m via hassbian script so I don’t know if I can follow the official installation instructions or not…
I think I could uninstalla the addon and then follow them…but I’d not actually want mess all the things up.

If you’re using Hassbian, it’s not an add-on :wink:

That said, you can absolutely just uninstall it and follow the manual install guide. I’d also advise you to open an issue so the developer of the Hassbian scripts can ensure the right version of NodeJS is used.

Yes I meant script, not addon… :slight_smile:
Can I also uninstall the updated node version w/o risks at all?
On my hassbian I have only ha and some…scripts and custom components
Thanks

It can’t break Home Assistant. Whether it breaks any of your other software you’re running I can’t even guess. If you’re not using anything else that uses NodeJS then you should be fine.

I’m using some custom components (for example one for ceiling fun) that I’m sure make using of nodejs…It worked with the old ha and hassbian version and it’s working even now…