How To Upgrade

Forum for questions and support relating to the 1.27.x releases only.
Locked
Biggus
Posts: 96
Joined: Mon Nov 18, 2013 9:15 am

How To Upgrade

Post by Biggus »

OK, I'm still a Linux newbie!

I've got my Ubuntu 12 server setup with Zoneminder 1.26.5 installation all working.
How can I upgrade this to 1.27?

In the past I've been able to open up a terminal and type in sudo apt-get update, sudo apt-get upgrade and it would update?

Is there a step by step guide for a newbie like me?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How To Upgrade

Post by knight-of-ni »

There is a lag between when the 1.27 source code is released and new packages are generated.
It takes time to properly package the source code. If the package builder runs into problems, it could take longer.

I spoke with iconnor this morning, and he is working on packaging the 1.27 release for Ubuntu.
Once he completes that, your machine will upgrade automatically after a apt update, assuming you have already added his ppa (sounds like you did already).
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/
Biggus
Posts: 96
Joined: Mon Nov 18, 2013 9:15 am

Re: How To Upgrade

Post by Biggus »

Thanks, I'm not quite up to packaging and building stuff up myself, but the apt-get method is great and make it easy for people like me to upgrade.

Yes I'm using the iconnor repository, I hope it gets updated soon :-)
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: How To Upgrade

Post by PacoLM »

Hi,

Do you plan to compile the packages also for Debian Wheezy?

Regards,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How To Upgrade

Post by bbunge »

The ZM 1.27 version is now on the PPA repository

apt-get update

then
apt-get dist-upgrade

Worked for me twice!

bb
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How To Upgrade

Post by bbunge »

I need to add that if you use the package installers version of /etc/init.d/zoneminder , Zoneminder will not start before MySQL.

You need to add a delay to the Zoneminder start script:

nano /etc/init.d/zoneminder

Add below:
prog=ZoneMinder
sleep 15

This is documented in:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How To Upgrade

Post by bbunge »

A better spot for the "sleep 15 is above echo -n "Starting $prog: "

start() {
sleep 15
echo -n "Starting $prog: "

bb
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How To Upgrade

Post by knight-of-ni »

The best solution to the startup issue with zoneminder and Ubuntu is for someone to write (or find) a zoneminder upstart script and submit it as a pull request. That would solve this once and for all.
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/
MKEbrew
Posts: 31
Joined: Fri Jun 28, 2013 2:49 pm

Re: How To Upgrade

Post by MKEbrew »

PacoLM wrote:Hi,

Do you plan to compile the packages also for Debian Wheezy?

Regards,

PacoLM
I am curious about this as well.

Thank you.
Locked