Failed when upgrade from 1.30.3 to 1.31.1

Forum for questions and support relating to the 1.31.x releases only.
Locked
rsmith284
Posts: 1
Joined: Fri Nov 10, 2017 2:39 am

Failed when upgrade from 1.30.3 to 1.31.1

Post by rsmith284 »

Hi guys. I have upgrade zm from ppa:iconnor/zoneminder-master with apt-get and have an error.

Code: Select all

root@e7b284594b15:/# zmupdate.pl                       

Initiating database upgrade to version 1.31.1 from version 1.30.3

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 in /tmp/zm if you have a lot of events.
Press 'y' for a backup or 'n' to continue : n

Upgrading database to version 1.31.1
Loading config from DBNo option 'ZM_DIR_EVENTS' found, removing.
No option 'ZM_DIR_IMAGES' found, removing.
No option 'ZM_DIR_SOUNDS' found, removing.
No option 'ZM_FRAME_SOCKET_SIZE' found, removing.
No option 'ZM_OPT_FRAME_SERVER' found, removing.
No option 'ZM_PATH_ARP' found, removing.
No option 'ZM_PATH_LOGS' found, removing.
No option 'ZM_PATH_MAP' found, removing.
No option 'ZM_PATH_SOCKS' found, removing.
No option 'ZM_PATH_SWAP' found, removing.
No option 'ZM_PATH_ZMS' found, removing.
 207 entries
Saving config to DB 207 entries
Upgrading DB to 1.30.4 from 1.30.3

Database successfully upgraded to version 1.30.4.
Upgrading DB to 1.31.0 from 1.30.3

Database successfully upgraded to version 1.31.0.
Upgrading DB to 1.31.1 from 1.30.3

Database successfully upgraded to version 1.31.1.

Database upgrade to version 1.31.1 successful.

root@e7b284594b15:/# zmaudit.pl 
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmaudit.pl line 78.
Use of uninitialized value $Config{"ZM_DIR_EVENTS"} in pattern match (m//) at /usr/bin/zmaudit.pl line 79.
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmaudit.pl line 79.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 154.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 199.
Database monitor '9' does not exist in filesystemDatabase monitor '11' does not exist in filesystemDatabase monitor '4' does not exist in filesystemDatabase monitor '6' does not exist in filesystemDatabase monitor '8' does not exist in filesystemDatabase monitor '1' does not exist in filesystemDatabase monitor '7' does not exist in filesystemDatabase monitor '5' does not exist in filesystemDatabase monitor '2' does not exist in filesystemDatabase monitor '3' does not exist in filesystemDatabase monitor '10' does not exist in filesystemUse of uninitialized value $Config{"ZM_PATH_SWAP"} in pattern match (m//) at /usr/bin/zmaudit.pl line 462.
Can't stat : No such file or directory
 at /usr/bin/zmaudit.pl line 463.
Deleted 1808 log table entries by time
root@e7b284594b15:/# lsb_release -c
Codename:       trusty
root@e7b284594b15:/# zmaudit.pl -v 
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmaudit.pl line 78.
Use of uninitialized value $Config{"ZM_DIR_EVENTS"} in pattern match (m//) at /usr/bin/zmaudit.pl line 79.
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmaudit.pl line 79.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 154.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Logger.pm line 199.
1.31.1
root@e7b284594b15:/# 
Locked