Code: Select all
zmupdate.pl --user=user --pass=pass
I fixed it by manually updating the database with
Code: Select all
ALTER TABLE Monitors MODIFY Device tinytext;
Code: Select all
update Config set Value="1.28.1" where value = "1.28.0";
Code: Select all
zmupdate.pl --user=user --pass=pass
Code: Select all
ALTER TABLE Monitors MODIFY Device tinytext;
Code: Select all
update Config set Value="1.28.1" where value = "1.28.0";
Code: Select all
root@lulzsec:/usr/src/ZoneMinder-1.28.1/scripts# perl ./zmupdate.pl --version=1.28.0 --user=root --pass=xxxxxxx
Database already at version 1.28.0, update aborted.
Thankfully - I run a VM so I just reverted back to pre-upgrade state. I'll try it once more.knnniggett wrote:The current tarball contents looks correct.
Make sure you are starting from a clean state before you (re)build. Make-uninstall the previous attempt.
When you expand the source files, open the file configure.ac. The second line, AC_INIT, should be at 1.28.1.
If that is not the case, then you somehow have a copy of the old tarball.
Code: Select all
Feb 18 10:55:33 lulzsec zmpkg[14428]: FAT [Version mismatch, system is version 1.28.0, database is 1.28.1, please run zmupdate.pl to update.]
Code: Select all
Version mismatch, system is version 1.28.0, database is 1.28.1
Code: Select all
Version mismatch, system is version ".ZM_VERSION.", database is ".$Config{ZM_DYN_DB_VERSION}.
Code: Select all
use constant ZM_VERSION => "1.28.1";
Code: Select all
use constant ZM_VERSION => "@VERSION@";
Code: Select all
root@lulzsec:/usr/src/ZoneMinder-1.28.1# cat configure.ac | grep AC_INIT
AC_INIT(zm,1.28.1,[http://www.zoneminder.com/forums/ - Please check FAQ first],zoneminder,http://www.zoneminder.com/downloads.html)
root@lulzsec:/usr/src/ZoneMinder-1.28.1#
Code: Select all
use constant ZM_VERSION => "1.28.1";
Code: Select all
root@lulzsec:/usr/local/bin# service zm start
Starting ZoneMinder: failure
root@lulzsec:/usr/local/bin# tail /var/log/syslog
.....
Feb 18 12:22:06 lulzsec zmpkg[13975]: FAT [Version mismatch, system is version 1.28.0, database is 1.28.1, please run zmupdate.pl to update.]