Page 1 of 1

How to change the storage location

Posted: Mon Jun 05, 2017 4:35 pm
by nas31320
hello.

i am french and i'm new on this forum. I need To you

I installed zoneminder and apache on a raspberry and wanting to change the storage location I can no longer connect to web interface and this one tells me "Can not write to content dirs ('events ',' Images'). Check that these are available by the web account user "

To know that I want to put the storage on my hard drive

This is how I got myself

zoneminder is
sudo mv /var/cache/zoneminder /var/cache/zoneminderOLD
sudo mkdir media/zoneminder/hdd/zonemider
sudo cp -R -p -v /var/cache/zoneminderOLD/* /media/zoneminder/hdd/zonemider
sudo ln -s /media/zoneminder/hdd/zonemider /var/cache/zoneminder
sudo chown www-data:root -R /media/zoneminder/hdd/zoneminder/
sudo chmod 770 -R /media/zoneminder/hdd/zoneminder/
sudo service zoneminder restart

on firefox http://192.168.43.250/zm
I see always this message Can not write to content dirs ('events ',' Images'). Check that these are available by the web account user :( :(

Re: How to change the storage location

Posted: Tue Jun 06, 2017 2:47 am
by bbunge
What distro and version of Linux are you using on your pi?

Re: How to change the storage location

Posted: Tue Jun 06, 2017 6:45 pm
by nas31320
bbunge wrote: Tue Jun 06, 2017 2:47 am What distro and version of Linux are you using on your pi?
I using linux ubuntu mate 16.04

Re: How to change the storage location

Posted: Tue Jun 06, 2017 10:45 pm
by bbunge
I recommend you start over with a Ubuntu 16.04 server or minimal version as running a desktop on a pi uses a lot of resources.

https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Here are instructions to use systemd to mount another drive to store events/images:

https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS

Re: How to change the storage location

Posted: Thu Jun 08, 2017 8:53 pm
by nas31320
bbunge wrote: Tue Jun 06, 2017 10:45 pm I recommend you start over with a Ubuntu 16.04 server or minimal version as running a desktop on a pi uses a lot of resources.

https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Here are instructions to use systemd to mount another drive to store events/images:

https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS
Thank you for answer it works very well. My problem is resolved :D