apt database access denied issue updating from 1.34.23 to 1.34.25

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Posts: 48
Joined: Sat Jan 23, 2021 11:08 am

apt database access denied issue updating from 1.34.23 to 1.34.25

Post by jperkins » Wed Apr 14, 2021 7:44 pm

Hi, thanks for updating the PPA. I just updated and ran into an issue
[s]This may have been the first time I updated ZM, not sure.[/s] EDIT - no, I have updated previously via apt and did not have this issue
my initial install was .22 . I upgraded via apt to .23 successfully. now the upgrade to .25 is failing via apt

Really may be an apt/mariadb issue and not an issue with ZM and all. I am not sure

Ubuntu 20.04.2 LTS
mysql Ver 15.1 Distrib 10.3.25-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Unpacking zoneminder (1.34.25-focal1) over (1.34.23-focal1)
I installed using https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x

Code: Select all

Setting up zoneminder (1.34.25-focal1) ...
Detected db service is mariadb.service
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Creating zm db
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Error creating db.
dpkg: error processing package zoneminder (--configure):
I verified the zmuser and zmpass works as configured at /etc/zm/zm.conf
runing sudo update.pl fixed my installation regarding a mismatch of the database, however apt is still broken.

I think the problem is that the apt update is trying to connect to mariadb as root without using a password. I have a password set on the root account of mariadb.

thanks for the quick update of the PPA and for any help regarding this issue.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests