Bugzilla – Attachment 151083 Details for
Bug 33720
updatedatabase.pl should purge memcached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add memcached restart before updatedatabase.pl is called
Bug-33720-koha-upgrade-schema (text/plain), 570 bytes, created by
Jake Deery
on 2023-05-11 13:58:57 UTC
(
hide
)
Description:
Add memcached restart before updatedatabase.pl is called
Filename:
MIME Type:
Creator:
Jake Deery
Created:
2023-05-11 13:58:57 UTC
Size:
570 bytes
patch
obsolete
>diff --git a/debian/scripts/koha-upgrade-schema b/debian/scripts/koha-upgrade-schema >index da50d41f10..54ccbeb61a 100755 >--- a/debian/scripts/koha-upgrade-schema >+++ b/debian/scripts/koha-upgrade-schema >@@ -40,6 +40,11 @@ fi > for name in "$@" > do > if is_instance $name; then >+ ## restart memcached, if it exists >+ if [ -f "/etc/init.d/memcached" ]; then >+ /etc/init.d/memcached restart >+ fi >+ > echo "Upgrading database schema for $name" > KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ > PERL5LIB=$PERL5LIB \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33720
:
151083
|
151881
|
152096
|
152852
|
152853
|
152857
|
152858