Since version 1.22.3 (had 1.22.0 before), capture image files are generated, but are 0 bytes in size. How can this be fixed? Which logs can I check to investigate this further?
Moreover I noticed that directory layout changed: formerly, they used to be stored in zoneminder/events/<n>/<eventno>/<frameno>-capture.jpg whereas now they are in zoneminder/images/<eventno>-<frameno>-capture-25.jpg
Is this change of location expected?
Thanks for any info,
Alain
Empty capture image files for events
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Found it: mismatched directories
It was the images files (thumbnails) which were empty. The event files were absent.
In the meantime, I found the reason why: after the upgrade, zoneminder used a different directory for the events:
/home/fun/webmast/www/zoneminder/events for writing, but /home/fun/webmast/zoneminder/events for reading.
So, basically zma (or whatever process) was writing files in the first directory, but apache was reading from the other one. After symlinking both paths to point to the same place, everything worked fine.
Thanks,
Alain
In the meantime, I found the reason why: after the upgrade, zoneminder used a different directory for the events:
/home/fun/webmast/www/zoneminder/events for writing, but /home/fun/webmast/zoneminder/events for reading.
So, basically zma (or whatever process) was writing files in the first directory, but apache was reading from the other one. After symlinking both paths to point to the same place, everything worked fine.
Thanks,
Alain