z-way-server new release
-
Lagging a little here but I just upgraded my z-way-server version and couldn't find much information on their website or even forum.
What is interesting for the ubuntu/debian version is that it is now released as a .deb package making upgrades much easier. I just downloaded the package and ran:
dpkg -i z-way-*.deb
and nothing else. The previous versions required some manual work since it was just a bunch of files for us to overwrite our installations.
From the release note, there could be interesting things for some folks here. It is a pretty long list compared to the previous incremental release.
-
This didn't work for me, this is the print after running dpkg:
Selecting previously unselected package z-way-server. (Reading database ... 153903 files and directories currently installed.) Preparing to unpack z-way-3.1.2_amd64.deb ... Stopping z-way-server: done. Unpacking z-way-server (3.1.2) ... dpkg: dependency problems prevent configuration of z-way-server: z-way-server depends on libwebsockets15; however: Package libwebsockets15 is not installed. dpkg: error processing package z-way-server (--install): dependency problems - leaving unconfigured Processing triggers for systemd (241-7~deb10u4) ... Errors were encountered while processing: z-way-server
also saw the same as when i tried to install it the old way:
● z-way-server.service - LSB: Z-Way service Loaded: loaded (/etc/init.d/z-way-server; generated) Active: active (exited) since Wed 2021-01-20 23:36:28 CET; 2 weeks 3 days ago Docs: man:systemd-sysv-generator(8) Tasks: 0 (limit: 4513) Memory: 0B CGroup: /system.slice/z-way-server.service
Seems to be missing
libwebsockets15
, but it says there is no release candidate? -
This didn't work for me, this is the print after running dpkg:
Selecting previously unselected package z-way-server. (Reading database ... 153903 files and directories currently installed.) Preparing to unpack z-way-3.1.2_amd64.deb ... Stopping z-way-server: done. Unpacking z-way-server (3.1.2) ... dpkg: dependency problems prevent configuration of z-way-server: z-way-server depends on libwebsockets15; however: Package libwebsockets15 is not installed. dpkg: error processing package z-way-server (--install): dependency problems - leaving unconfigured Processing triggers for systemd (241-7~deb10u4) ... Errors were encountered while processing: z-way-server
also saw the same as when i tried to install it the old way:
● z-way-server.service - LSB: Z-Way service Loaded: loaded (/etc/init.d/z-way-server; generated) Active: active (exited) since Wed 2021-01-20 23:36:28 CET; 2 weeks 3 days ago Docs: man:systemd-sysv-generator(8) Tasks: 0 (limit: 4513) Memory: 0B CGroup: /system.slice/z-way-server.service
Seems to be missing
libwebsockets15
, but it says there is no release candidate?try installing this (assuming you are using a debian/raspbian/ubuntu base):
sudo apt-get install libc-ares2 libwebsockets-dev
it is possible that your linux installation is missing some dependencies. Just need to track down which packages has them and install them.
-
What linux distribution are you running? It looks like the repository it is pinging is quite old.
I am running ubuntu20.04 and this is what it has
https://pkgs.org/download/libwebsockets15This is the archlinux version:
https://aur.archlinux.org/packages/libwebsockets15/If you are on Debian, it looks like the version 15 doesn't exist, I would therefore trying installing libwebsockets16 and create a symbolic link to use the newer library instead:
sudo apt-get install libwebsockets16 sudo ln -s /usr/lib/x86_64-linux-gnu/libswebsockets.so.16 /usr/lib/x86_64-linux-gnu/lib/libwebsockets.so.15
You just have to know where your library is as the location may vary depending on the distro
-
-
I made a docker that works well here: https://hub.docker.com/r/perhu/z-way-server-3-1-3
My first attempt at building an image, let me know if it's not working.
-
I made a docker that works well here: https://hub.docker.com/r/perhu/z-way-server-3-1-3
My first attempt at building an image, let me know if it's not working.
@perh
@PerH I tried your image with a docker run command because the Docker version on my Synology is 18.09.8 and doesnt support the version of compose file you posted in the zway forum. The image runs and I can see the UZB stick but it gets errors in the settings such as "Can't intialize remote access data." and the time zone wont save. The zddx directory is empty also. Any thoughts? -
Actually, i have never gotten to save timezone data in the GUI of Z-Way.. So thats not because of the docker at least..
Remote access is a plugin you have to set up - i think? never used it myself. I think I asked poltos about the error message when going into settings, and he said that it will always be there when you havent set up remote access.
I dont have my installation in front of me, but i think zddx fills when you have devices set up, if you only have a stick now, mabye it'll come when you add devices?
regarding docker compose, i guess you have to backport some of the functions. I know there is some info on that in docker documentation. But the run command done correctly should do exactly the same, but it can be long in some instances.