22.1->22.2 upgrade: minor doco note and error
Posted: Tue May 30, 2006 3:32 pm
It might be good to note in the upgrade section of the documentation that running the new build stomps the old zm.conf file (or at least it is for me), and that the zm.conf file *must be re-edited to contain the proper ZM_DB_USER and ZM_DB_PASS* *even if you're supplying the -u and -p options*.
Also, the zmupdate script (which the doco still says is in the build directory; it's actually in the scripts subdirectory) threw me this error:
It thinks it succeeded, and maybe it's right... but that looks like maybe a minor bug. SuSE 9.0; factory (RPM) perl.
Also, the zmupdate script (which the doco still says is in the build directory; it's actually in the scripts subdirectory) threw me this error:
Code: Select all
acsi:/appl/ZoneMinder-1.22.2/scripts # perl zmupdate.pl -v 1.22.1 -u root -p terdea
Update agent starting at 06/05/30 11:26:37
Initiating database upgrade to version 1.22.2
Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.
Press enter to continue or ctrl-C to stop :
Do you wish to take a backup of your database prior to upgrading?
This may result in a large file if you have a lot of events.
Press 'y' for a backup or 'n' to continue : y
Creating backup to zm-1.22.1.dump. This may take several minutes.
Database successfully backed up to zm-1.22.1.dump, proceeding to upgrade.
Upgrading database to version 1.22.2
Database successfully upgraded from version 1.22.1.
Loading config from DB
DBI::db=HASH(0x874a43c)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at /usr/lib/perl5/site_perl/5.8.1/ZoneMinder/ConfigAdmin.pm line 1649, <STDIN> line 2.
Saving config to DB
Database upgrade to version 1.22.2 successful.
Update agent exiting at 06/05/30 11:26:49
acsi:/appl/ZoneMinder-1.22.2/scripts #