Page 1 of 1

pi4 bullseye 1.36 arm64

Posted: Sat Nov 13, 2021 1:17 pm
by cyclic
Hi Bill,
I am a long term user of zoneminder on pi4 using armhf
pios has now gone to bulleye
I am now pios64
Its arm64 lists zoneminder but only at 1.34.23-1
I am following your wiki https://wiki.zoneminder.com/Debian_11_B ... der_1.36.x "loosely"
Changed to:
1. apt install apache2 mariadb-server php libapache2-mod-php php-mysql first
2. vi /etc/mysql/mariadb.conf.d/50-server.cnf
no [mysql] so put additions [mysqld]
innodb_file_per_table = ON
innodb_buffer_pool_size = 256M
innodb_log_file_size = 32M
(there were typos in 1st line - space in name and
in 3rd line - should be = ((I assume)) )
3. service mysql restart
4. Then there was no arm64 build in bulleye so I looked in buster as you did
But also no arm64 for 1.36.10 or 7 or 5 or 3

I.E I can find no 1.37 arm64 builds for buster or bullseye in zmrepo

Do you have any influence with boss of zmrepo to get arm64 built for 1.36.7
Given that the raspberry pi debian is now bullseye
It would seem more sensible to go direct to bulleye would it not?

I am happy to try the process for you if that helps

Re: pi4 bullseye 1.36 arm64

Posted: Mon Nov 15, 2021 4:00 am
by iconnor
Now that raspbian has gone to bullseye I may be bothered to setup builds for it. Honestly though I'm waiting for it all to settle a bit. My 32bit install of bullseye is not what I would call stable.

pi4 + bullseye can't do kodi or youtube.

pi4 + buster can't do youtube these days either (recent bug).


When it settles then I will be bothered to support it.

Re: pi4 bullseye 1.36 arm64

Posted: Mon Nov 15, 2021 2:39 pm
by cyclic
Thanks for your reply and for all the good work you are doing.

These days I run Zm alone on a "lite" os i.e. no desktop.
Live and stable pi4 for 3 years or so.
So kodi and youtube would not figure on a Zm server such as mine.

Currently pi4-8G / pios32 headless with Samsung-T5-SSD.
Putting in a new pi4 with the new increased clock and switching to 64bit,
which is setup and stable for me.

Hope I will be able to go forward to Zm-1.36 soon.

Re: pi4 bullseye 1.36 arm64

Posted: Wed Oct 26, 2022 1:42 pm
by cyclic
I note in the news blog that you recommend not using older than 1.36.
The pios64 has been at official full release for at least 9 months and is fully stable.
I like most others have transitioned to 64 not least for its improved performance over 32bit.
(which would be very helpful for zm users)

There is no 64bit version in the repository though a 32 bit version is there at an out of date version.

Is there any possibly way to a 64bit package for arm ?
e.g. from anywhere

Re: pi4 bullseye 1.36 arm64

Posted: Wed Oct 26, 2022 3:49 pm
by iconnor
That's funny because yesterday I put the 64bit version in place at zmrepo.zoneminder.com. I havn't actually testing it yet... will do so today, but update and see if you get it. There may be versioning difference causing it to not install. Use apt-cache madison zoneminder to see what's available.

Re: pi4 bullseye 1.36 arm64

Posted: Thu Oct 27, 2022 1:59 pm
by cyclic
Many thanks.
Nearly there.
Using clean pios 64bit
~Doc Easy Way ....
wget 1.36.31....
gdebi ....
failed at setting up zoneminder...

++++++++++
Setting up zoneminder (1.36.31-bullseye1) ...
detected systemd
Detected db service is mariadb.service
Checking for db
Db exists.
Updating permissions for user zmuser@localhost
DBD::mysql::st execute failed: Table 'zm.Config' doesn't exist at /usr/share/perl5/ZoneMinder/Config.pm line 98.
Can't execute: Table 'zm.Config' doesn't exist at /usr/share/perl5/ZoneMinder/Config.pm line 150.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150.
Compilation failed in require at /usr/bin/zmupdate.pl line 74.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74.
Error updating db.
dpkg: error processing package zoneminder (--install):
installed zoneminder package post-installation script subprocess returned error exit status 1
Processing triggers for mailcap (3.69) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
zoneminder
+++++++++++

Re: pi4 bullseye 1.36 arm64

Posted: Thu Oct 27, 2022 2:16 pm
by cyclic
Additional:
sudo apt-cache madison zoneminder
zoneminder | 1.34.23-1 | http://deb.debian.org/debian bullseye/main arm64 Packages

Re: pi4 bullseye 1.36 arm64

Posted: Sat Oct 29, 2022 2:15 pm
by cyclic
First pi4 (Clean pios 64) ::
----------------------------------------------
sudo apt-cache madison zoneminder
Shows: zoneminder | 1.34.23-1 | http://deb.debian.org/debian bullseye/main arm64 Packages

Installing on the first pi4-1st is still problematic but much improved by better attention to other packages that might be dependencies.
At present it drops out from zmupdate.pl with "bad usage"
just after message

Updating permissions for user zmuser@localhost
Please give a valid option

Any ideas ?



Second pi4 (Mature pios64 installation >1 year ago but up to date) ::
----------------------------------------------------------------------------------------------------
sudo apt-cache madison zoneminder
Also shows : zoneminder | 1.34.23-1 | http://deb.debian.org/debian bullseye/main arm64 Packages

I have now managed to successfully upgrade a live zm1.34 to 1.36.31 arm64 on a another pi4.
This pi4-2nd is now running showing 1.36.31 with all the camera data etc retained with detection and recording.
Not yet tested properly but superficially it generally looks good.

An immediate issue browsing to pi4-2nd is apparent, in that when browsing to it from another PC (Firefox 106.0 )
playing back recordings it seems to freeze the Firefox client at the end of a recording.
Looks like it causes Firebox to hog resources so all goes very slow.
So slow the user thought it had crashed...

Just checked and it is same on another PC client and
same with Chromium browser

Have you ideas on this very specific happening ?
ZM issue or installation something missing ?

Re: pi4 bullseye 1.36 arm64

Posted: Mon Oct 31, 2022 1:00 am
by bbunge
Not sure what you are using for install instructions. There is a shell script in the ZM WIKI that should work for Debian 11 regardless of the hardware (AMD64, armhf and arm64).