[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
I verified the zmuser and zmpass works as configured at /etc/zm/zm.conf
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):
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.