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@lists.koha-community.org
          Reporter: joonas.kylm...@helsinki.fi
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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