Page 1 of 1

Noob Installation: Cannot write to content dirs('events','images'). Check that these exist and are owned by the web acco

Posted: Fri Dec 08, 2017 10:27 am
by twix1312
I installed ZM using the instructions from http://zoneminder.readthedocs.io/en/sta ... untu-16-04.

I finished all the steps and checked the url http://127.0.0.1/zm/ which gives the output
Cannot write to content dirs('events','images'). Check that these exist and are owned by the web account user
I've checked the directories and they are owned by www-data

Code: Select all

ritwik@ritwik-B250M-D3H:/var/cache/zoneminder$ ls -lrt
total 12
drwxr-xr-x 2 www-data www-data 4096 Apr  5  2016 temp
drwxr-xr-x 2 www-data www-data 4096 Apr  5  2016 images
drwxr-xr-x 2 www-data www-data 4096 Apr  5  2016 events
I'm not sure how to edit index.php (if that solves the problem) but I did try sending a CURL request
but that returned a value
The requested method PUT is not allowed for the URL /zm/api/configs/edit/ZM_DIR_EVENTS.json
.

I'm using Ubuntu 16.04

Re: Noob Installation: Cannot write to content dirs('events','images'). Check that these exist and are owned by the web

Posted: Sun Dec 10, 2017 3:32 am
by bbunge
Check the WIKI for better install instructions.