Page 1 of 2

Cannot export events

Posted: Fri May 27, 2022 12:46 pm
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

Re: Cannot export events

Posted: Fri May 27, 2022 5:06 pm
by iconnor
Likely fixed in 1.36.16 which is building now.

Re: Cannot export events

Posted: Fri May 27, 2022 5:36 pm
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

Re: Cannot export events

Posted: Sat May 28, 2022 7:18 pm
by Khurram
I just upgraded zoneminder to 1.36.16 but the problem remains. I still cannot download the event :(

Re: Cannot export events

Posted: Mon May 30, 2022 1:31 pm
by iconnor
The answer will be in the logs. Look in /var/log/apache2/error.log and /var/log/zm/web_php.log.

Re: Cannot export events

Posted: Mon May 30, 2022 2:30 pm
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

Re: Cannot export events

Posted: Mon May 30, 2022 2:45 pm
by Magic919
Might be worth trying the download icon and see if that has the same problem as export.

Re: Cannot export events

Posted: Mon May 30, 2022 5:31 pm
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

Re: Cannot export events

Posted: Wed Jun 01, 2022 4:39 pm
by Khurram
I just upgraded to 1.36.17 but the export button still does not do anything :(

Re: Cannot export events

Posted: Sat Jun 18, 2022 7:49 pm
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.

Re: Cannot export events

Posted: Sat Jun 18, 2022 8:30 pm
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)

Re: Cannot export events

Posted: Thu Jul 14, 2022 7:48 pm
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?

Re: Cannot export events

Posted: Sat Jul 23, 2022 8:18 pm
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?

Re: Cannot export events

Posted: Thu Sep 15, 2022 9:31 am
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.

Re: Cannot export events

Posted: Fri Sep 16, 2022 10:19 pm
by iconnor
Should be fixed in 1.36.26