-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting video leads to empty tar/zip file #3324
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
Please update to 1.36.7 and let us know if the issue is fixed. In 1.36.6 we updated a lot of the export/downloading code. I was never able to reproduce this bug, but may have fixed it anyways. |
i have the same issue with zoneminder 1.36.7 and ubuntu 20.04 |
Same issue here with 1.36.9 on ubuntu 21.10. |
{Thank you to developers who contribute to ZM!} I found the same/similar problem running ZM 1.36.10 on Ubuntu 20.04 LTS. Downloading video generates a ZIP or TAR file containing folders and files as described by OP and missing the video. I was not filtering for archived events though, just listed events for past day. If I view a single event, then I the download video button works. However, I would like to download multiple events, which is where the ZIP file is broken. |
I have just run into the same issue with 1.37.3. Tar file exports but has multiple empty folders, zip file fails. |
Update, as you can see above it was fixed a long time ago. |
I have just checked the script which was updated for the fix and I can see that this is the update applied in November 2021. The history for this script indicates that there have been a few more updates since that one but nothing to suggest any further fix for the problem as described. If it really is fixed can you help me establish why I have the problem. What evidence can I collect? |
Sorry, should have been clear, the Nov 2021 version is the one included in 1.37.3 and is the one I am running. |
We need the web_php.log from doing the export. Perhaps turn on debugging first. |
I've turned on Log_Debug and changed Log_Debug_Level to 9 with no component specified and nothing in the web_php.log. Then I changed Log_Level_Weblog to debug but still nothing. I even tried specifying _web as a component. I've also restarted ZM with debug set on. I did, however, sort out the problem trying export as a zip file. zip wasn't installed! |
Describe Your Environment
Describe the bug
I have an archived video(s) that i would like to download. I go to Filters -> Search for archived videos -> Select -> Click on download then click on "Generate Download"
I will briefly wait for data to be exported then i get an almost empty zip file.
It will contain folder named "zmExport_207327"
zmFileList.txt file containing:
And empty folders named with event ID (for example 65896)
No video files anywhere.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A zip file containing video should be downloaded
Debug Logs
Please advise how to extract debug logs
The text was updated successfully, but these errors were encountered: