Zwave JS UI Server Upgrade without docker for x86-64 platforms

“BELOW UPGRADES THE ZWAVE JS SERVER.”


sudo apt update

sudo apt upgrade -y

sudo apt autoremove -y


cd ~

sudo systemctl stop zwavejs.service

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

cd zwave-js-ui
# download latest version
curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest  \
| grep "browser_download_url.*linux.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
unzip -o zwave-js-ui-v*.zip

rm zwave-js-ui-v*.zip

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

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

sudo apt-get install g++-multilib -y

sudo systemctl start zwavejs.service

sudo reboot

“BELOW MANUALLY STARTS THE SERVER IN YOUR TERMINAL”

cd
cd zwave-js-ui

sudo systemctl stop zwavejs.service

./zwave-js-ui

zwavejs2mqtt doesn’t exist anymore. The project was renamed to zwave-js-ui.

I know currently updating some some stuff is all if you noted the title