zip returned with status 14

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
Sigge
Posts: 117
Joined: Mon May 02, 2016 8:14 am

zip returned with status 14

Post by Sigge »

Hello, I am trying to export an event. But the export fails.

I am thinking it has to do with write permissions? Or not enough space on tempfs? How do I debug this?

I am on zoneminder 1.36.35 running on ubuntu 24.04.2

web_php 18810 ERR Command 'zip -r '/var/tmp/zm/zmExport_757512.zip' -0 zmExport_757512/' returned with status 14 /usr/share/zoneminder/www/skins/classic/includes/export_functions.php

Thanks
mikb
Posts: 707
Joined: Mon Mar 25, 2013 12:34 pm

Re: zip returned with status 14

Post by mikb »

Sigge wrote: Wed Jul 09, 2025 8:28 am Hello, I am trying to export an event. But the export fails.

I am thinking it has to do with write permissions? Or not enough space on tempfs? How do I debug this?

I am on zoneminder 1.36.35 running on ubuntu 24.04.2

web_php 18810 ERR Command 'zip -r '/var/tmp/zm/zmExport_757512.zip' -0 zmExport_757512/' returned with status 14 /usr/share/zoneminder/www/skins/classic/includes/export_functions.php

Thanks
"man zip"

(scroll scroll scroll)

Code: Select all

DIAGNOSTICS
...

 14     error writing to a file

 15     zip was unable to create a file to write to
 
 
Sounds like it didn't "15" you for permissions -- it created a file to write to (do you see a file appear in /var/tmp/zm/ZmExport* ?) but then had trouble while writing to it, so possibly ran out of space in /var/tmp. How much space do you have in /var/tmp vs the size of the thing you were trying to export?
Post Reply