Empty capture image files for events

Support and queries relating to all previous versions of ZoneMinder
Locked
Alain
Posts: 4
Joined: Mon Mar 06, 2006 10:25 am

Empty capture image files for events

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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?
Phil
Alain
Posts: 4
Joined: Mon Mar 06, 2006 10:25 am

Found it: mismatched directories

Post 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
Locked