Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Forum for questions and support relating to the 1.26.x releases only.
Post Reply
bbunge
Posts: 2678
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by bbunge » Wed Oct 16, 2013 2:44 pm

First, thanks to all of you who discovered the bits and pieces to make this work! My process is a bit cumbersome but it worked!!!

Zoneminder 1.25.0 was installed from my write up titled:
Ubuntu Server 12.04 64-bit with Zoneminder 1.25.0 the easy way

I then added the Launchpad repository:

apt-get install python-software-properties
add-apt-repository ppa:iconnor/zoneminder
apt-get update

Install the new Zoneminder

apt-get dist-upgrade

When you get to the first prompt asking what you want to do with the Zoneminder configuration file, STOP for a minute. You will need to create a symbolic link called db in:
/build/buildd/zoneminder-1.26.4 pointing to /usr/share/zoneminder/db
I did this by using Webmin file manager. I know you can open another terminal session to do this but I do what is comfortable for me.

Now that you have created a symbolic link continuue at the first terminal. I selected "Y" to overwrite the configuration file. You will have several other prompts asking if you want to convert the database. I chose to convert it and it worked for me!

When finished open:
nano /etc/init.d/zoneminder

Add above "zmfix -a" sleep 15

Ctrl+o Enter to save

CTRL+x to exit

I did notice that I had to switch my camera from Greyscale to color. Otherwise it all worked! Would be appreciative for comments to improve this. bb

Black_64
Posts: 3
Joined: Sat Feb 09, 2013 9:52 pm

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by Black_64 » Sat Oct 26, 2013 8:22 pm

Thanks bbunge !!

I did follow your install instructions and it is working.

iitywygms
Posts: 118
Joined: Thu Nov 08, 2012 5:19 am

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by iitywygms » Wed Oct 30, 2013 12:41 am

Bbunge.
You da man. Did exactly as you wrote. Upgraded without a hitch.
I also had to change cameras from greyscale to color.
Thank you so much for the info.

ashleyhinton
Posts: 4
Joined: Wed Aug 05, 2009 6:42 pm

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by ashleyhinton » Fri Nov 15, 2013 2:20 pm

Thanks so much for this.
My original 1.25 install was done using your instructions, on Ubuntu 12.04 Server 64bit, and now the upgrade to 1.26.4 is working well.

Thanks again :D

rassi
Posts: 5
Joined: Tue Jan 31, 2012 5:57 am

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by rassi » Thu Nov 21, 2013 11:32 am

Trying to upgrade, but getting this:

Code: Select all

Setting up zoneminder (1.26.4-3) ...
Stopping ZoneMinder: Zoneminder already stopped


Initiating database upgrade to version 1.26.4 from version 1.25.0

Upgrading database to version 1.26.4
Loading config from DB
Saving config to DB
Can't find upgrade from version '1.25.0' at /usr/local/bin/zmupdate.pl line 980.
dpkg: error processing zoneminder (--configure):
 subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
 zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
Solutions?

Magic919
Posts: 61
Joined: Wed Sep 18, 2013 6:56 am

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by Magic919 » Fri Nov 22, 2013 1:26 pm

Run the newest version of zmupdate.pl.

ryan_j
Posts: 1
Joined: Wed Nov 27, 2013 5:00 pm

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Post by ryan_j » Wed Nov 27, 2013 5:14 pm

New to the forums and to zoneminder. I had 1.25 with ubuntu 12.04 server up and running, then decided to update to 1.26.4 before reading this forum. So, it didn't work of course and I tried to go back to repair it by:

Symbolic link:
/build/buildd/zoneminder-1.26.4 pointing to /usr/share/zoneminder/db

Add above "zmfix -a" sleep 15

Reboot server.

Still doesn't work, not sure what to do from here. Link to monitor no longer works and my log doesn't update anymore.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests