Cannot export events

Discussions related to the 1.36.x series of ZoneMinder
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Cannot export events

Post by Khurram »

I am running ver 1.36.15 on Ubuntu 20.04 LTS x64. I am trying to export an event, but when I click on the export button, nothing happens. zoneminder logs to the system log and with 16 ip cameras, the log is getting updates fairly quickly. As far I can, I cannot see any obvious error messages in the syslog. How can I troubleshoot this issue? Also, is it possible to write some sql and extract the jpegs from the mariadb database?

Thanks
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Cannot export events

Post by iconnor »

Likely fixed in 1.36.16 which is building now.
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Re: Cannot export events

Post by Khurram »

iconnor wrote: Fri May 27, 2022 5:06 pm Likely fixed in 1.36.16 which is building now.
Ok, I guess it will take sometime before I can install through apt. In the meantime, can I get the jpegs through sql?

Thanks
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Re: Cannot export events

Post by Khurram »

I just upgraded zoneminder to 1.36.16 but the problem remains. I still cannot download the event :(
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Cannot export events

Post by iconnor »

The answer will be in the logs. Look in /var/log/apache2/error.log and /var/log/zm/web_php.log.
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Re: Cannot export events

Post by Khurram »

iconnor wrote: Mon May 30, 2022 1:31 pm The answer will be in the logs. Look in /var/log/apache2/error.log and /var/log/zm/web_php.log.
There is no entries in apache2/error.log when I click on export. There is no zm/web_php.log; there is a zm/error.log but again this file shows nothing after clicking on export.

In the meantime, I used ffmpeg to create an mpeg from the event jpegs (just search for the event id in your storage area to locate the directory the jpegs are stored in). I used the following command in the jpeg directory:
ffmpeg.exe -f image2 -framerate 8 -i 00%03d-capture.jpg output.mp4
Thanks
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Cannot export events

Post by Magic919 »

Might be worth trying the download icon and see if that has the same problem as export.
-
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Re: Cannot export events

Post by Khurram »

Magic919 wrote: Mon May 30, 2022 2:45 pm Might be worth trying the download icon and see if that has the same problem as export.
I tried it and it generates a zip or a tar file. I downloaded both one by one, but there are no jpegs or video files in the downloaded archive.

Thanks
Khurram
Posts: 46
Joined: Tue Oct 09, 2007 5:29 pm
Location: Lahore, Pakistan

Re: Cannot export events

Post by Khurram »

I just upgraded to 1.36.17 but the export button still does not do anything :(
davidma
Posts: 36
Joined: Fri Oct 16, 2015 1:40 am

Re: Cannot export events

Post by davidma »

Just wanted to mention I have the same issue but on 1.36.7. I can export and download videos but there is no video inside the .zip file.
davidma
Posts: 36
Joined: Fri Oct 16, 2015 1:40 am

Re: Cannot export events

Post by davidma »

Just wanted to mention that updating to 1.36.19 seems to fix the issue for me. At least now I can generate a video and download it. 8)
Semi-UselessTech
Posts: 1
Joined: Thu Jul 14, 2022 4:05 pm

Re: Cannot export events

Post by Semi-UselessTech »

I am also having this issue, the folder downloads but there are no videos. I am on version 1.36.20 running on Ubuntu Server 20.4.
Was there a fix or work around I missed?
twcamsec
Posts: 5
Joined: Fri Apr 14, 2017 2:01 am

Re: Cannot export events

Post by twcamsec »

Having the same issue of the Export button doing nothing with ZM v1.36.20 on Ubuntu 18.04.6 LTS server. Logs seem to indicate there is no event ID supplied, however, I clicked Export from the event page itself, so that log/response makes no sense:

Code: Select all

==> /var/log/zm/web_php.log <==
7/23/22, 4:07:16 PM EDT.465522 web_php[9919].ERR [192.168.1.1] [No event id(s) supplied] at /usr/share/zoneminder/www/includes/functions.php line 1880

==> /var/log/apache2/error.log <==
[Sat Jul 23 16:07:17.213222 2022] [php7:notice] [pid 9919] [client 192.168.1.1:55881] ERR [No event id(s) supplied], referer: http://192.168.1.254/zm/index.php?view=event&eid=412639&filter[Query][terms][0][attr]=MonitorId&filter[Query][terms][0][op]=%3d&filter[Query][terms][0][val]=5
Event ID was in fact 412639 (shown as eid value above). All of the event images were present and the event is viewable via the console.

Any thoughts?
uuhi
Posts: 13
Joined: Fri Nov 25, 2016 8:22 am

Re: Cannot export events

Post by uuhi »

I'm still having the same issue with v1.36.25. The only way I can get video out is by clicking 'generate video' when watching events. There seems be a no way to export events nor download videos, single or multiple directly as in 1.34.xx.
I got the same error [No event id(s) supplied] supplied at /usr/share/zoneminder/www/includes/functions.php line 1880 in /var/log/zm/web_php.log and /var/log/apache2/error.log although not consistently.
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Cannot export events

Post by iconnor »

Should be fixed in 1.36.26
Post Reply