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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to