Hi
Hope you can help with my queries:
Currently I have a Pi2+ running NOOBS Raspian with Razberry daughter card with around 70 devices.
I am stuck upgrading the firmware from V2.3.7 as the repository does not support the UI. ( =I have been slow on the update due to it never working for me but now know I need to bring the setup into this decade).
Naturally I do not want to break any part of my setup as tht would be soul-destroying.
My queries are:
1 - how can I upgrade to the latest possible version with my current setup, then
2 - what would be my vest option to migrate the whole setup onto new hardware safely?
Below is the terminal response from a failed update.
Thank you in advance.
----------------------------------------------------------------------------------------------
pi@raspberrypi ~ $ sudo apt-get update && apt-get upgrade
Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
Get:2 http://archive.raspberrypi.org jessie/main Sources [57.1 kB]
Get:3 http://archive.raspberrypi.org jessie/ui Sources [17.1 kB]
Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [58.6 kB]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie InRelease
Ign http://mirrordirector.raspbian.org jessie Release.gpg
Ign http://mirrordirector.raspbian.org jessie Release
Err http://mirrordirector.raspbian.org jessie/main armhf Packages
404 Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/contrib armhf Packages
404 Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/non-free armhf Packages
404 Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/rpi armhf Packages
404 Not Found [IP: 93.93.128.193 80]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 326 kB in 51s (6,352 B/s)
W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... f/Packages 404 Not Found [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... f/Packages 404 Not Found [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... f/Packages 404 Not Found [IP: 93.93.128.193 80]
W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... f/Packages 404 Not Found [IP: 93.93.128.193 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
----------------------------------------------------------------------------------------------
Upgrade Options without breaking Anything!
Re: Upgrade Options without breaking Anything!
Jessie is not supported for quite some time. The easiest would be to make a fresh install of Raspberry OS (Bullseye), copy the /opt/z-way-server folder, /etc/zbw and /etc/init.d/zbw_connect and then run the installation command as described on the site. It will upgrade Z-Way keeping your data
-
- Posts: 16
- Joined: 15 Jan 2023 19:08
Re: Upgrade Options without breaking Anything!
That's fantastic - thank you for your quick response. Presumably the same applies when I upgrade my hardware to the latest Razberry setup?
Re: Upgrade Options without breaking Anything!
Well you would need to make a backup of the controller since the actual z-wave devices are associated with it and are stored on the controller itself.harveybabes wrote: ↑16 Jan 2023 13:34That's fantastic - thank you for your quick response. Presumably the same applies when I upgrade my hardware to the latest Razberry setup?
Re: Upgrade Options without breaking Anything!
This is exactly what I've been looking out for. Thank you all!
-
- Posts: 16
- Joined: 15 Jan 2023 19:08
Re: Upgrade Options without breaking Anything!
Hi All
Thanks again for your advice - I have done what was advised but after a successful uograde port 8083 is now not working / open / listening. I have updated the interfaces as per another thread but it did not help:
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.10.5
gateway 192.168.10.1
netmask 255.255.255.0
All of the files and folders were successfully backed up from my Jessie setup but now the Bullseye upgrade is not happy.
I have read a bunch of similar issues on the forum but cannot locate the correct solution.
When I log on via the LAN:8083 I see a white page with writing such as below with unselectable black icons:
{{_t('nav_apps')}}
{{_t('nav_devices')}}
{{_t('customize')}}
{{_t('nav_myaccess')}}
{{_t('management')}}
{{_t('news')}}
{{_t('my_hubs')}}
{{_t('nav_logout')}}
Please can you advise me as now I have a system which is not working whatsoever?
Thank you
Thanks again for your advice - I have done what was advised but after a successful uograde port 8083 is now not working / open / listening. I have updated the interfaces as per another thread but it did not help:
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.10.5
gateway 192.168.10.1
netmask 255.255.255.0
All of the files and folders were successfully backed up from my Jessie setup but now the Bullseye upgrade is not happy.
I have read a bunch of similar issues on the forum but cannot locate the correct solution.
When I log on via the LAN:8083 I see a white page with writing such as below with unselectable black icons:
{{_t('nav_apps')}}
{{_t('nav_devices')}}
{{_t('customize')}}
{{_t('nav_myaccess')}}
{{_t('management')}}
{{_t('news')}}
{{_t('my_hubs')}}
{{_t('nav_logout')}}
Please can you advise me as now I have a system which is not working whatsoever?
Thank you
Re: Upgrade Options without breaking Anything!
What browser are you using? From the sounds of it, it is not able to render the page properly.
-
- Posts: 16
- Joined: 15 Jan 2023 19:08
Re: Upgrade Options without breaking Anything!
I ran wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash again and cleared browser caches (firefox and chrome). i have no idea why it was not behaving but now all is good!
Thanks to all
-
- Posts: 16
- Joined: 15 Jan 2023 19:08
Re: Upgrade Options without breaking Anything!
Hi Dan - I spoke too soon. I have lost connection after thinking it's best to make an img of the setup and writing that img to the sd card to test it is rebust.
I have down a clean install and followed the same procedure i.e.:
1 - backed up said file and folders
2 - install Bullseye from https://z-wave.me/z-way/download-z-way/
3 - update interfaces config
4 - run wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash
now on https://find.z-wave.me/ after clicking the IP address for 'Direct connect to Z-way" it is hanging on "waiting for find.z-wave.me..."
EDIT: I am unable to connect to the UI via the browser using th LAN or WAN IP addresses. Both ports 8083 and 8084 are open. I can connect via SSH
How can it work one moment and then this? If I need to send any log files I would be delighted to!
Any ideas?
TIA
I have down a clean install and followed the same procedure i.e.:
1 - backed up said file and folders
2 - install Bullseye from https://z-wave.me/z-way/download-z-way/
3 - update interfaces config
4 - run wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash
now on https://find.z-wave.me/ after clicking the IP address for 'Direct connect to Z-way" it is hanging on "waiting for find.z-wave.me..."
EDIT: I am unable to connect to the UI via the browser using th LAN or WAN IP addresses. Both ports 8083 and 8084 are open. I can connect via SSH
How can it work one moment and then this? If I need to send any log files I would be delighted to!
Any ideas?
TIA
-
- Posts: 16
- Joined: 15 Jan 2023 19:08
Re: Upgrade Options without breaking Anything!
#### SOLVED ####
After having many failed attempts of trying the following method:
1 - backed up said file and folders
2 - install Bullseye from https://z-wave.me/z-way/download-z-way/
3 - update interfaces config & backed up files
4 - run wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash
5 - and trying 3 recent releases using sudo dpkg -i z-way-x.x.x_armhf.deb method
(I know a little about this but am in no way an expert so all was trial and error in the end). I was left with port 8083 closed and only some of my devices visible in the browser UI if it did work randomly. I was ready to give up...
SOLUTION:
1 - install Bullseye img
2 - copy backed up /opt/z-way-server folder, /etc/zbw folder and /etc/init.d/zbw_connect (chown & chgrp) to correct locations
3 - sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.x.x
gateway 192.168.x.x
netmask 255.255.255.0
4 - PKG=z-way-4.0.2_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG
After having many failed attempts of trying the following method:
1 - backed up said file and folders
2 - install Bullseye from https://z-wave.me/z-way/download-z-way/
3 - update interfaces config & backed up files
4 - run wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash
5 - and trying 3 recent releases using sudo dpkg -i z-way-x.x.x_armhf.deb method
(I know a little about this but am in no way an expert so all was trial and error in the end). I was left with port 8083 closed and only some of my devices visible in the browser UI if it did work randomly. I was ready to give up...
SOLUTION:
1 - install Bullseye img
2 - copy backed up /opt/z-way-server folder, /etc/zbw folder and /etc/init.d/zbw_connect (chown & chgrp) to correct locations
3 - sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.x.x
gateway 192.168.x.x
netmask 255.255.255.0
4 - PKG=z-way-4.0.2_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG