[Koha-bugs] [Bug 24383] New: koha-create doesn't restart / empty memcached causing installer fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 08:36:50 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24383

            Bug ID: 24383
           Summary: koha-create doesn't restart / empty memcached causing
                    installer fail
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org

If in /etc/koha/koha-sites.conf I have defined USE_MEMCACHED="yes" and then I
run "koha-create --create-db kvkoha" and after that "koha-remove kvkoha" and
then again "koha-create --create-db kvkoha" then when I try to access the web
installer page I get the following error:

> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Access denied for user 'koha_kvkoha'@'localhost' (using password: YES) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1520. at /usr/share/koha/lib/Koha/Database.pm line 107

This seems to happen because the memcached instance still holds the database
credentials from the first time koha-create was run. The solution is to clear
the memcached cache:

> $ systemctl restart memcached

After this the web installer loads correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list