Upgrade to 1.23.0 from 1.22.3 Failed

Support and queries relating to all previous versions of ZoneMinder
Locked
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Upgrade to 1.23.0 from 1.22.3 Failed

Post by dgellis »

Hello all,

I have a fairly large ZM system that consists of 3 ZM servers supported by a 1.4TB storage box that exports storage shares to the ZM servers using NFS. The storage box is also the mysql server for the 3 ZM servers. The system works fairly well. The system supports 43 Axis network cameras.

The ZM servers are CentOS 5, and the storage box is Fedora Core 6.

My customer wants me to upgrade it to current as it is still at 1.22.3. I began the upgrade process tonight, shut down ZM, worked through the ffmpeg issues, backed upi my 1.22.3 mysql database, installed 1.23.0 and ran zmupdate.pl. It appeared to run OK. Then I tried to start ZM and it failed.

This is what was in syslog:
Nov 7 21:46:01 newjescam zmpkg[11528]: INF [Command: start]
Nov 7 21:46:01 newjescam zmfix[11535]: ERR [Config mismatch, expected 179 items, read 178. Try running 'zmupdate.pl -f' to reload config.]
Nov 7 21:46:01 newjescam zmpkg[11528]: ERR [Unable to run "sudo -u apache /usr/local/bin/zmfix", output is ""]

I also got this message when I tried to run zmupdate.pl:
No option 'ZM_SIGNAL_CHECK_COLOUR' found, removing at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/ConfigAdmin.pm line 1669.

Can you folks kindly point me in the right direction?

Thanks.

Darren Ellis
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Have you tried to freashen the config as suggested by the error (zmupdate.pl -f)?
Also have you made sure that the new zm.conf has the correct info for your database?
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Post by dgellis »

I did do the freshen step, but I did not see anywhere in the upgrade docs where I needed to edit the zm.conf. Can you elaborate please, and point me to where I missed in the documentation? Thank you.

Darren
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Post by dgellis »

Hi Guys,

Is nobody answering this because I have asked an exceedingly stupid question? If this is the case, please point me to the documentation where I can read what I need to know to get past this problem.

Thanks very much.

Darren
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

More likely, no one is sure what the problem is. If it was debian, and Peters debs, I could help you... But in your case, you just have to wait for a CentOS guy to see it.
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Post by dgellis »

Thank you for your reply, Lee.

Darren
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

dgellis wrote:I did do the freshen step, but I did not see anywhere in the upgrade docs where I needed to edit the zm.conf. Can you elaborate please, and point me to where I missed in the documentation? Thank you.

Darren
I am basically asking if you used the same user and password as you had configured for your previous installation?
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Post by dgellis »

Yes, I did use the same user and password.
dgellis
Posts: 16
Joined: Sun Nov 12, 2006 4:21 pm

Post by dgellis »

Is there documentation on the schema of the database in question? Can I manually insert a record to clear this problem?
Locked