[Koha-bugs] [Bug 33720] koha-upgrade-schema should restart memcached

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 31 15:54:14 CEST 2023


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

--- Comment #4 from Jake Deery <jake.deery at ptfs-europe.com> ---
Hi Jonathan,

A fine point, well-raised. Flushing the cache from within updatedatabase.pl
covers a wider range of install types, too.  I've attached another patch, this
time for updatedatabase.pl. To test (assuming the software version is
22.1106000, please amend to suit): 

1. Set database to a historic version near to your own – SQL: UPDATE
systempreferences SET value='22.1105012' WHERE variable='Version';
2. Run sudo koha-upgrade-schema test (or updatedatabase.pl, if you use dev
installs) – notice how nothing happens
3. Apply patch
4. Rerun sudo koha-upgrade-schema test (or updatedatabase.pl, if you use dev
installs) – notice how the upgrade proceeds from correct point (even if it
fails due to duplicate tables / columns / keys)
5. Repeat steps 1 & 4 to validate

Many thanks,
Jake

-- 
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