Can't install on Ubuntu 20.04

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
junior466
Posts: 8
Joined: Sun Mar 03, 2019 7:33 pm

Can't install on Ubuntu 20.04

Post by junior466 »

I am following this https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x guide after installing lamp using:

sudo apt-get install tasksel
sudo tasksel install lamp-server

It simply gives me the following when visiting the page:

Code: Select all

ZoneMinder Error

Unable to connect to ZM db using dsn mysql:host=localhost;dbname=zm

could not find driver

ZoneMinder will retry connection in 28 seconds.
Any ideas?
dougmccrary
Posts: 1173
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Can't install on Ubuntu 20.04

Post by dougmccrary »

Hmm. That ordinarily works. You did sudo su before starting?
Did you install 1.34 or 1.36? IOW, did you mod the script for 1.36?
junior466
Posts: 8
Joined: Sun Mar 03, 2019 7:33 pm

Re: Can't install on Ubuntu 20.04

Post by junior466 »

I did not use sudo su. I tried installing 1.34.
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't install on Ubuntu 20.04

Post by bbunge »

If you use MySQL there may be some issues. I recommend Mariadb. Use: sudo apt install apache2 php mariadb-server php-mysql libapache2-mod-php



Better instructions: https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.36.x
Post Reply