Package Details: zoneminder 1.36.35-1

Git Clone URL: https://aur.archlinux.org/zoneminder.git (read-only, click to copy)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL: https://zoneminder.com/
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL-2.0-only
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 72
Popularity: 0.24
First Submitted: 2008-03-21 00:09 (UTC)
Last Updated: 2024-10-22 17:14 (UTC)

Dependencies (45)

Sources (8)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 63 Next › Last »

sav commented on 2021-04-02 17:41 (UTC)

@Mike616, thank you so much for your advice.

Nocifer commented on 2021-03-30 11:31 (UTC)

@everyone, unfortunately almost all these errors that have been variously plaguing our setups lately stem from the simple fact that ZM hasn't seen a new proper release in (relatively speaking) ages, while at the same time Arch is a fast moving distro that constantly pulls in all the newest versions of x264, x265, ffmpeg, php, dav1d, heif, etc etc, which ZM's latest stable release is obviously not very compatible with.

This isn't solely the devs' fault, because if we'd been using ZM on something like e.g. Debian this would not have been so much of a problem, so this situation is actually a superb example of why a rolling distro is not great for being used as a server for large and complex apps like ZM :)

zazenhei commented on 2021-03-30 09:29 (UTC) (edited on 2021-04-04 07:10 (UTC) by zazenhei)

new build error.

/home/xxx/.cache/yay/zoneminder/src/zoneminder-git/src/zm_video.h:158:2: error: ‘MP4FileHandle’ does not name a type
  158 |  MP4FileHandle mp4h;
      |  ^~~~~~~~~~~~~
/home/xxx/.cache/yay/zoneminder/src/zoneminder-git/src/zm_video.h:159:2: error: ‘MP4TrackId’ does not name a type
  159 |  MP4TrackId mp4vtid;
      |  ^~~~~~~~~~
make[2]: *** [src/CMakeFiles/zm.dir/build.make:104: src/CMakeFiles/zm.dir/zm_camera.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:414: src/CMakeFiles/zm.dir/all] error 2
make: *** [Makefile:156: all] error 2

I have downgraded libmp4. Then the problem was solved.

Mike616 commented on 2021-03-28 23:41 (UTC)

I also had issues with php not being able to load the php-gd library (causing issues with Nextcloud). It was still looking for the newer version of libx265. Downgrading libheif to 1.11.0-1 got php working again.

langfingaz commented on 2021-03-28 11:57 (UTC)

@Mike616 Thanks for sharing your steps. I had to downgrade dav1d as well (back to version 0.7.1-1).

Mike616 commented on 2021-03-26 06:40 (UTC) (edited on 2021-03-26 06:52 (UTC) by Mike616)

Okay it looks like zoneminder doesn't yet support the latest release of libx264. Downgrading ffmpeg, libx265, and libx264 to the previous versions solved the problem for me.

Here's how I did this:

Find the previous versions of all three packages:

$ cat /var/log/pacman.log | grep -P "x264|x265|ffmpeg"
[2021-03-25T22:17:19-0700] [ALPM] upgraded x264 (3:0.160.r3011.cde9a93-1 -> 3:0.161.r3039.544c61f-1)
[2021-03-25T22:17:19-0700] [ALPM] upgraded x265 (3.4-1 -> 3.5-1)
[2021-03-25T22:17:19-0700] [ALPM] upgraded ffmpeg (2:4.3.2-2 -> 2:4.3.2-3)

If you haven't cleared your pacman cache, you can install the previous cached versions. You'll have to do all three packages at the same time since they are dependent on each other:

# pacman -U /var/cache/pacman/pkg/{ffmpeg-2:4.3.2-2-x86_64.pkg.tar.zst,x264-3:0.160.r3011.cde9a93-1-x86_64.pkg.tar.zst,x265-3.4-1-x86_64.pkg.tar.zst}

You can tell pacman to ignore updates for these packages for the time being by adding the following to the options section of /etc/pacman.conf:

IgnorePkg   = ffmpeg
IgnorePkg   = x264
IgnorePkg   = x265

After doing this, all my cameras came back to life. Yay because I'm going on vacation tomorrow.

Mike616 commented on 2021-03-26 06:17 (UTC) (edited on 2021-03-26 06:17 (UTC) by Mike616)

@alanking I just ran pacman -Suy and rebooted and now I'm having the same problem. All cameras are red. I can open the web console but cannot stream anything.

ERR ['zmc -m 7' exited abnormally, exit status 127]
ERR ['zma -m 6' exited abnormally, exit status 127]
WAR [ Memory verify failed for Front Door (high)(id:6)]
ERR [Memory map file '/dev/shm/zm.mmap.6' does not exist in zmMemAttach.  zmc might not be running.]
ERR [Memory map file '/dev/shm/zm.mmap.8' does not exist in zmMemAttach.  zmc might not be running.]

Trying to run zmc or zma directly produces:

zmc: error while loading shared libraries: libx264.so.160: cannot open shared object file: No such file or directory

alanking commented on 2021-03-25 13:40 (UTC)

did this break for anyone else a couple of days ago. all my cameras are red and no longer working. Console still works fine.

ubone commented on 2021-03-16 15:09 (UTC)

http://ix.io/2T3U

error

wuestengecko commented on 2021-03-05 11:23 (UTC)

Git was installed and no user configuration is done.

Yes, that's what I was trying to say. It does fail when simply using makechrootpkg as well, unless you add --no-commit to the mentioned line. When you're building directly on your development host, where you're using git to push to the AUR, then git will find your user config during the build and use that.

I should probably add '--no-commit' to that cherry-pick line by default, yeah?

Yes, please do that.