[Help] cannot install zoneminder on trueNAS CORE

im having some issues with setting up zoneminder on my truenas core device, but this error message keeps showing up. all i need is RTSP support for my security cameras, so if you guys have any alternatives that would be great, thanks in advance.
(also, i am very new to nas systems)

Plugins are no longer supported.

Check out my signature if you want to install zoneminder inside a manual jail. Or go to bsd-apps/zoneminder at main · tschettervictor/bsd-apps · GitHub

Or install SCALE, since you are new, and wait for zoneminder to be added as an app since it is not yet available.

1 Like

do i run [fetch https://raw.githubusercontent.com/tschettervictor/bsd-apps/main/zoneminder/zoneminder-install.sh] in the shell?

You need all the files in the include directory, too, so instead of downloading individually best clone the repo:

cd /mnt/pool/some/directory
git clone https://github.com/tschettervictor/bsd-apps.git

i have 0 clue what im doing, but i think i did some of it?

“some/directory” is a placeholder. Replace it with some directory where you want to put the scripts.

Then use the git command and not fetch, because this one file alone won’t work. You need all files in that directory in the project. The git clone command I wrote does that for you.

ok, ive done this, now what do i need to do?

Sorry, the fetch would indeed have been enough. The script fetches the necessary other parts itself. But anyway you are in a working state now.

Execute:

cd bsd-apps/zoneminder
chmod +x zoneminder-install.sh
./zoneminder-install.sh

Good luck! :slight_smile:

is it normal for my computer to be disconnected from my nas during the install?
and how do i know if its installed?

No idea - @victor ?

i think its working, theres another device showing up on my router settings with the name “zoneminder”

First, did you create a new jail?

Your computer should not be disconnected from the shell during the install.

You also don’t want to clone the repo.

Use the fetch command in the script page, then the chmod command, the run the script with ./zoneminder-install.sh

That’s all you have to do.

What you should do, since your computer was disconnected from your NAS is use tmux. Tmux is a program that allows you to run a shell on the shell sort of. Here are the steps.

  1. Delete that jail and create a new one. I would choose the 13.4-RELEASE, and make sure it is a basejail, not a clone jail. Enable the VNET tick box, give it an IP (in your network range) and assign you gateway.
  2. Enter the jails shell.
  3. Install tmux by typing pkg install -y tmux
  4. Type tmux to start a session
  5. fetch the script with the fetch command
  6. Run the chmod command (both steps 5 and 6 are on the GitHub page
  7. Run the script by ./zoneminder-install.sh

If you do happen to get disconnected, you can simply reenter the jail shell and type tmux a to reattach to the latest tmux session, which will be the one you started earlier.

Sidebar question:
Since you have the setup script and the config files with your script victor, wouldn’t it be easier to push an update to the official iocage plugin (or are the two scripts/configs too different in their setups)?

GitHub - freenas/iocage-plugin-zoneminder

Plugins are dead. iX said so. How long manually installed jails will live is yet to be seen.

I understand that, but I was under the impression that was because of lack of maintenance and since victor put in all that hard work, all that would be required is to update a few files in the plugin and push. However if iX refuses the pull request it would be fruitless effort.

CORE is dead essentially. I’m not putting effort into it. FreeBSD on the other hand lives on in other software like XigmaNAS and, well, FreeBSD.

FWIW, I found zoneminder incredibly frustrating with it consistently missing movements and like issues.

I eventually gave up and went through the trouble of installing a jail with 2 Cores, 4 threads and 16GB of RAM to run Windows 11 and BlueIris on top of that. That also pegged the VM CPU meter consistently and so I had to look for a non-VM solution.

Some of the blame is undoubtedly due to my incompetence and the slowness of each core here (1.7GHz) but it really was pretty bad. I highly recommend BlueIris on a standalone PC instead.

Understood. Would you mind if I took one of your scripts for one of the “broken” plugins and updated the plugin (as an experiment)? The only reasons I ask is because you are much further along in your script creating than I am (you have quite a list and probably have a few overlaps) and I was thinking that iocage might still be used by others not using CORE.

No need to agree though (I, personally, don’t need iocage so this was just a thought). And if you did agree, I’d put a header on your script when I added it for full credit. …of course, this is all dependent on if I check a few more things off my TODO list; also, I don’t know how many people are/would be using iocage (I don’t know if it was a popular jail manager or not).

EDIT:
Also, I suppose I could just find a “simple” broken plugin and fix it too (for my test). Does anyone know of a simple plugin that’s not working?

Break a leg…
I’m fine with it.