ZM 1.31.1 on Ubuntu 18.04 Bionic

Forum for questions and support relating to the 1.31.x releases only.
Locked
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

ZM 1.31.1 on Ubuntu 18.04 Bionic

Post by bbunge »

For those of you who just have to try Zoneminder 1.31.x on Ubuntu Bionic...

Follow the basic Ubuntu 16.04 install instructions at:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Except...

Add PPA Master: add-apt-repository ppa:iconnor/zoneminder-master

Edit php.ini : nano /etc/php/7.2/apache2/php.ini

To "fix" the API

Download api.fixed.tar.gz from: https://drive.google.com/open?id=1QjvVe ... vXBASFXnNY

Copy api.fixed.tar.gz to the home directory of your Ubuntu server and extract it. All files will be in a folder called api.

Rename /usr/share/zoneminder/www/api to /usr/share/zoneminder/www/api.org

Copy or move the extracted api folder in your home directory to /usr/share/zoneminder/www/

Restart Apache and your Zoneminder api will work.

These are not my usual "detailed" instructions because if you are playing with Beta software you should know a bit about what you are doing with Ubuntu. If you are at all unsure, don't! There are instructions in the WIKI to install the Zoneminder stable 1.30.4 on Ubuntu Bionic.
hans109h
Posts: 18
Joined: Fri Jun 10, 2011 11:58 pm

Re: ZM 1.31.1 on Ubuntu 18.04 Bionic

Post by hans109h »

Just an FYI that I had to manually install the libapache2-mod-php7.2, disable the 7.1 mod and enable the 7.2 for things to work out. I had some issues with my upgrade to 18.04, so not sure if this will apply to others but figured I'd post here in case it is helpful.

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

Re: ZM 1.31.1 on Ubuntu 18.04 Bionic

Post by bbunge »

hans109h wrote: Sat Apr 28, 2018 1:11 am Just an FYI that I had to manually install the libapache2-mod-php7.2, disable the 7.1 mod and enable the 7.2 for things to work out. I had some issues with my upgrade to 18.04, so not sure if this will apply to others but figured I'd post here in case it is helpful.

Hans
Known issues covered in the WIKI for Ubuntu upgrade area.
Locked