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.
Locked
bbunge
Posts: 2951
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 »

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: 5
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 »

Thanks bbunge !!

I did follow your install instructions and it is working.
iitywygms
Posts: 123
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 »

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 »

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 »

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: 1381
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 »

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 »

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.
Locked