Page 1 of 1

[Solved] Export fails at Ubuntu 7.04 - .deb installation

Posted: Mon Sep 24, 2007 1:56 pm
by agilseguranca
I tried to repair the problem, but w/o sucess.
I followed this 2 topics:
http://www.zoneminder.com/forums/viewto ... rt+problem
http://www.zoneminder.com/forums/viewto ... rt+problem

There are the base errors:

Warning: opendir(events/cam_name/event_id) [function.opendir]: failed to open dir: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 198

Warning: fopen(events/cam_name/event_id/zmEventDetail.html) [function.fopen]: failed to open stream: No such file or directory in /usr/share/zoneminder/zm_export_funcs.php on line 215

Can't open event detail export file 'zmEventDetail.html'

I can see the images normally and the saved events.

Thanks in advance

Sorry any english errors...

Posted: Mon Sep 24, 2007 2:04 pm
by Laevi
Seems like the camera or event folder is missing.
Can you check if there is such folder like var/www/zm/events/'cam_nr'/'event_nr' (standard path)

Posted: Mon Sep 24, 2007 2:38 pm
by agilseguranca
Laevi wrote:Seems like the camera or event folder is missing.
Can you check if there is such folder like var/www/zm/events/'cam_nr'/'event_nr' (standard path)
If was a cam or folder missing, I wouldn't see the images from them, but I can see. I just can't export them.

Thanks for reply!

Sorry any english errors...

Posted: Mon Sep 24, 2007 7:20 pm
by cordel
Images are kept in /var/..../zm/events/<cam_id>
Export uses a soft link named as your Monitorname and points to Cam_ID sothat your Exported folder has a name instead of a number, make sure the softlink is there.
Both the links and cam_id folders are in the events directory.

Posted: Tue Sep 25, 2007 3:43 pm
by agilseguranca
cordel wrote:Images are kept in /var/..../zm/events/<cam_id>
Export uses a soft link named as your Monitorname and points to Cam_ID sothat your Exported folder has a name instead of a number, make sure the softlink is there.
Both the links and cam_id folders are in the events directory.
I created the links. Now I can export. Thanks, Cordel!

Sorry any english errors...

Posted: Thu Sep 27, 2007 5:39 pm
by Lee Sharp
The fix I use on Peter's debs is;
sudo chown www-data.www-data /usr/share/zoneminder/temp

Posted: Mon Oct 08, 2007 7:55 am
by andrew
I have the same issue,I have installed using Peter's debs, I have used the above fix
sudo chown www-data.www-data /usr/share/zoneminder/temp
, but I am still getting the first posters error, can anyone explain how I softlink the files ? Or where I go from here?
Many thanks
Update 08/10/07 12.22pm : Got it sorted using 'Make Link' and pointing it to the name of the monitor.

Posted: Tue Oct 16, 2007 5:16 pm
by peter.riche
andrew wrote:I have the same issue,I have installed using Peter's debs, I have used the above fix
sudo chown www-data.www-data /usr/share/zoneminder/temp
, but I am still getting the first posters error, can anyone explain how I softlink the files ? Or where I go from here?
Many thanks
Update 08/10/07 12.22pm : Got it sorted using 'Make Link' and pointing it to the name of the monitor.
the syntax is incorrect, here is the good one (with ":" instead of ".")

Code: Select all

sudo chown www-data:www-data /usr/share/zoneminder/temp
it worked well for my export problem on Ubuntu 7.04