Upgrading from 1.26.4 to 1.26.5 Error's
Posted: Wed Dec 25, 2013 12:29 pm
Hello,
Today I tried to upgrade my current setup from 1.26.4 to 1.26.5.
The compilation runs ok without any error's but at the moment I want to upgrade the database to the latest version or the start it generates several errors:
zmupdate.pl --user=USER_NAME--pass=MYSQL_PASSWORD
I discoverd that the value of "ZM_SERVER_HOST" was empty and changed the value in the zm.conf file to other values like: localhost, SERVERNAME, DOMAIN name etc.
The error output then indicates this:
I removed 1.26.5 and went back to 1.26.4 this one is running fine.
Today I tried to upgrade my current setup from 1.26.4 to 1.26.5.
The compilation runs ok without any error's but at the moment I want to upgrade the database to the latest version or the start it generates several errors:
zmupdate.pl --user=USER_NAME--pass=MYSQL_PASSWORD
Code: Select all
Use of uninitialized value in transliteration (tr///) at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 82, <CONFIG> line 51.
Can't use an undefined value as a symbol reference at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 83, <CONFIG> line 51.
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 100, <CONFIG> line 51.
Compilation failed in require at /usr/local/bin/zmupdate.pl line 47, <CONFIG> line 51.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 47, <CONFIG> line 51.
The error output then indicates this:
Code: Select all
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 134.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 150.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 360.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 366.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 475.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 1036.
Bareword "ZM_VERSION" not allowed while "strict subs" in use at /usr/local/bin/zmupdate.pl line 1047.
Execution of /usr/local/bin/zmupdate.pl aborted due to compilation errors.