Bug 35242 - Force memcache restart after koha upgrade
Summary: Force memcache restart after koha upgrade
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Mason James
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-02 22:53 UTC by Mason James
Modified: 2023-11-14 14:50 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00,23.05.06,22.11.12


Attachments
Bug 35242: Force memcache restart after koha upgrade (1.31 KB, patch)
2023-11-03 02:19 UTC, Mason James
Details | Diff | Splinter Review
Bug 35242: Force memcache restart after koha upgrade (1.38 KB, patch)
2023-11-03 09:38 UTC, Martin Renvoize
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Mason James 2023-11-02 22:53:22 UTC
this bug tracks the progress of forcing a memcache restart after koha upgrade

more info here...
 https://lists.koha-community.org/pipermail/koha-devel/2023-October/048402.html
Comment 1 Mason James 2023-11-03 02:19:30 UTC
Created attachment 158298 [details] [review]
Bug 35242: Force memcache restart after koha upgrade

to test..

1/ install koha-common
    $ sudo apt install koha-common

2/ start memcached, check PID
    $ sudo service memcached start
    $ sudo systemctl status  memcached | grep PID
        Main PID: 52851 (memcached)

3/ build and install new koha-common package (will trigger a restart)
    $ sudo apt install ./koha-common-git+deadbeef.deb

5/ check that memcache is started, and has new PID (52900)
    $ sudo systemctl status  memcached | grep PID
        Main PID: 52900 (memcached)
Comment 2 Martin Renvoize 2023-11-03 09:38:38 UTC
Created attachment 158314 [details] [review]
Bug 35242: Force memcache restart after koha upgrade

to test..

1/ install koha-common
    $ sudo apt install koha-common

2/ start memcached, check PID
    $ sudo service memcached start
    $ sudo systemctl status  memcached | grep PID
        Main PID: 52851 (memcached)

3/ build and install new koha-common package (will trigger a restart)
    $ sudo apt install ./koha-common-git+deadbeef.deb

5/ check that memcache is started, and has new PID (52900)
    $ sudo systemctl status  memcached | grep PID
        Main PID: 52900 (memcached)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 3 Martin Renvoize 2023-11-03 09:39:15 UTC
Trivial and clear fix, works as described, no regressions and scripts are all happy.

Going straight for a PQA here.
Comment 4 Tomás Cohen Arazi 2023-11-03 15:06:32 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 5 Fridolin Somers 2023-11-10 02:23:30 UTC
Pushed to 23.05.x for 23.05.06
Comment 6 Pedro Amorim 2023-11-14 14:50:31 UTC
Nice work everyone!

Pushed to 22.11.x for next release