Page 1 of 1

ZoneMinder on Ubuntu 15.04

Posted: Fri Apr 24, 2015 10:52 am
by sodisuhy
has anyone upgraded Ubuntu from 14.04 to 15.04 with ZoneMinder installed? my plan is to stand up a VM in this condition and go through the upgrade process before i touch my prod machine.

just curious...

Re: ZoneMinder on Ubuntu 15.04

Posted: Fri Apr 24, 2015 5:09 pm
by johnefrancis
I upgraded to 15.04 from 14.10.

Under 14.10, I had a solid installation running 1.28.1 from the PPA.

Unable to get the service started under 15.04. Times out. :(

I suspect it may have to do with change from upstart to systemd/systemctl.

I did notice that the chown statements were failing in /etc/init.d/zoneminder, so I commented them out. The directories its attempting to chown are already owned by www-data.

Not seeing anything interesting in the logs:

Apr 24 13:07:58 u24b6-nzxt zmpkg[13472]: INF [Command: status]
Apr 24 13:07:59 u24b6-nzxt zmpkg[13480]: INF [Command: start]
Apr 24 13:07:59 u24b6-nzxt zmsystemctl[13486]: INF [Redirecting command through systemctl]
Apr 24 13:07:59 u24b6-nzxt systemd[1]: Starting LSB: Control ZoneMinder as a Service...
Apr 24 13:07:59 u24b6-nzxt zmpkg[13494]: INF [Command: start]
Apr 24 13:07:59 u24b6-nzxt systemd[1]: Cannot determine UID from slice user-0.slice
Apr 24 13:07:59 u24b6-nzxt systemd[1]: Started Session c9 of user root.
Apr 24 13:07:59 u24b6-nzxt systemd[1]: Starting Session c9 of user root.
Apr 24 13:07:59 u24b6-nzxt zmsystemctl[13500]: INF [Redirecting command through systemctl]

Re: ZoneMinder on Ubuntu 15.04

Posted: Fri Apr 24, 2015 5:12 pm
by bbunge
Well, now I have something to do this weekend! Am downloading 15.04 and will get the tutorials updated as soon as I get the lawn mowed.

bb

Re: ZoneMinder on Ubuntu 15.04

Posted: Fri Apr 24, 2015 8:27 pm
by bbunge
Folks, wait to upgrade or try to install ZM from the PPA. There is not a version of ZM there, yet, for Ubuntu 15.04. If you do an upgrade from 14.x to 15.04 your ZM install will be overwritten by the ZM package in 15.04 which is ZM 1.26.5. And you will have a mess on your hands!

With that said the 1.26.5 version in Ubuntu 15.04 does install and run well. As far as I can tell it is not using systemd...yet.

Until iconnor gets a ZM package for 15.04 about the only way to get 1.28.1 is to use the source code.

bb

Re: ZoneMinder on Ubuntu 15.04

Posted: Sat Apr 25, 2015 12:52 am
by knight-of-ni
Hey, alright. The Ubuntu crowd is finally joining the systemd club.

Theoretically, you should be able to install the current zoneminder package and make a few changes.

1) delete the zoneminder sys v init script under /etc/init.d
2) follow the later steps in Bill's guide that document how to create a zoneminder systemd service file and how to create a tmpfiles.d config file. http://www.zoneminder.com/wiki/index.ph ... se_systemd

Re: ZoneMinder on Ubuntu 15.04

Posted: Sat Apr 25, 2015 12:27 pm
by sodisuhy
hey, all...thanks for the replies. i am going to hold off for now as i am quite happy (and dependent!) on my ZoneMinder install. if i had more time this weekend, i would upgrade and go to 1.26.5.

i do appreciate the community support and feedback....for that, i am grateful.

cheers!

Re: ZoneMinder on Ubuntu 15.04

Posted: Sat Apr 25, 2015 5:18 pm
by johnefrancis
I followed the steps to configure for systemctl/systemd at

http://www.zoneminder.com/wiki/index.ph ... se_systemd

Now have 1.28.1 running on 15.04. Huzzah!

:o

Re: ZoneMinder on Ubuntu 15.04

Posted: Sun Apr 26, 2015 2:15 pm
by sodisuhy
johnefrancis wrote:I followed the steps to configure for systemctl/systemd at

http://www.zoneminder.com/wiki/index.ph ... se_systemd

Now have 1.28.1 running on 15.04. Huzzah!

:o
did you simply upgrade the OS to 15.04 and then execute those instructions, or did you do a fresh install of everything (OS, ZM) and then perform the aforementioned config?