Following Connor's suggestion to a previous issue, I built a copy of ZoneMinder from the master branch (commit 5a6e700c456176fe2eedc4065caaf9725caae00a
), which managed to fix the issue at hand, but also shed light on another one in which ZM cannot create the ZIP file for upload. On running the filter with the Perl debugger enabled, I don't see anything glaringly obvious, but given my lack of knowledge of Perl, that's not saying much. Stacktrace of the filter crash:
Code: Select all
Can't call method "desiredCompressionLevel" on an undefined value at /usr/share/perl5/Archive/Zip/Archive.pm line 260.
at /usr/share/perl5/Archive/Zip/Archive.pm line 260.
Archive::Zip::Archive::addFile(Archive::Zip::Archive=HASH(0x29a7810), "/mnt/external/6/2018-12-15/8443/snapshot.jpg") called at /usr/bin/zmfilter.pl line 509
main::uploadArchFile(ZoneMinder::Filter=HASH(0x2806c90), ZoneMinder::Event=HASH(0x29a71c8)) called at /usr/bin/zmfilter.pl line 325
main::checkFilter(ZoneMinder::Filter=HASH(0x2806c90)) called at /usr/bin/zmfilter.pl line 209
Rolling back the version for a short time, I can see that this has been present in 1.32.3, it just didn't come up for me because of an issue with shallow storage paths.
Anyone have any ideas as to what could be at play here?