Bug 30821

Summary: unable to install plugin. throws error 500
Product: Koha Reporter: vnsawadi
Component: Plugin architectureAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, jonathan.druart, kyle, martin.renvoize
Version: 21.11   
Hardware: PC   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: plugin not working in koha 21.11

Description vnsawadi 2022-05-20 10:51:28 UTC
Created attachment 135237 [details]
plugin not working in koha 21.11

After upgrading to koha 21.11 from koha 17, the coverflow plugin is not getting installed and other plugins are getting installed but not able to configure. It throws error 500. All those plugins(coverflow, asklibrarian etc) were successfully running in koha 17.
I have attached the screenshots of the same.
Comment 1 Jonathan Druart 2022-06-07 12:44:39 UTC
What's the error?
Comment 2 Martin Renvoize (ashimema) 2022-06-08 07:09:13 UTC
I've had this a few times recently, it's usually the fault of the plugin your trying to install.. or the plugin your trying to upgrade.

I thought perhaps we should code more defensively for install, upgrade and uninstall methods when run.. but I note they're already inside a try/catch block so I'm a little confused.
Comment 3 David Cook 2022-07-22 06:24:13 UTC
That's a 4 year upgrade so some hiccups aren't surprising and there hasn't been a response for 2 months, so I think this probably isn't an issue anymore. Likely was just an issue with the plugins needing an upgrade.