https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41684 --- Comment #3 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- This only worked for me after apply bug 38384 Without that additional set, I still received db locks To test: 1 - Install Rapido plugin 2 - Disable Rapido plugin 3 - Add a notice with code HOLD_CANCELLATION - add title and content to email transport and save 4 - Place several holds for patrons with email addresses 5 - In the DB: UPDATE reserves SET reservedate='2025-01-01' 6 - On command line: perl misc/cronjobs/holds/cancel_unfilled_holds.pl -d 35 -v -c -r unfilled 7 - The first one often succeeed, but then second locks 8 - Apply patch 9 - Clean any partial cancelled holds: DELETE FROM old_reserves; 10 - Repeat 6 11 - Still freezes 12 - Repeat 9 13 - Apply 38384 14 - Repeat 6 15 - Success! -- You are receiving this mail because: You are watching all bug changes.