Upgrade

Forum for questions and support relating to the 1.30.x releases only.
Locked
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Upgrade

Post 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
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Upgrade

Post 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
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Zmjm15
Posts: 90
Joined: Fri Jul 31, 2015 7:56 pm

Re: Upgrade

Post by Zmjm15 »

Thank you asker

I will try this out later!
Falka
Posts: 4
Joined: Sun Jul 31, 2016 6:59 pm

Re: Upgrade

Post 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
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Re: Upgrade

Post by 2Psycho »

Same issue here on Zentyal (Ubuntu 14.04 LTS)
Enjoyment Matters
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Upgrade

Post by bbunge »

If you have added the iconnor PPA you need to do
apt-get update
apt-get upgrade
apt-get dist-upgrade
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Re: Upgrade

Post by 2Psycho »

Hi,
I try d it several times even with dist-upgrade but each time same behaviour
Enjoyment Matters
JRansomed
Posts: 5
Joined: Wed Aug 03, 2016 4:38 pm

Re: Upgrade

Post 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.
Ubuntu 18.04 - Zoneminder 1.32.3
Ubuntu 18.04 - Zoneminder 1.34.5
24 Cameras (Dahua, KingCam, Techage)
antares2001
Posts: 18
Joined: Fri Apr 08, 2016 9:29 am

Re: Upgrade

Post by antares2001 »

Hello,

is 1.30 available for Debian Jessie somewhere? I think the iconnor PPA works only with Ubuntu, doesn't it?
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Upgrade

Post 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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
JRansomed
Posts: 5
Joined: Wed Aug 03, 2016 4:38 pm

Re: Upgrade

Post 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
Ubuntu 18.04 - Zoneminder 1.32.3
Ubuntu 18.04 - Zoneminder 1.34.5
24 Cameras (Dahua, KingCam, Techage)
JRansomed
Posts: 5
Joined: Wed Aug 03, 2016 4:38 pm

Re: Upgrade

Post 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
Ubuntu 18.04 - Zoneminder 1.32.3
Ubuntu 18.04 - Zoneminder 1.34.5
24 Cameras (Dahua, KingCam, Techage)
User avatar
2Psycho
Posts: 37
Joined: Tue Jan 24, 2012 9:45 pm

Re: Upgrade

Post by 2Psycho »

Zoneminder is last night successfully automatic upgraded and running (so far :) ) stable
Enjoyment Matters
AndresCT46
Posts: 3
Joined: Wed Aug 03, 2016 12:41 am

Re: Upgrade

Post 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.
LisaNels
Posts: 19
Joined: Thu Oct 13, 2016 10:53 pm

Re: Upgrade

Post by LisaNels »

I'm also getting the "ERR Terminating, last frame sent time 1470752741.171965 secs more than maximum of 10.000000" errors.
Locked