Upgrading 1.21.0 -> 1.21.1

Support and queries relating to all previous versions of ZoneMinder
Locked
Ruler
Posts: 235
Joined: Mon Nov 08, 2004 9:02 pm
Location: Bay City, MI

Upgrading 1.21.0 -> 1.21.1

Post by Ruler »

I was wondering if any special steps are required to upgrade from version 1.21.0 to the latest 1.21.1 or if simply compiling/installing the new version is sufficient.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

All the upgrade details are in the readme at this link here:
http://www.zoneminder.com/fileadmin/dow ... EADME.html
Cheers,
Cordel
smmason
Posts: 3
Joined: Wed Jun 15, 2005 5:43 pm

Post by smmason »

cordel wrote:All the upgrade details are in the readme at this link here:
http://www.zoneminder.com/fileadmin/dow ... EADME.html
Cheers,
Cordel
Well I'm still a bit confused about upgrading.

The ./configure worked fine, but I'm not sure if I really need to run
perl zmconfig.pl (when I do it complains that it can't access the database, but gives no options on what ID/password to use...)
Do I need to do that, as well as make, make install, then running zmupdate.pl?

I love Zoneminder, and found it relatively easy to install and configure, but I think there should be a bit more in-depth documentation on upgrading, as I've seen this question asked a few times on the forum.



Thanks!

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

Post by cordel »

You do everything like you are doing an install since you are.
Except insted of setting up the database (since that is already done ) you need to upgrade it to add or change any tables that the new version may need.
Because of new features yes you should rerun perl zmconfig so that it can populate the database with this information and the build process needs values from it.
Everything stays the same as an install except for the database

use the zmupdate.pl script to updating for you, this will include all the database changes plus any other tweaks necessary to upgrade to the latest version. To use it you should type

zmupdate.pl –version=<previous version> [--user=<db user> --pass=<db password>]

where ‘previous version’ relates to the version of ZM you are upgrading from.

The readme me details it really well. I really think you should give it a look.
smmason
Posts: 3
Joined: Wed Jun 15, 2005 5:43 pm

Post by smmason »

Thanks!
I'll have another read of the docs, I must have missed a section :)

I'll be upgrading from FC2 to FC4 soon, so hopefully I can use yum soon.

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

Post by cordel »

I don't know that I'll be makeing that transition right away. I don't have a machine to load FC4 on yet. So hard to say when I'll start building for it.
smmason
Posts: 3
Joined: Wed Jun 15, 2005 5:43 pm

Post by smmason »

Got my upgrade done. Thanks for the help!
Locked