[Koha-bugs] [Bug 22796] New: koha-common and mariadb start in the wrong order
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 28 02:39:50 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22796
Bug ID: 22796
Summary: koha-common and mariadb start in the wrong order
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5 - low
Component: Packaging
Assignee: koha-bugs at lists.koha-community.org
Reporter: shifting-koha at shifting.ca
QA Contact: testopia at bugs.koha-community.org
CC: mirko at abunchofthings.net
Target Milestone: ---
when running my last apt-upgrade, koha-common and mariadb both updated.
Unfortunately, koha tried to configure before mariadb did, meaning that the
database server was still stopped when koha tried to run it's configuration:
Setting up linux-image-amd64 (4.9+80+deb9u7) ...
Setting up koha-common (18.11.04-1) ...
Upgrading database schema for library
DBI
connect('database=koha_theatrealberta;host=localhost;port=3306','koha_theatrealberta',...)
failed: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2 "No such file or directory") at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1517.
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect
to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such
file or directory") at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1520. at
/usr/share/koha/lib/Koha/Database.pm line 107
dpkg: error processing package koha-common (--configure):
subprocess installed post-installation script returned error exit status 255
Setting up mariadb-server-10.1 (10.1.38-0+deb9u1) ...
of course, this was easy to fix by running "dpkg-configure -a" again. But it
would be nice if these packages configured themselves in the right order.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list