Page 1 of 1
is there an easy way to upgrade to 1.23?
Posted: Wed Feb 11, 2009 10:41 pm
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?
Posted: Wed Feb 11, 2009 11:11 pm
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.
Posted: Thu Feb 12, 2009 6:17 am
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 ?
Posted: Thu Feb 12, 2009 7:16 am
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.
Posted: Thu Feb 12, 2009 6:22 pm
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.
Posted: Thu Feb 12, 2009 9:02 pm
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.
Posted: Thu Feb 12, 2009 10:53 pm
by cordel
It's in the Debian unstable repos I believe.
Posted: Fri Feb 13, 2009 5:58 am
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".
Posted: Fri Feb 13, 2009 9:40 am
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.
Posted: Fri Feb 13, 2009 6:46 pm
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.