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

Forum for questions and support relating to the 1.29.x releases only.
Locked
twix1312
Posts: 1
Joined: Fri Dec 08, 2017 10:01 am

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

Post 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
bbunge
Posts: 2923
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

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

Post by bbunge »

Check the WIKI for better install instructions.
Locked