Page 1 of 1

Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Wed Oct 16, 2013 2:44 pm
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

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Sat Oct 26, 2013 8:22 pm
by Black_64
Thanks bbunge !!

I did follow your install instructions and it is working.

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Wed Oct 30, 2013 12:41 am
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.

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Fri Nov 15, 2013 2:20 pm
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

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Thu Nov 21, 2013 11:32 am
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?

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Fri Nov 22, 2013 1:26 pm
by Magic919
Run the newest version of zmupdate.pl.

Re: Ubuntu 12.04 Zoneminder upgrade from 1.25.0 to 1.26.4

Posted: Wed Nov 27, 2013 5:14 pm
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.