30 thoughts on “Installing ZoneMinder 1.36 on Ubuntu Focal 20.04

  • Thanx for this video. I followed your instructions , everything goes well untill the command a2enconf zoneminder , then the apache2 has reload issue ( AH00526) , what can be ?

  • The very first command fails. Might be time to update again.

  • What command do you use if you're not using Apache but NGINX instead?

  • if anyone else gets an error when restarting apache and their log shows invalid command RewriteEngine

    "a2enmod rewrite"
    "systemctl restart apache2"
    "systemctl reload apache2"

    Will get you passed that

  • Never once have i installed this software and i've tried so many times.

  • The following packages have unmet dependencies:
    psa : Conflicts: javascript-common but 11+nmu1 is to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    😥I am just stopping here to ask for help, last time I tried to remove javascript-common stuff really hit the fan and I had to reinstall my webserver component to the point I'd have been better off reinstalling the OS, which I did….eventually…. Any help here? I'm running Plesk. Ubuntu Server 22.04

  • How about Ubuntu 18.04 CLI ? Will this same method work on Ubuntu 18.04 CLI ?

  • Can anyone help try getting apache to work? I do have Plex also running which opens on localhost

    When I try running apache2 by "" i get the error "apache2.service is not active, cannot reload.'"

    So I made sure it was installed by running "sudo apt-get install apache2" and noticed it already installed "apache2 is already the newest version (2.4.52-1ubuntu4.1)."

    Restarting Apache2 I get the following error:
    sudo systemctl restart apache2
    Job for apache2.service failed because the control process exited with error code.
    See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.

    Checking the status I get the following messages:
    sudo systemctl status apache2
    apache2.service – The Apache HTTP Server
    Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2023-01-07 16:28:39 GMT; 37s ago
    Docs: https://httpd.apache.org/docs/2.4/
    Process: 27888 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
    CPU: 72ms

    Jan 07 16:28:39 saif-media-server systemd[1]: Starting The Apache HTTP Server…
    Jan 07 16:28:39 saif-media-server apachectl[27891]: AH00526: Syntax error on line 33 of /etc/apache2/conf-enabled/zoneminder.conf:
    Jan 07 16:28:39 saif-media-server apachectl[27891]: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    Jan 07 16:28:39 saif-media-server apachectl[27888]: Action 'start' failed.
    Jan 07 16:28:39 saif-media-server apachectl[27888]: The Apache error log may have more information.
    Jan 07 16:28:39 saif-media-server systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
    Jan 07 16:28:39 saif-media-server systemd[1]: apache2.service: Failed with result 'exit-code'.
    Jan 07 16:28:39 saif-media-server systemd[1]: Failed to start The Apache HTTP Server.

    zoneminder is enabled and I have all the files shown in the video.
    "a2enconf zoneminder
    Conf zoneminder already enabled"

  • The web interface would never load for me. After a few hours I found a fix on a forum :

    sudo iptables -A INPUT -p tcp –dport 80 -m conntrack –ctstate NEW,ESTABLISHED -j ACCEPT

    I don't really understand what it does but it fixed things for me !

  • When executing apt-get install zoneminder I get depends libswscale5 but it is not isntallable. What is wrong?

  • On Unbuntu 22.04 don't restart the apache2 server after the a2enconf command, there is a error message. There is a instruction on how2shout that worked for me.

  • Hii, have a question its posible add domain name and setup retch te system from outside?

  • Jump in to say thank you to iConnor that set up this youtube channel. Been a ZM user for some time but always have issues with detection setup — too many false alarm make my system no use at all. 😞 Trying to collect information about how to properly adjust detection zones but not so many — hopefully this channel can contribute more on the topic
    BTW, don't think asking installation/troubleshooting should be here because everyone has their HW, Linux environment differently — if you have problem, just do a fresh new install a Linux and that always work.

  • sorry not working: add-apt-repository ppa:oem/zoneminder-1.36 Error: Cannot add PPA: `ppa:-oem/ubuntu/zoneminder-1.36` The user named `-oem` does not have any PPA

  • I have that Issue while installing it in Ubuntu => systemctl start zoneminder
    Job for zoneminder.service failed because the control process exited with error code.
    See "systemctl status zoneminder.service" and "journalctl -xeu zoneminder.service" for details.
    When enter journalctl -xeu zoneminder.service, it gives me that error "zmpkg[7642]: ERR [Unable to run "sudo -u www-data /usr/bin/zmdc.pl check", output is "", status is 255]". How to fix that?

  • Hi thanks a lot for this amazing video
    I've correctly installed zm 1.37. Yet, i'm getting this error when I try to lunch my camera through zm:
    Unable to open input rtsp://*******:**********@i***554/ due to: Invalid data found when processing input !
    Do know how to fix this ?

  • list of commands used in chronological order, not including grep/ps/ls commands:

    sudo -i

    apt-get intstall mysql-server

    add-apt-repository ppa:iconnor/zoneminder-1.36
    apt-get install zoneminder

    systemctl enable zoneminder
    systemctl start zoneminder

    a2enconf zoneminder
    systemctl reload apache2

    i had an issue on 20.04.2 LTS, quick solution and i noticed that in the video he checked for rewrite in the mods folder for apache, it was not enabled on my machine when setting this up. to enable just run the following commands

    a2enmod rewrite
    systemctl restart apache2

  • Does ZM have AI detection similar to Frigate and/or can ZM take advantage of AI (human/vehicle detection) that comes with the current IP cameras?

  • Any chance I could hire you for 20 minutes to give me a tour of ZM via Zoom? Let me know how we can set it up. Thanks again!

  • Many thanks for your work guys! I started messing around with Zoneminder back in Ubuntu 8.04 days 🙂 It forced me to get to know linux and networking better and eventually allowed pretty cool IT career. Don't stop!

  • Does Zoneminder offer a docker based installation, either a single image or docker-compose?

  • i am having problem installing 1.36 and i suspect the script seems not enabling rewrite.mods

  • Thank you. Total new guy to Linux, and trying to get some cameras set up around the house. Don't want to use the "apps" that come with the cameras. Struggling to find info on how to navigate and use ZM. Can't seem to get my first camera to talk to ZM. Looking forward to your next video. If you can point me to any resources to get me aimed in the right direction, it would be much appreciated! Look forward to your next tutorial. Thanks!

  • Thank you so much!!! I use Zoneminder and a Ryzen 7 1700 with a Nvidia GTX 1060 to keep me safe I am disabled and this program has been a life saver for me allowing my loved ones to check in on me and make sure I am ok and haven't fallen anywhere etc.. Thank you so much for these Tutorials!

  • How about Ubuntu 21.10 ???
    Will this same method work on Ubuntu 21.10 ??

    Awesome video

  • How to add audio with local camera
    Lets say you have a usb webcam Logitech or whatever and you want to get audio as well with video ???

  • Video quality and presentation is much better than the previous one, well done!!
    Great into video to help folks get their feet wet

Comments are closed.