ZM on FreeBSD

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
dvl
Posts: 3
Joined: Thu Oct 14, 2021 8:23 pm

Re: ZM on FreeBSD

Post by dvl »

drnick999 wrote: Thu Oct 07, 2021 10:08 pm Thank you abi. I would of tried the patch you sent but I missed your reply until now. To my surprise someone updated the zoneminder truenas plugin to 1.36.5 and so far so good!
I just became aware of ZoneMinder, saw the above reply, and signed up to help with the FreeBSD port.

There are more than a few of us using ZM on FreeBSD (https://twitter.com/DLangille/status/14 ... 6058255362) and I know more will be coming.

I am a FreeBSD ports committer and hopefully I can help the team who did the recent update (https://www.freshports.org/multimedia/z ... r/#history).
--

Dan Langille
cookiemonster
Posts: 26
Joined: Sat Aug 15, 2015 1:46 pm

Re: ZM on FreeBSD

Post by cookiemonster »

Thanks to those efforts I've been able to "upgrade" ZM from 1.34 to 1.36.5. My installation is in a freebsd jail but my host was also in need to upgrade OS from freebsd 11.3. In the end I did create a new Boot Environment, made a new dataset and created a new jail on the new base and installed the package (not port) after installing a new 12.3 OS.
The pkg install was plain sailing. I did just finished getting the streaming working, finally ZM is up and running, There seems to be a slight but madenning change from 1.34 in the nginx config that was necessary.
Now I am for battling to get the motion detection with good results, right now it "works" but I have no events recorded at all with the old settings.
User avatar
iconnor
Posts: 2121
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZM on FreeBSD

Post by iconnor »

Start by setting all min blob, min area etc to like 1000. Use pixels not percent.

Also, you really want to get up to 1.36.12 if you can. Took me a while to stabilise ram use and thread locking.
cookiemonster
Posts: 26
Joined: Sat Aug 15, 2015 1:46 pm

Re: ZM on FreeBSD

Post by cookiemonster »

Ok it could very well be that instability on this architecture on 1.36.5. To get to latest 1.36.12 I would need to remove the packaged installation and build the port which landed 2 days ago. I'll give that a go. Thanks iconnor.
cookiemonster
Posts: 26
Joined: Sat Aug 15, 2015 1:46 pm

Re: ZM on FreeBSD

Post by cookiemonster »

I was finally able to complete the new jail and installing ZM from ports, and forcing pulling the latest which is 1.36.12. I had to build the dependencies from ports too as we can't (shouldn't) mix ports with packaged binaries. That is mysql, fastcgi, etc. Then set the cameras up and left them with default preset in the "all" zone just to see if it gets any detection and now that works.
Just one more thing mostly for future reference. I did add an fstab entry for procfs that I had forgotten it was set in my original jail. I entered also on the 1.36.5 too but didn't make a difference.
procfs /mnt/Raid5Disk/bastille/jails/zoneminder_new1/root/proc procfs rw 0 0
drnick999
Posts: 3
Joined: Thu May 20, 2021 6:30 pm

Re: ZM on FreeBSD

Post by drnick999 »

has anyone been successful in setting up the eventnotification server? I know i need to edit most of the paths in the install.sh and .ini confgs but still cant seem to get it to run.
Post Reply