Initiating database upgrade to version 1.31.26 from version 1.31.24
Upgrading database to version 1.31.26
Loading config from DB 220 entries
Saving config to DB 220 entries
Upgrading DB to 1.31.25 from 1.31.24
mysql: [Warning] Using a password on the command line interface can be insecure.
Database successfully upgraded to version 1.31.25.
Upgrading DB to 1.31.26 from 1.31.24
mysql: [Warning] Using a password on the command line interface can be insecure.
Database successfully upgraded to version 1.31.26.
DBD::mysql::db STORE failed: Turning on AutoCommit failed at /usr/bin/zmupdate.pl line 911.
DBD::mysql::st execute failed: MySQL server has gone away at /usr/bin/zmupdate.pl line 919.
Can't execute: MySQL server has gone away at /usr/bin/zmupdate.pl line 919.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 95
Setting up zoneminder-doc (1.31.26~20180119210952-xenial) ...
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zoneminder2:/var/log/zm#
Mine did the same this when I upgraded this morning, but something else happened when it did upgrade, all the events/images got deleted on the disk, the events & images folder is empty completely even though the events still exist in the db and now zm wont create new events to disk. This was my experimental/backup server.