Page 1 of 1

Upgrade

Posted: Sat Jun 04, 2016 11:58 am
by Zmjm15
Hi guys

Is this out now?

How can I upgrade to this?

Do we need to add a PPA for this?

Many thanks

Re: Upgrade

Posted: Sat Jun 04, 2016 12:44 pm
by asker
1.30 is in 'pre-release' right now. I believe knnniggett mentioned that it will be in pre-release form for a month or so and then a stable release will be made.

iconnor hasn't yet created ppas for 1.30 - I'm sure he'll do so soon. BTW, if you are waiting to experiment, you no longer need to wait for ppas. You can build your own package following this guide http://zoneminder.readthedocs.io/en/lat ... rom-source


My steps to upgrade from A WORKING 1.29 to 1.30-rc1 on ubuntu 15:

Note: when you build the package it will say 1.29. Disregard that. it will actually be 1.30. Note that 1.30 is in 'pre-release' state, so doing this for a production server is not recommended (though I did exactly that, but thats because I know I can fix stuff if things break, and it did not, plus I made a snapshot of my VM incase I had to re-do - so plan for things going wrong if you are working on bleeding-edge releases)

Usual disclaimer: Don't mess with a production system unless you are ready to mess things up.

Code: Select all

sudo systemctl stop zoneminder.service
wget https://raw.githubusercontent.com/ZoneMinder/ZoneMinder/master/utils/do_debian_package.sh
chmod a+x do_debian_package.sh
./do_debian_package.sh `lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'`  `date +%Y%m%d`01 local v1.30.0-rc1
sudo gdebi zoneminder_1.29.0-wily-2016060401_amd64.deb 
sudo chown www-data /etc/zm/zm.conf
sudo chown -R www-data /usr/share/zoneminder/www/api/
sudo systemctl start zoneminder.service

Re: Upgrade

Posted: Sun Jun 05, 2016 11:11 am
by Zmjm15
Thank you asker

I will try this out later!

Re: Upgrade

Posted: Sun Jul 31, 2016 7:03 pm
by Falka
Hello!

I'm trying to update from 1.29.0 (Xubuntu 14.04) and this is what im getting:

Code: Select all

Installing package(s) with command apt-get -y install zoneminder ..
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  zoneminder
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
.. install complete.
Where am i f*cking it up. :o

Re: Upgrade

Posted: Tue Aug 02, 2016 7:00 pm
by 2Psycho
Same issue here on Zentyal (Ubuntu 14.04 LTS)

Re: Upgrade

Posted: Tue Aug 02, 2016 7:45 pm
by bbunge
If you have added the iconnor PPA you need to do
apt-get update
apt-get upgrade
apt-get dist-upgrade

Re: Upgrade

Posted: Tue Aug 02, 2016 7:54 pm
by 2Psycho
Hi,
I try d it several times even with dist-upgrade but each time same behaviour

Re: Upgrade

Posted: Wed Aug 03, 2016 4:48 pm
by JRansomed
Hmm... On Ubuntu 14.04 it appears it is being held back. Not sure why. dist-upgrade won't make it upgrade and doesn't tell you it is being held back, however, upgrade will tell you it is being held back.

Code: Select all

# apt-get -V upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
   libapt-pkg-perl (0.1.29build1)
Use 'apt-get autoremove' to remove it.
The following packages have been kept back:
   zoneminder (1.29.0-trusty => 1.30.0-trusty)
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Re: Upgrade

Posted: Wed Aug 03, 2016 6:44 pm
by antares2001
Hello,

is 1.30 available for Debian Jessie somewhere? I think the iconnor PPA works only with Ubuntu, doesn't it?

Re: Upgrade

Posted: Wed Aug 03, 2016 9:35 pm
by SteveGilvarry
https://packages.qa.debian.org/z/zoneminder.html
You will have to ask maintainer if he intends to back port to Jessie, he does have it in Unstable already.

Re: Upgrade

Posted: Thu Aug 04, 2016 2:42 am
by JRansomed
Ok, for Ubuntu 14.04 I think I may have found some more to go on. On my system I am running into unsatisfied or unavailable dependencies. Those who aren't able to upgrade with dist-upgrade are probably hitting the same problem. The dependency issues I'm seeing are:

--- libclass-std-fast-perl (UNSATISFIED)
--- libdata-dump-perl (UNSATISFIED)
--- libdata-uuid-perl (UNSATISFIED)
--- libio-socket-multicast-perl (UNSATISFIED)
--- libsoap-wsdl-perl (UNSATISFIED)
--- libsys-cpu-perl (UNSATISFIED)
--- libsys-meminfo-perl (UNAVAILABLE)

The problem appears to be libsys-meminfo-perl

Re: Upgrade

Posted: Thu Aug 04, 2016 5:58 pm
by JRansomed
Good news Ubuntu 14.04 admins. The maintainer of the iconnor PPA is working on this. I see the new package for libsys-meminfo-perl in the repo and a test on a vanilla machine is now successful. He might still be working on this, so if it doesn't work, give him some time. A huge thanks for how fast he jumped on this! :-D

Re: Upgrade

Posted: Fri Aug 05, 2016 6:33 am
by 2Psycho
Zoneminder is last night successfully automatic upgraded and running (so far :) ) stable

Re: Upgrade

Posted: Tue Aug 09, 2016 3:41 pm
by AndresCT46
We are having trouble with this too.

2 server, both with Ubuntu 14.04 lts, both with zoneminder 1.29.0, both stopping with similar socket errors.
Each server has 16-cores (2 x CPU AMD Opteron 4000 8-core ), 16GB RAM, 8TB disk and around 70 HD H264 cameras.

We didn't have those problems with zoneminder 1.28. Problem just started with ZM 1.29.0
We decided to upgrade because we did some test with 1.29 and we realized that 1.29 save some resources from the CPU, so CPU run more smoother.
But unfortunately Zoneminder stops suddenly.

In recent days we made the upgrade to version 1.30 , but still with error of socket and Zonemider stop :cry: .

2016-08-09 09:25:41.672047 zms 10612 ERR Terminating, last frame sent time 1470752741.171965 secs more than maximum of 10.000000 zm_monitor.cpp 4192
2016-08-09 09:25:40.856080 web_php 9683 ERR socket_sendto( /var/run/zm/zms-327370s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 1993
2016-08-09 09:25:29.498292 zms 10504 ERR Terminating, last frame sent time 1470752728.998109 secs more than maximum of 10.000000 zm_monitor.cpp 4192
2016-08-09 09:25:28.704386 web_php 7628 ERR socket_sendto( /var/run/zm/zms-327370s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 1993
2016-08-09 09:25:17.144069 zms 10500 ERR Terminating, last frame sent time 1470752716.643687 secs more than maximum of 10.000000 zm_monitor.cpp 4192
2016-08-09 09:25:16.586816 web_php 9688 ERR socket_sendto( /var/run/zm/zms-327370s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 1993


We appreciate any help.

I attach error log ZoneMinder today.

Thank you.

Re: Upgrade

Posted: Fri Oct 14, 2016 3:43 am
by LisaNels
I'm also getting the "ERR Terminating, last frame sent time 1470752741.171965 secs more than maximum of 10.000000" errors.