Zwave JS UI Server Upgrade without docker for ARM platforms

“UPGRADING THIS INSTALL HARSH”

“This copies your user files to the pi document folder deletes the zwavejs2mqtt folder and does a full blown reinstall and then copies your user files back and starts interviews from scratch after the reboot.”

“This reboots the server so it can run as a service vs doing a npm start that shuts down when you exit the terminal.”

“NOTE: If it does not reboot then it did not update ZwaveJS portion just rerun the upgrade to complete the upgrade sequence.”

cd

sudo apt update

sudo apt upgrade -y

sudo apt autoremove -y

killall node

mkdir /home/pi/Documents/store/

sudo cp -r /home/pi/zwave-js-ui/store/nodes.json /home/pi/Documents/store

sudo cp -r /home/pi/zwave-js-ui/store/settings.json /home/pi/Documents/store

sudo cp -r /home/pi/zwave-js-ui/store/users.json /home/pi/Documents/store

sudo cp -r /home/pi/zwave-js-ui/store/backups/ /home/pi/Documents/store


sudo rm -r zwave-js-ui

cd

mkdir zwave-js-ui

git clone https://github.com/zwave-js/zwave-js-ui

sudo cp -r /home/pi/Documents/store/ /home/pi/zwave-js-ui/

sudo chmod -R ugo+rw /home/pi/zwave-js-ui/

cd zwave-js-ui

npm install

npm run build ; sudo reboot

Outdated NodeJS error try this link

NodeSource Node.js Binary Distributions