Upgraded yesterday from 1.34.15 to .16, and everything looked OK, but this morning I went to check on things and I can't log in.
There's a message: "Unable to connect to ZM db.could not find driver" It doesn't specify what driver is missing.
web_php.log has [Failed db connection to ] at /usr/share/zoneminder/www/includes/database.php line 74
I noticed it says "connection to <blank>" and I'm sure that is a clue but I'm not sure what to do with it.
[SOLVED] "Unable to connect to ZM db"
[SOLVED] "Unable to connect to ZM db"
Last edited by BlueH2O on Wed Jul 29, 2020 1:56 pm, edited 1 time in total.
[SOLVED] Re: "Unable to connect to ZM db"
Found the problem. libapache2-mod-php7.3 was missing. Somehow pieces of php7.0 were hanging around even tho it wasn't installed, zoneminder was trying to use those instead.
Re: [SOLVED] "Unable to connect to ZM db"
How did you fix this issue? Remove php 7.0? I've run into the same issue.
Re: [SOLVED] "Unable to connect to ZM db"
apt remove php7.0-cli php7.0-common php7.0-gd php7.0-json php7.0-opcache php7.0-readline php7.0-xml php7.0 libapache2-mod-php7.0