is there an easy way to upgrade to 1.23?

Support and queries relating to all previous versions of ZoneMinder
Locked
cyrulution
Posts: 52
Joined: Sat Jul 28, 2007 12:27 pm
Location: Kinzweiler, Germany and Beith, Scotland

is there an easy way to upgrade to 1.23?

Post by cyrulution »

I got ZM on an Ubuntu 8.04 server machine running. I'd like to upgrade to ZM 1.23 without loosing settings or data. Is there an easy way?
Serenity is not freedom from storm; it's peace within the storm
shoetick
Posts: 15
Joined: Wed Jun 07, 2006 9:20 pm

Post by shoetick »

what version of ZM are you running now? The zmupdate.pl script will update your database while leaving your events and monitors untouched. make a backup of your database and your events dir (if possible) before hand. but everything should be fine unless maybe it's a really old version of zm.
cyrulution
Posts: 52
Joined: Sat Jul 28, 2007 12:27 pm
Location: Kinzweiler, Germany and Beith, Scotland

Post by cyrulution »

shoetick wrote:what version of ZM are you running now? The zmupdate.pl script will update your database while leaving your events and monitors untouched.
I'm running 1.22.3 (the version I got from the Ubuntu 8.04 LTS server installation with "apt-get install zoneminder").
Where do I get and how do I run zmupdate.pl ?
Serenity is not freedom from storm; it's peace within the storm
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

zmupdate.pl is covered here
But is basic as you just enter the version your upgradng from as an argument.

Code: Select all

zmupdate.pl –version=<from> [--user=<database> --pass=<database>]
And backup your database before hand and DO NOT START ZM untll after you are sure everything else is working correctly.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

If you installed with the deb from the repos, you can install Peters newer deb, and it will upgrade you. You may need to redo the links, and suid zmfix again.
cyrulution
Posts: 52
Joined: Sat Jul 28, 2007 12:27 pm
Location: Kinzweiler, Germany and Beith, Scotland

Post by cyrulution »

Lee Sharp wrote:If you installed with the deb from the repos, you can install Peters newer deb, and it will upgrade you. You may need to redo the links, and suid zmfix again.
Where can I find "Peter's newer deb". I haven't found it in "downloads" and the wiki.
Serenity is not freedom from storm; it's peace within the storm
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

It's in the Debian unstable repos I believe.
cyrulution
Posts: 52
Joined: Sat Jul 28, 2007 12:27 pm
Location: Kinzweiler, Germany and Beith, Scotland

Post by cyrulution »

Cordel, when I try your way with the zmupdate.pl where do I have to place the update files? and what update files? source?
I land at "no files found".
Serenity is not freedom from storm; it's peace within the storm
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

How have you installed the new version?
If from source then ZM will have set the proper path back to the source code for update.
If from another method, then I don't know.
Should work fine so long as you have not deleted or moved the source files.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

cyrulution wrote:
Lee Sharp wrote:If you installed with the deb from the repos, you can install Peters newer deb, and it will upgrade you. You may need to redo the links, and suid zmfix again.
Where can I find "Peter's newer deb". I haven't found it in "downloads" and the wiki.
The first link in "Other on the ZM download page is ftp://www.northern-ridge.com.au/zoneminder/ and I think you can find it from there. :)
Locked