Bug 25604

Summary: Plugin unlinking failing during uninstall
Product: Koha Reporter: David Cook <dcook>
Component: Plugin architectureAssignee: Bugs List <koha-bugs>
Status: RESOLVED WORKSFORME QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21670
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Cook 2020-05-26 10:44:04 UTC
I'm seeing the following:

Could not unlink /var/lib/koha/kohadev/plugins/Koha/Plugin/Dcook/OahImport.pm.pm: No such file or directory at /kohadevbox/koha/Koha/Plugins/Handler.pm line 106.

Looks like the $plugin_path handling isn't working quite right.
Comment 1 Jonathan Druart 2021-08-19 11:32:48 UTC
How do you recreate that? Is it a random failure?
Comment 2 David Cook 2021-08-19 23:14:31 UTC
(In reply to Jonathan Druart from comment #1)
> How do you recreate that? Is it a random failure?

Good question. I haven't removed any plugins for a long time, so I'm not sure.
Comment 3 Katrin Fischer 2023-12-10 10:16:43 UTC
Can you tell if this one is still valid?
Comment 4 David Cook 2023-12-10 22:25:09 UTC
(In reply to Katrin Fischer from comment #3)
> Can you tell if this one is still valid?

Ehhh I just tried uninstalling a plugin on master and it seems fine. Either it's fixed or the issue I had is old.