Upgrade to .26 failed - kinda

Forum for questions and support relating to the 1.31.x releases only.
Locked
geraldbrandt
Posts: 129
Joined: Tue Dec 09, 2014 10:20 pm

Upgrade to .26 failed - kinda

Post by geraldbrandt »

Things seems to be working, but I did get mysql issues...

Code: Select all

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# 
Eradicator
Posts: 41
Joined: Tue Jan 24, 2017 5:58 am

Re: Upgrade to .26 failed - kinda

Post by Eradicator »

Saw that error. Try apt upgrade again.
User avatar
iconnor
Posts: 2896
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Upgrade to .26 failed - kinda

Post by iconnor »

Yeah I'm not sure what is going on there yet.
geraldbrandt
Posts: 129
Joined: Tue Dec 09, 2014 10:20 pm

Re: Upgrade to .26 failed - kinda

Post by geraldbrandt »

I had to do it twice to get a clean upgrade, but it seemed to have worked.

Thanks,
Gerald
sonicspeedway
Posts: 12
Joined: Mon Jan 22, 2018 7:02 pm

Re: Upgrade to .26 failed - kinda

Post by sonicspeedway »

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.
Locked