Package Details: zoneminder 1.32.3-3

Git Clone URL: (read-only)
Package Base: zoneminder
Description: A full-featured, open source, state-of-the-art video surveillance software system
Upstream URL:
Keywords: camera cctv monitor record security surveillance video zoneminder
Licenses: GPL2
Conflicts: zoneminder-git
Submitter: None
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 55
Popularity: 0.029366
First Submitted: 2008-03-21 00:09
Last Updated: 2019-06-02 21:28

Required by (1)

Sources (9)

Pinned Comments

Nocifer commented on 2018-10-02 14:34

Any and all feedback will be much appreciated. Thanks!


Update: 1.32.2-3 -> 1.32.3-1

  • Changed Nginx's configuration so that now it listens on all interfaces instead of only on localhost. This fixes remote access and also prevents some potential conflicts with other conf files that may be present.
  • Added proper support for multiserver setups in the install script during updates: now it will properly check whether we're running a local database server or not and will run the updater accordingly. Also added a new function for updating the PTZ control presets.
  • Enabled PHP's disabled-by-default semaphore support. This fixes issues like camera playback controls not working and camera device info (e.g. current state, fps, zoom level, et al) not being shown.
  • Gave 'zmuser' some new privileges on database 'zm' that are needed to perform the 1.32.3 update.

Update: 1.32.2-2 -> 1.32.2-3

  • Added spawn-fcgi & multiwatch as dependencies. Now fcgiwrap will spawn in multiple instances, so ZoneMinder will be able to utilize more than one CGI threads at the same time and thus show concurrent camera streams, which solves issues like having no image while editing zones, etc. The default number of instances is 10, which should be enough for 2 or 3 cameras, but you can of course edit the provided service file and change the number as you see fit. Big thanks to @chapatt for bringing this to my attention!

Update: 1.32.2-1 -> 1.32.2-2

  • Included a /zm/ link inside the /www/ folder that points back to /www/. This fixes pretty much every instance of sloppy hardcoded links within ZM's codebase. Big thanks to @Kubax for the idea!

Update: 1.32.1-3 -> 1.32.2-1

NOTE: There's a bunch of small-ish errors in ZM's operation due to some parts of it having the localhost/zm/ link hardcoded and thus breaking when ZM is run from anywhere else, e.g. localhost:8095. I'm in the process of locating these errors and either reporting them upstream or fixing them myself, but I can't know for sure when or even if they'll be fixed. Big thanks to @Kubax for reporting this.

  • Changed temp folder location: /var/lib/zoneminder/temp -> /var/tmp/zoneminder
  • Fixed /api/app/tmp to correctly point to the temp folder
  • Overhauled how the install script makes the choice between Nginx and Apache, as follows:
    • If Nginx is installed and active, regardless of whether Apache is also installed or active or both, we choose Nginx.
    • If Nginx is installed but inactive, and Apache is not installed, we choose Nginx.
    • If Nginx is installed but inactive, and Apache is installed, we choose Apache.
    • If Nginx is not installed, and Apache is installed, we choose Apache.
    • If neither of them is installed, we simply inform the user about it and do nothing.

It's a fairly simple script and I have tested it as much as I can, but things usually find a way to break apart after introducing such... uhm... breaking changes. If things do break for you, please blame me and not the script itself; and also report here what exactly is broken so I can fix it ;)

Update: 1.32.1-2 -> 1.32.1-3

  • MariaDB no longer required (for use with remote databases)
  • Apache added as an optional dependency and preferred over Nginx if both are installed

Update: 1.32.1-1 -> 1.32.1-2

  • Fixed update process (it erroneously required zoneminder.service to be active while updating its database, when it should rather be the opposite)
  • Fixed desktop launcher
  • Added logrotate support
  • Removed 'perl-module-load-conditional' from dependencies as it is already included in core Perl package
  • Other minor fixes (e.g. the license file was being installed in the wrong place)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

zombielinux commented on 2019-06-13 11:49

That's what did it. Seems to be online now.

Nocifer commented on 2019-06-13 10:53

@zombielinux Well the issue is clear then: for some reason, 8 out of the 12 AUR modules in your build script's array are still installed against perl 5.28 instead of 5.30, and this can also be attested by 'pacman -Qqo /usr/lib/perl5/5.28' displaying them in its output (there shouldn't even be a 5.28 folder in there anymore). If I were you I'd try to install the already compiled packages one by one by hand, i.e. 'pacman -U /var/cache/pacman/pkg/AUR/packages/package_name.pkg.tar.xz'. That's more or less what I did (in my case I used an AUR helper to reinstall them in one go but it's the same thing) and everything went smoothly.

zombielinux commented on 2019-06-13 10:15

No worries.

Here is my zoneminder build script.

AurArray=("perl-sys-meminfo" "perl-sys-mmap" "perl-io-socket-multicast" "perl-class-std" "perl-class-std-fast" "perl-soap-wsdl" "perl-cpanel-json-xs" "perl-json-maybexs" "perl-net-sftp-foreign" "perl-php-serialization" "perl-sys-cpu" "perl-uri-encode" "zoneminder")
sudo pacman -Syu perl-inc-latest perl-module-build perl-types-serialiser perl-common-sense perl-json perl-json-xs libglvnd

for i in "${AurArray[@]}";
#   echo $i
    rm -rf $PREFIX/$i
    git clone$i.git $PREFIX/$i
    cd $PREFIX/$i
    makepkg -si

journalctl errors

Jun 13 06:13:23 zoneminder[46821]: Can't locate Sys/ in @INC (you may need to install the Sys::Mmap module) (@INC contains: /usr/lib/perl5/5.30/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.30/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.30/core_perl /usr/share/perl5/core_perl) at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/ line 69.
Jun 13 06:13:23 zoneminder[46821]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Memory/ line 69.
Jun 13 06:13:23 zoneminder[46821]: Compilation failed in require at /usr/share/perl5/vendor_perl/ZoneMinder/ line 121.
Jun 13 06:13:23 zoneminder[46821]: Compilation failed in require at /usr/share/perl5/vendor_perl/ line 37.
Jun 13 06:13:23 zoneminder[46821]: BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ line 37.
Jun 13 06:13:23 zoneminder[46821]: Compilation failed in require at /usr/bin/ line 34.
Jun 13 06:13:23 zoneminder[46821]: BEGIN failed--compilation aborted at /usr/bin/ line 34.

pacman -Qqo '/usr/lib/perl5/5.28' output

[root@zoneminder ~]# pacman -Qqo '/usr/lib/perl5/5.28'

Nocifer commented on 2019-06-13 08:46

@zombielinux Alright, I may have misjudged then. Myself I didn't get any errors when I tried running ZoneMinder with 5.30, so could you elaborate on what kind of errors you're getting and how to reproduce them? If there are indeed errors with 5.30 they should be reported to upstream.

zombielinux commented on 2019-06-13 01:08

@nocifer, I've already done that. I've deleted all the perl modules on that pacman -Qqo list, and redone the git clone and makepkg -si for them

Nocifer commented on 2019-06-12 21:28

@zombielinux Any perl packages that you've installed from the AUR, and whose maintainer hasn't triggered a reinstall for via a package version bump, will need to be manually reinstalled in order for perl 5.30 to pick them up and load them properly. Pacman should have already been warning you about it (something like "there are old modules in /usr/lib/perl5/5.28, use pacman -Qqo to see which packages own them" or some such). Other than that, Zoneminder itself works just fine with perl 5.30.

zombielinux commented on 2019-06-12 19:35

This package has issues with perl 5.30. Some dependent modules either don't work or aren't loaded properly.

zombielinux commented on 2019-06-12 19:33

This package has issues with perl 5.30. Some dependent modules either don't work or aren't loaded properly.

chapatt commented on 2019-06-09 04:25

Just chiming in to let you know I upgraded from one one of the earliest packages when you took over maintenance last year. Like others have said, it stopped capturing after updates (along with every other aur package that uses libx26{4,5} et. al.). Installation failed (gracefully) first time around when trying to upgrade the database and I had to do a mysql_upgrade (which it actually advised me of, though I figure that script's probably upstream). So thanks again, Nocifer!

Archanfel80HUN commented on 2019-06-03 07:09

Build will fail if libvlc and libvlccore is installed, you need to replace libvlc with vlc first.