Page 1 of 1

Empty capture image files for events

Posted: Sat Dec 09, 2006 1:15 pm
by Alain
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

Posted: Mon Dec 11, 2006 11:59 am
by zoneminder
The real event image files should still be in the former location. The files in the 'images' directory are usually temporary ones like thumbnails. Which ones are zero sized?

Found it: mismatched directories

Posted: Mon Dec 11, 2006 12:40 pm
by Alain
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