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...
ZoneMinder on Ubuntu 15.04
-
- Posts: 2
- Joined: Fri Apr 24, 2015 5:02 pm
Re: ZoneMinder on Ubuntu 15.04
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]
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
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
bb
Re: ZoneMinder on Ubuntu 15.04
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
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
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder on Ubuntu 15.04
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
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
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/
All of these can be found at https://zoneminder.blogspot.com/
Re: ZoneMinder on Ubuntu 15.04
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!
i do appreciate the community support and feedback....for that, i am grateful.
cheers!
-
- Posts: 2
- Joined: Fri Apr 24, 2015 5:02 pm
Re: ZoneMinder on Ubuntu 15.04
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!
http://www.zoneminder.com/wiki/index.ph ... se_systemd
Now have 1.28.1 running on 15.04. Huzzah!
Re: ZoneMinder on Ubuntu 15.04
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?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!