Page 1 of 1

Can't install on Ubuntu 20.04

Posted: Tue Nov 23, 2021 2:04 am
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?

Re: Can't install on Ubuntu 20.04

Posted: Tue Nov 23, 2021 5:07 am
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?

Re: Can't install on Ubuntu 20.04

Posted: Tue Nov 23, 2021 11:41 pm
by junior466
I did not use sudo su. I tried installing 1.34.

Re: Can't install on Ubuntu 20.04

Posted: Thu Nov 25, 2021 3:20 pm
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