[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added Status|Failed QA |RESOLVED

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #46 from David Cook --- PS I don't mean to be a buzz kill and I very much appreciate your contributions, Martin! :D <3 -- You are receiving this mail because: You are watching all bug changes.

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #45 from David Cook --- (In reply to Martin Renvoize from comment #44) > I've added an alternative approach to bug 30897 that uses the proposed > getppid and kill approach. > > It's not tested yet, but hopefully can get

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #44 from Martin Renvoize --- I've added an alternative approach to bug 30897 that uses the proposed getppid and kill approach. It's not tested yet, but hopefully can get this one moving again. -- You are receiving

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added Priority|P5 - low|P1 - high

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added CC||k...@trust-box.at --

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2024-04-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added CC||d...@plix.at -- You are

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-12-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #43 from Victor Grousset/tuxayo --- (In reply to Martin Renvoize from comment #26) > Adding this here for reference so I don't forget.. we might be able to use > https://perldoc.perl.org/functions/getppid to find the

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Victor Grousset/tuxayo changed: What|Removed |Added Severity|enhancement |normal ---

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #41 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #40) > I didn't know that bug 20630 would be necessary. I though it was already > done in the wild by some providers tweaking their setup to manage

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #40 from Victor Grousset/tuxayo --- (In reply to David Cook from comment #39) > (In reply to Martin Renvoize from comment #38) > > Are tenants not isolated already? Plugins, by default, go into > >

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #39 from David Cook --- (In reply to Martin Renvoize from comment #38) > Are tenants not isolated already? Plugins, by default, go into > /var/lib/Koha/site/... and run under the instance user. Yeah, currently they're

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #38 from Martin Renvoize --- Are tenants not isolated already? Plugins, by default, go into /var/lib/Koha/site/... and run under the instance user. -- You are receiving this mail because: You are watching all bug

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #37 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #36) > Ok since the multi-tenant case isn't a problem here, one Koha instance will > always have a reasonable number of workers vs the number of

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #36 from Victor Grousset/tuxayo --- (In reply to David Cook from comment #35) > 8 CPUs and 400 workers is an extreme example. > > If you're multi-tenanted, you'll have fewer workers. But if you're not > multi-tenanted,

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #35 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #34) > (In reply to David Cook from comment #33) > > Everything would be configuration driven, so you could still have people > > upload plugins,

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-03 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #34 from Victor Grousset/tuxayo --- (In reply to David Cook from comment #33) > Everything would be configuration driven, so you could still have people > upload plugins, and Koha could put them in the right place. If

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-02 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #33 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #32) > In that case of multi-tenancy with shared workers, allowing plugin > management via UI would be a no anyway, right? Everything would be

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-11-02 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #32 from Victor Grousset/tuxayo --- (In reply to David Cook from comment #29) > We'd need to "preload" the base code, which we don't currently do in Koha, > in order to get that benefit of compiling once and then forking

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-31 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #31 from David Cook --- So there's another problem with the concept of automatically reloading Starman on install/upgrade/uninstall. The "background_tasks" hook is run in background_jobs_worker.pl which also loads

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-31 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #30 from David Cook --- Personally, I've moved to only allowing plugins installed via the CLI, which makes managing this issue fairly trivial. I'll install a plugin and start the necessary processes for the necessary

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-31 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #29 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #28) > :( Too bad. Thanks for the real world knowledge. I was hopping the actual > compile would happen on the 1st request. The "plack.psgi" file

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-31 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #28 from Victor Grousset/tuxayo --- (In reply to David Cook from comment #27) > If you ran ./misc/devel/install_plugins.pl against all instances, it would > be a paralyzing load on a large shared hosting server, yes. :(

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #27 from David Cook --- (In reply to Victor Grousset/tuxayo from comment #25) > (In reply to Martin Renvoize from comment #23) > > I had a look to see if there was any obvious way to get the instance name or > > track up

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #26 from Martin Renvoize --- Adding this here for reference so I don't forget.. we might be able to use https://perldoc.perl.org/functions/getppid to find the Starman master pid.. I'm going to run a few tests using that

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #25 from Victor Grousset/tuxayo --- (In reply to Martin Renvoize from comment #23) > I had a look to see if there was any obvious way to get the instance name or > track up to find the parent PID so we could call the HUP

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #24 from David Cook --- (In reply to Martin Renvoize from comment #23) > I'm considering coming back to option 1 in David's suggestions... do you > think you're likely to have any time to work through this early next

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 Martin Renvoize changed: What|Removed |Added CC|

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #22 from David Cook --- While Plack::Middleware::Refresh wouldn't work for bug 31729, it could potentially cover the plugin scenario, since we don't use .pl scripts in plugins. But it is designed for development and

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 David Cook changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #21 from David Cook --- Actually, another problem with this whole proposal is that it only takes into account the main plugin .pm file. A plugin can contain many Perl modules, which also need to be updated. Often, these

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #20 from David Cook --- Created attachment 152463 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152463=edit [DO NOT PUSH] - Plugin for testing Just increment the VERSION number in the main file so

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #19 from David Cook --- (In reply to Olivier Hubert from comment #16) > Note that I was unable to recreate the potential issue with only one worker > seeing the changes once Module::Refresh does its job. I just

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #18 from David Cook --- (In reply to Olivier Hubert from comment #16) > I'm reactivating this as I would like to have it solves once and for all. I'll take another look now, as it would be good to get something done for

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-06-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #17 from Katrin Fischer --- *** Bug 30897 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes. ___

[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

2023-02-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074 --- Comment #16 from Olivier Hubert --- I'm reactivating this as I would like to have it solves once and for all. Note that I was unable to recreate the potential issue with only one worker seeing the changes once Module::Refresh