[Koha-bugs] [Bug 7857] database upgrade fails with plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 15 18:41:22 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7857

--- Comment #17 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
(In reply to comment #16)
> (In reply to comment #3)
> > At end of upgrade you need to manually restart plack since C4::Context is
> > keeping cache of sysprefs and database upgrade insert to new version from
> > updatedatabase.pl get ignored.
> > 
> > This will be fixed in separate bug.
> 
> Hi Dobrica,
> 
> is this problem solved somewhere ? because it's still here...

Paul,

You have to disable the syspref cache, as I made possible with bug 9005. There
is no other way to deal with this at present. The solution -- to the extent
that there is one -- is to use an update API (like in the non-linear updates
bug) which handles syspref updating via C4::Context, and then if you're using a
single-threaded Plack server it will work. As you know, it is my assertion that
the syspref cache should always be disabled with PSGI.

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


More information about the Koha-bugs mailing list