ZoneMinder 1.32.3 - Can't connect from OH

Has anyone managed to successfully connect to version 1.32.3 of ZoneMinder using the binding shipped out with version 2.5 of OH?

1 Like

The included binding will not work with 1.32. You will need to downgrade to 1.29 and use the included binding or upgrade to 1.34 and use this binding:

I will assume you are running Zoneminder on a raspberry pi. You can upgrade to 1.34 with these steps:
Add the repo

sudo nano /etc/apt/sources.list

Add the following line to the end of the file

deb Index of /debian/release-1.34/buster

CTRL+o then [Enter] to save

CTRL+x to exit

sudo apt update

Update the database with

sudo zmupdate.pl

Restart the Zoneminder box and youā€™re there. You will then need to remove your existing Zoneminder binding and add the new one manually.

2 Likes

Tried to follow your steps to upgrade but ended up with this error message:

pi@zoneminder:~ $ sudo apt update

Hit:1 Index of /debian buster InRelease
Ign:2 Index of /debian/release-1.34 buster/ InRelease
Get:3 Index of /debian/release-1.34 buster/ Release [1,184 B]
Get:4 Index of /debian/release-1.34 buster/ Release.gpg [516 B]
Ign:4 Index of /debian/release-1.34 buster/ Release.gpg
Reading package listsā€¦ Done
W: GPG error: Index of /debian/release-1.34 buster/ Release: The following signatures couldnā€™t be verified because the public key is not available: NO_PUBKEY E79BFCE5B2268263
E: The repository ā€˜Index of /debian/release-1.34 buster/ Releaseā€™ is not signed.
N: Updating from such a repository canā€™t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@zoneminder:~ $

I also tried

sudo apt-get update --allow-unauthenticated

but without success. Any idea how I can fix this error?

Try this:

Install the following and retrieve the key from the repro

sudo apt install apt-transport-https gnupg

wget -O - https://zmrepo.zoneminder.com/debian/archive-keyring.gpg | sudo apt-key add -

Important - Make sure the above ā€œwgetā€ process completes without error! If it does not complete you will not get the most recent Zoneminder version this procedure is written for.

I tried and retrieved the key from the repro but ended up with following result:

pi@zoneminder:~ $ sudo apt update

Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Ign:2 https://zmrepo.zoneminder.com/debian/release-1.34 buster/ InRelease
Hit:3 https://zmrepo.zoneminder.com/debian/release-1.34 buster/ Release
Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
2 packages can be upgraded. Run ā€˜apt list --upgradableā€™ to see them.

pi@zoneminder:~ $ sudo apt upgrade

Reading package listsā€¦ Done
Building dependency tree
Reading state informationā€¦ Done
Calculating upgradeā€¦ Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So, no error but no upgrade either.

I got the instructions from:
https://wiki.zoneminder.com/Debian_10_Buster_with_Zoneminder_1.34.x_from_ZM_Repo
I think the next step would be to go to the
Install Zoneminder
line and follow from there.