Hi all,
I'm looking to upgrade an existing Zoneminder install, currently on v1.25.0, and moving it to a new machine with an updated OS.
Can I just copy over the existing database and selected events to the new machine, and install the current zoneminder version? Or will I need to install the other updates first (1.26, 1.27, etc)? If so, where do I find those versions?
I'll also need to convert to deep folders - can I just run zmaudit on the new machine to do this?
Or does this need to be done prior?
Thanks for the advice.
Upgrading from 1.25.0 to current
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Upgrading from 1.25.0 to current
I'm going to assume by "current" you mean the latest release, which is 1.30.4. Consequently, I've gone ahead and moved this to the 1.30.x forum.
The following steps assume you already have a working 1.30.4 instance of zoneminder with an empty dB already set up. If you have local devices, rather than IP devices, then you will need to ensure the local devices are moved to the new server & working after step 6 below.
To upgrade you need to perform the following in order:
The following steps assume you already have a working 1.30.4 instance of zoneminder with an empty dB already set up. If you have local devices, rather than IP devices, then you will need to ensure the local devices are moved to the new server & working after step 6 below.
To upgrade you need to perform the following in order:
- stop zoneminder on your existing system
- backup your database
- enable deep storage under options
- use zmupdate.pl --migrate-events then wait a while
- restart zm and verify zm 1.25 still runs normally (wait 10 minutes to verify zmaudit doesn't see anything wrong)
- stop zoneminder
- copy your database backup to the new system and restore it to the zm database
- copy all your events to the proper event folder on the new system
- run zmupdate.pl to upgrade the dB schema to 1.30.4
- Inspect Options -> Paths and verify all the values on that tab are correct. The parameters are highly system specific. PATH_ZMS may have to be adjusted
- start zoneminder
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/