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

Support and queries relating to all previous versions of ZoneMinder
Locked
agilseguranca
Posts: 9
Joined: Tue Jun 26, 2007 6:33 pm
Location: Itapetinga - Bahia - Brasil

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

Post 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...
Last edited by agilseguranca on Tue Sep 25, 2007 3:45 pm, edited 1 time in total.
Laevi
Posts: 42
Joined: Mon Aug 27, 2007 1:50 pm

Post 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)
agilseguranca
Posts: 9
Joined: Tue Jun 26, 2007 6:33 pm
Location: Itapetinga - Bahia - Brasil

Post 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...
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
agilseguranca
Posts: 9
Joined: Tue Jun 26, 2007 6:33 pm
Location: Itapetinga - Bahia - Brasil

Post 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...
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

The fix I use on Peter's debs is;
sudo chown www-data.www-data /usr/share/zoneminder/temp
andrew
Posts: 16
Joined: Thu Jan 11, 2007 9:03 pm

Post 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.
peter.riche
Posts: 1
Joined: Tue Oct 16, 2007 5:12 pm

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