(Solved) Zoneminder Update failed on Ubuntu 14.04.2 LTS

Forum for questions and support relating to the 1.28.x releases only.
Locked
DasBrot
Posts: 23
Joined: Fri Jun 12, 2015 9:50 am

(Solved) Zoneminder Update failed on Ubuntu 14.04.2 LTS

Post by DasBrot »

Zoneminder Update failed on Ubuntu 14.04.2 LTS
Isaac Connor Repo

I have some permission problems,
this will also be one again
how can I fix this?

Code: Select all

Initiating database upgrade to version 1.28.100 from version 1.28.1

Upgrading database to version 1.28.100
Loading config from DB
Saving config to DB
Upgrading DB to 1.28.1 from 1.28.1

Database successfully upgraded to version 1.28.1.
Upgrading DB to 1.28.100 from 1.28.1

Database successfully upgraded to version 1.28.100.
Upgrading DB to 1.28.99 from 1.28.1
ERROR 1142 (42000) at line 376: CREATE command denied to user 'zmuser'@'localhost' for table 'Servers'
Output:
Command 'mysql -hlocalhost -uzmuser -pzmpass zm < /usr/share/zoneminder/db/zm_update-1.28.99.sql' exited with status: 1
dpkg: Fehler beim Bearbeiten des Paketes zoneminder (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bernd
Last edited by DasBrot on Thu Jul 16, 2015 11:54 am, edited 1 time in total.
DasBrot
Posts: 23
Joined: Fri Jun 12, 2015 9:50 am

Re: Zoneminder Update failed on Ubuntu 14.04.2 LTS

Post by DasBrot »

solved :
mysql -u root -p
grant CREATE on *.* to zmuser@localhost;
than the update works.
Locked