Making z-way-server work on Trixie

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
vbertola
Posts: 7
Joined: 15 Sep 2016 18:26

Making z-way-server work on Trixie

Post by vbertola »

Hello,
I have been running my home heating for ~10 years with a Raspi 2, Z-Wave.me and a custom Perl script using API calls. Today I did something stupid - I updated my Raspi's OS to Trixie before discovering that Z-Wave.me is now a dead project and won't ever get a Trixie repo or version (correct?). So now everything is horribly broken.
Do I have alternatives to going back to my pre-update backup and never updating my Raspi again?
Thanks!
vbertola
Posts: 7
Joined: 15 Sep 2016 18:26

Re: Making z-way-server work on Trixie

Post by vbertola »

By the way: I did try installing the nightly build for Trixie that can be found on Github. However, it has a lot of dependencies that my Trixie Raspbian is not able to satisfy in any way.

Estrazione di z-way-server (5.0.2-291-g47ad5098~trixie-1) su (5.0.2-291-g47ad5098~trixie-1)...
dpkg: problemi con le dipendenze impediscono la configurazione di z-way-server:
z-way-server dipende da libarchive13t64; tuttavia:
Il pacchetto libarchive13t64 non è installato.
z-way-server dipende da libssl3t64; tuttavia:
Il pacchetto libssl3t64 non è installato.
z-way-server dipende da libcares2; tuttavia:
Il pacchetto libcares2 non è installato.
z-way-server dipende da libwebsockets19t64; tuttavia:
Il pacchetto libwebsockets19t64 non è installato.
z-way-server dipende da libmosquitto1; tuttavia:
Il pacchetto libmosquitto1 non è installato.
z-way-server dipende da libcurl4t64; tuttavia:
Il pacchetto libcurl4t64 non è installato.
z-way-server dipende da libglib2.0-0t64; tuttavia:
Il pacchetto libglib2.0-0t64 non è installato.
seattleneil
Posts: 243
Joined: 02 Mar 2020 22:41

Re: Making z-way-server work on Trixie

Post by seattleneil »

I can think of 2 approaches:

1. Safely back up /opt/z-way-server and any other files you want to preserve such as your custom perl script to a USB drive. Then do a fresh re-install of bookworm. Trying to roll back to bookworm from trixie is not productive. Once your Pi is running bookworm, you can then do a fresh install of z-way-server and replace the /opt/z-way-server with the USB drive backup copy.

2. Unlike apt, dpkg does not automatically resolve dependencies. As a result, you need to install each dependency manually. Something like: apt install libarchive libssl libcares2 libwebsockets libmosquitto1 libcurl libglib2.0. Then try to install the nightly trixie build of z-way-server with something like this: dpkg -i z-way-debian-trixie-armhf-5.0.2-291-g47ad5098~trixie-1_armhf.deb. If you're lucky, z-way-server will install successfully. If you get errors that are simply related to versions not being satisfied, you can try to install z-way-server by running this command: dpkg --force-depends -i z-way-debian-trixie-armhf-5.0.2-291-g47ad5098~trixie-1_armhf.deb. If you encounter problems, please post the output from the dpkg command so that other people can benefit from this experience.
Post Reply