Page 1 of 1
Database version issue after upgrading to 1.26.5
Posted: Tue Dec 17, 2013 11:47 am
by DigitalDeviant
After upgrading from 1.26.4 to 1.26.5 I get the following error running zmupdate.pl --version=1.26.4 --user=xxx --pass=xxx
Code: Select all
routine main::ZM_VERSION redefined at /usr/bin/zmupdate.pl line 47
main::BEGIN() called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
eval {...} called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
Prototype mismatch: sub main::ZM_VERSION () vs none at /usr/bin/zmupdate.pl line 47
main::BEGIN() called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
eval {...} called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
Subroutine ZoneMinder::Database::ZM_DB_USER redefined at /usr/bin/zmupdate.pl line 102.
Database already at version 1.26.4, update aborted.
Original install and update were done with the RPMs
here. Any help would be appreciated.
Re: Database version issue after upgrading to 1.26.5
Posted: Tue Dec 17, 2013 1:26 pm
by michael smith
ubuntu 12.04 a new deb package just came through, 1.25.5-1 and toasted my ZM with the same error
Database already at version 1.26.4, update aborted. ZM is now stopped and complainin that the Db is 1.26.4 not 1.26.5 it just happened now~
Cheers
Michael Smith
Re: Database version issue after upgrading to 1.26.5
Posted: Tue Dec 17, 2013 1:41 pm
by Magic919
Can you try a suggestion I saw in another thread -
The workaround for this is to put the following line back into your zm.conf file:
ZM_VERSION=1.26.5
Re: Database version issue after upgrading to 1.26.5
Posted: Tue Dec 17, 2013 3:23 pm
by DigitalDeviant
Magic919 wrote:Can you try a suggestion I saw in another thread -
The workaround for this is to put the following line back into your zm.conf file:
ZM_VERSION=1.26.5
Thanks, that looks like it works. It throws errors but seems to run. Likewise starting the service throws errors but works.
Code: Select all
zmupdate.pl --version=1.26.4 --user=xxx --pass=xxx
Constant subroutine main::ZM_VERSION redefined at /usr/bin/zmupdate.pl line 47
main::BEGIN() called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
eval {...} called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
Prototype mismatch: sub main::ZM_VERSION () vs none at /usr/bin/zmupdate.pl line 47
main::BEGIN() called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
eval {...} called at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 47
Subroutine ZoneMinder::Database::ZM_DB_USER redefined at /usr/bin/zmupdate.pl line 102.
Code: Select all
ZoneMinder: Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Constant subroutine ZoneMinder::ZM_VERSION redefined at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
Prototype mismatch: sub ZoneMinder::ZM_VERSION () vs none at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 33
I'm still testing but functionality seems OK.