Hi,
A little bit of background - had some issues with disk space, when ZM events filled it up fully, I had to delete ZM events manually to clear it up. But i think that because i have deleted them manually in folder /var/cache/zoneminder/events and then recreating the folder itself I probably destroyed some symbolic links. Now ZM creates and saves events which i am able to see at ZM UI, but i cannot completely delete them. When i delete them in ZM UI they disappear and i see 0 events, but actual event files are still present in /var/cache/zoneminder/events and they are taking space, while in ZM UI i can see that there are 0 events, but disk load has not decreased either.
Moreover in logs i am receiving this error:
2018-01-29 14:05:03.661575 web_php 1543 ERR Cannot write to content dirs('events','images'). Check that these exist and are owned by the web account user /usr/share/zoneminder/www/index.php
My first though that this might have to do something with symbolic links, so i have tried this (http://zoneminder.readthedocs.io/en/sta ... untu-16-04):
chmod 740 /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
chown -R www-data:www-data /usr/share/zoneminder/
But this did not helped me, maybe you could suggest any ideas?
Thanks,
Events on DB issues ZM 1.30.4
Re: Events on DB issues ZM 1.30.4
have you forgotten this very important command?
/var/cache/zoneminder/events
/var/cache/zoneminder/images
/var/cache/zoneminder/temp
Code: Select all
chown -R www-data:www-data /var/cache/zoneminder
/var/cache/zoneminder/images
/var/cache/zoneminder/temp
Re: Events on DB issues ZM 1.30.4
Silly me... Highly thankful! Seems to have worked
Thanks,
Thanks,