"Converting filters from PHP to JSON format" failed
Posted: Wed Sep 17, 2014 5:08 pm
upgrading from 1.24 (ubuntu 10.04) to 1.25 (ubuntu 12.04) yields the following errors:
Code: Select all
# dpkg --configure zoneminder
Setting up zoneminder (1.25.0-1) ...
Stopping ZoneMinder: DBD::mysql::st execute failed: Table 'zm.Logs' doesn't exist at /usr/share/perl5/ZoneMinder/Logger.pm line 609.
Zoneminder already stopped
Initiating database upgrade to version 1.25.0 from version 1.24.2
Upgrading database to version 1.25.0
Loading config from DB
Saving config to DB
Database successfully upgraded from version 1.24.2.
Database successfully upgraded from version 1.24.3.
Converting filters from PHP to JSON format
PurgeWhenFull - failed, please check or report. Query is '{"sort_field":"Id","terms":[{"val":0,"attr":"Archived","op":"="},{"cnj":"and","val":95,"attr":"DiskPercent","op":">="}],"limit":5,"sort_asc":1}'
ERROR: Unknown type {. at /usr/bin/zmupdate.pl line 930
Conversion complete
ERROR 1142 (42000) at line 10: CREATE command denied to user 'zmuser'@'localhost' for table 'Logs'
Output:
Command 'mysql -hlocalhost -uzmuser -pzmpass zm < /usr/share/zoneminder/db/zm_update-1.24.4.sql' exited with status: 1
dpkg: error processing zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zoneminder
#