Doesn't create ZIP files for upload

Forum for questions and support relating to the 1.25.x releases only.
Locked
Cubytus
Posts: 32
Joined: Sun Oct 14, 2012 6:30 pm

Doesn't create ZIP files for upload

Post by Cubytus »

Hello all,

i solved the issue of ZM not wanting to start with error

Code: Select all

Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.pm line 168.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
following this post.

Briefly, it seems that, at times, ZoneMinder doesn't gracefully shutdown and loses the "Config" table, which it subsequently is unable to recreate automatically.

However, my next priority, besides ZM actually starting, is uploading events to my FTP server (SFTP will be tried later). For that, I followed this post from user B F, and get many of these errors in syslog:

Code: Select all

Dec 26 02:29:03 usager-R510-G-ABM3A9 zmfilter[6915]: ERR [Zip error: 4#012 ]
.

As I replaced the /tmp/zm (this directory sitting on a rather small hard drive) directory to create upload files to /home/user/Videos/upload, I set the owner of the latter to www-data:www-data, to no avail, since it wouldn't create or upload files.

What is missing here?
Locked