I am setting up zoneminder on FreeNas they have their own plug-in version and it seems to be mostly working. I set up a zone and it is recording video etc to the storage location I created a mount point for. Whether using the WebUI, or ZMninja windows or android app the video cannot play. It is there stored under my mount point. I can copy it out with winscp and it will play fine. Also if I am in the WebUI and go to an event and select "download mp4" instead of giving me the mp4 file it gives me an index.html file to download. I have a feeling it has to do somewhat with me storing it at the non-default location or some file path/variable that isn't right but I am not 100% sure. I saw something about the cgi-bin needing an link for nph-zms but that is already there.
The video folder has permissions of 777 set recursively at the moment as I was trying to rule out just simple permissions issue, but the fact it is recording both .mp4 and .jpg makes me think the file permissions themselves are fine.
Any clues to my issue much appreciated.
I have searched I swear (Freenas Plug-in 1.32.3)
-
- Posts: 4
- Joined: Tue Sep 24, 2019 1:07 am
I have searched I swear (Freenas Plug-in 1.32.3)
Last edited by drinking12many on Tue Sep 24, 2019 2:59 pm, edited 1 time in total.
-
- Posts: 4
- Joined: Tue Sep 24, 2019 1:07 am
Re: I have searched I swear
I fixed the event playback issue by looking closer at how the Freenas plugin was built. In the plugin it was mounting the default storage to /var/db/zoneminder/events so to get it to use the pool I wanted to store the events I mounted my "camerastorage" pool to "/var/db/zoneminder/events" I can now playback events from both the zoneminder webUI and zmninja pro as well as get the file to download it when I click "Download MP4" so at least thats taken care of and does indicate some sort of access problem when I mounted it to /mnt/camerastorage and set it as an alternate storage location.
Now trying to figure out why zmninja cannot play the live stream on either phone or windows app. I can play the stream from chrome on the phone and chome on PC and the api at least returns the correct response for version.json
Now trying to figure out why zmninja cannot play the live stream on either phone or windows app. I can play the stream from chrome on the phone and chome on PC and the api at least returns the correct response for version.json