Page 1 of 1

storageareas .. asks for URL when typing in path

Posted: Tue Feb 07, 2017 10:46 pm
by evolotion
as per title, decided to set up another machine parallel to my main zm installation to try the video passthro branch.

have set up the system to record all the HD feeds direct to disk and analyse all the lower resolution feeds for motion (all cameras >2MP and have 2 video outputs) resource usage is amazing compared to the regular zm installation where I had no option but to cherry pick only recording a few of the HD streams.

Thankyou. its amazing so far, understand its bleeding edge but wanted to play.

I have a question, decided to experiment with the alt storage locations. Is there a way to specify a local mounted volume i.e. "/mnt/storage1" when I attempt to put this in the path field it asks for a URL

this is 1.30.13 from the iconnor ppa, on Mint (xenial repos)

traditional zm installation is on debian, set this up on mint to ease any pains as the ppa could be used.

Re: storageareas .. asks for URL when typing in path

Posted: Thu Feb 09, 2017 10:03 am
by evolotion
sorry , hope this wasnt the wrong section (seing as its not relevant to the 1.30.0 normal branch)

Changed the path variable in the database from a made up url (to pass the form check) to a local path using myphpadmin and everything works as it should, images from selected cameras stored on the drive and free space reported etc.

Clearly something is wrong in the checking of the Options/Storage/Ass New Storage/ "path" field am way out my depth but will see if I can figure it out :)

cheers.

Re: storageareas .. asks for URL when typing in path

Posted: Sat Feb 11, 2017 4:49 am
by SteveGilvarry
I will check this out see if I get the same.

Re: storageareas .. asks for URL when typing in path

Posted: Sun Feb 12, 2017 5:25 pm
by evolotion
dont know if this file is generated on the fly, or if this is the correct fix (as said am waay out my depth) but

/usr/share/zoneminder/www/skins/classic/views/storage.php

line 59 changed input type from "url" to "text"

seems to work for me.

cheers again :)

Re: storageareas .. asks for URL when typing in path

Posted: Sun Feb 12, 2017 8:50 pm
by SteveGilvarry
Possibly the fix, Safari is not doing any checking of this so I can put /mnt/... in without issue.