[Bug 23578] New: Koha ILL backends directory is not included in @INC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Bug ID: 23578 Summary: Koha ILL backends directory is not included in @INC Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: ILL Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com The Koha ILL backends directory can be configured in koha-conf.xml, however, this directory is not included in @INC To test: 1 - Define backends_directory in koha-conf.xml as /var/lib/koha/instance/Koha/Illbackends 2 - Install a backend there 3 - Restart things, enable ILLModule syspref 4 - Check the about page, it should not have a warning about 'No backends installed' 5 - Try to place a new request - internal server error 6 - Check the plack logs, the module cannot be required -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Currently, you need to define in koha-conf.xml the path: <backend_directory>__PERL_MODULE_DIR__/Koha/Illbackends</backend_directory> on this hybrid plugin/ILL backend: https://gitlab.com/thekesolutions/plugins/koha-plugin-innreach my approach has been to generate directories for both: Koha/Illbackends Koha/Plugin/Com/Theke/INNReach* they are packaged together. And then on koha-conf.xml I only need to put: <backend_directory>/var/lib/koha/plugins/Koha/Illbackends</backend_directory> We should try it with more than one backend. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Tomás Cohen Arazi from comment #1)
<backend_directory>/var/lib/koha/plugins/Koha/Illbackends</backend_directory>
I meant this: <backend_directory>/var/lib/koha/<instance>/plugins/Koha/Illbackends</backend_directory> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 AspenCat Team <aspencatteam@clicweb.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aspencatteam@clicweb.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Does this still require a fix? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- We have discussed moving the backends to be traditional Koha plugins, then Tomas' solution works well. We have been using a version of the Koha-2-koha plugin that functions this way and that has been a good workaround. If we want to support the plugins as-is then this should be addressed -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |19605 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I am adding 19605 as a dependency. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19605 [Bug 19605] ILL backends should be pluggable through regular Koha plugins -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@ptfs-europe.co | |m --- Comment #6 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- Adding my suggestion at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19605#c9 to this discussion. After 19605 is pushed, we support both ways of loading ILL backends (old backend_dir way and this new plugin way) for a while (1 year? 2 years?) and after that period we deprecate the old backend_dir way of doing things. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23578 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #7 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- This is no longer an issue. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org