How To Upgrade

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

How To Upgrade

Post by Biggus » Wed Mar 19, 2014 12:06 pm

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: 2231
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How To Upgrade

Post by knight-of-ni » Thu Mar 20, 2014 12:38 am

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 » Thu Mar 20, 2014 9:16 am

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: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: How To Upgrade

Post by PacoLM » Thu Mar 20, 2014 9:42 pm

Hi,

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

Regards,

PacoLM

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

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

Re: How To Upgrade

Post by bbunge » Sat Mar 22, 2014 8:07 pm

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: 2445
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How To Upgrade

Post by bbunge » Sun Mar 23, 2014 12:43 am

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: 2445
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: How To Upgrade

Post by bbunge » Sun Mar 23, 2014 1:32 pm

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: 2231
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How To Upgrade

Post by knight-of-ni » Sun Mar 23, 2014 3:58 pm

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: 25
Joined: Fri Jun 28, 2013 2:49 pm

Re: How To Upgrade

Post by MKEbrew » Fri May 02, 2014 2:18 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests