The installation here is Ubuntu 14.04.3 with a multi-tenant package install of Koha 3.20.07... I'm trying to enable the Plugin system using the instructions in the manual (http://manual.koha-community.org/3.20/en/pluginsystem.html) and here (https://github.com/bywatersolutions/koha-plugin-coverflow). - Changed koha-conf.xml <enable_plugins> to 1 - Ensured <pluginsdir> exists and is writeable by the koha user (755) - Restarted both services apache2 and koha-common. - Changed the UseKohaPlugins system preference to Enabled But when I click on the Tool Plugins link under Tools, I get the message... Plugins disabled! To enable Koha plugins, the system preference UseKohaPlugins must be enabled, and the flag enable_plugins must be set in the Koha configuration file Suggestions? gcb ______________________
Are you running memcached? If so you'll want to restart that: sudo /etc/init.d/memcached restart Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Wed, Jan 27, 2016 at 11:46 AM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
The installation here is Ubuntu 14.04.3 with a multi-tenant package install of Koha 3.20.07...
I'm trying to enable the Plugin system using the instructions in the manual (http://manual.koha-community.org/3.20/en/pluginsystem.html) and here (https://github.com/bywatersolutions/koha-plugin-coverflow).
- Changed koha-conf.xml <enable_plugins> to 1
- Ensured <pluginsdir> exists and is writeable by the koha user (755)
- Restarted both services apache2 and koha-common.
- Changed the UseKohaPlugins system preference to Enabled
But when I click on the Tool Plugins link under Tools, I get the message...
Plugins disabled! To enable Koha plugins, the system preference UseKohaPlugins must be enabled, and the flag enable_plugins must be set in the Koha configuration file
Suggestions?
gcb ______________________
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks, Kyle. I configured memcached on all instances a few weeks back. Restarting cleared the error message. However, continuing with your instructions on GitHub… - Uploaded v2.0 and configured the plugin through “Report Plugins” - On the server itself, the CoverFlow files are present in the instance’s directory (/var/lib/koha/library1/plugins/Koha/Plugin/Com/ByWaterSolutions/CoverFlow/coverflow.pl, etc.) - Created a local report that successfully returns a handful of records with biblionumber, isbn & title - Followed the remainder of the configuration as described in the document (https://github.com/bywatersolutions/koha-plugin-coverflow) substituting the new report’s number - Restarted both apache2 and memcached…just to be on the safe side - The opac shows nothing more than “Loading…” Looking at apache2/other_vhosts_access.log, it appears a 404 error is being generated when the page attempts to hit jquery.flipster.min.js … "GET /plugin/Koha/Plugin/Com/ByWaterSolutions/CoverFlow/jquery-flipster/src/js/jquery.flipster.min.js?_=1454006509306 HTTP/1.1" 404 … gcb Are you running memcached? If so you'll want to restart that: sudo /etc/init.d/memcached restart Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Those directions appear to be incomplete. You also need to add this alias to the opac section of the apache conf: Alias /plugin "/var/lib/koha/library1/plugins" Kyle On Thu, Jan 28, 2016 at 2:05 PM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Added. Now I’m getting a 403 error… … "GET /plugin/Koha/Plugin/Com/ByWaterSolutions/CoverFlow/jquery-flipster/src/js/jquery.flipster.min.js?_=1454009931757 HTTP/1.1" 403 … gcb ______________________ Gary C. Bortel Office of the Secretary of State, Washington State Library gary.bortel@sos.wa.gov 360.570.5588 Washington State Library: Empowering 21st Century Washington From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Thursday, January 28, 2016 11:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System Those directions appear to be incomplete. You also need to add this alias to the opac section of the apache conf: Alias /plugin "/var/lib/koha/library1/plugins" Kyle On Thu, Jan 28, 2016 at 2:05 PM, Bortel, Gary <gary.bortel@sos.wa.gov<mailto:gary.bortel@sos.wa.gov>> wrote: https://github.com/bywatersolutions/koha-plugin-coverflow http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Add this as well: <Directory /var/lib/koha/library1/plugins> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Thu, Jan 28, 2016 at 3:01 PM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
Added. Now I’m getting a 403 error…
… "GET /plugin/Koha/Plugin/Com/ByWaterSolutions/CoverFlow/jquery-flipster/src/js/jquery.flipster.min.js?_=1454009931757 HTTP/1.1" 403 …
gcb ______________________
Gary C. Bortel Office of the Secretary of State, Washington State Library gary.bortel@sos.wa.gov 360.570.5588
Washington State Library: Empowering 21st Century Washington
From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Thursday, January 28, 2016 11:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System
Those directions appear to be incomplete. You also need to add this alias to the opac section of the apache conf:
Alias /plugin "/var/lib/koha/library1/plugins"
Kyle
On Thu, Jan 28, 2016 at 2:05 PM, Bortel, Gary <gary.bortel@sos.wa.gov <mailto:gary.bortel@sos.wa.gov>> wrote: https://github.com/bywatersolutions/koha-plugin-coverflow
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Perfect, Kyle! Thanks for adding the updates to the instructions at https://github.com/bywatersolutions/koha-plugin-coverflow gcb ______________________ From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Friday, January 29, 2016 3:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System Add this as well: <Directory /var/lib/koha/library1/plugins> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Glad to help! Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Fri, Jan 29, 2016 at 1:14 PM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
Perfect, Kyle!
Thanks for adding the updates to the instructions at https://github.com/bywatersolutions/koha-plugin-coverflow
gcb ______________________
From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Friday, January 29, 2016 3:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System
Add this as well:
<Directory /var/lib/koha/library1/plugins> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
I just installed Debian-live-8.7.1-amd64-kde-desktop.iso on a virtual machine and Koha 16.11.03 from the Debian packages, and mysql 5.5. I reloaded my koha.sql data from the old system 3.22.05. The upgrade went with a few errors: [Fri Feb 3 22:08:01 2017] updatedatabase.pl: At least one authorised value has an icon defined (imageurl) [Fri Feb 3 22:08:01 2017] updatedatabase.pl: The system preference AuthorisedValueImages or StaffAuthorisedValueImages could be turned off if you are not aware of this feature [Fri Feb 3 22:08:30 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (495) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (1632) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (658) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (20337) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do failed: Can't DROP 'isbn'; check that column/key exists [for Statement "ALTER TABLE biblioitems DROP INDEX isbn"] at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13734. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do failed: Can't DROP 'issn'; check that column/key exists [for Statement "ALTER TABLE biblioitems DROP INDEX issn"] at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13735. I followed the wiki and Kyle's additions to set up plugins. I tried to install my DonorApp plugin. It put the plugin in the proper place but no plugins showed up on the Tools Plugins page. I tried ByWater's kitchen-sink-v1.kpz with the same result. On 01/29/2016 02:30 PM, Kyle Hall wrote:
Glad to help!
Kyle
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
On Fri, Jan 29, 2016 at 1:14 PM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
Perfect, Kyle!
Thanks for adding the updates to the instructions at https://github.com/bywatersolutions/koha-plugin-coverflow
gcb ______________________
From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Friday, January 29, 2016 3:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System
Add this as well:
<Directory /var/lib/koha/library1/plugins> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
Hi Bob, Probably you have a compile error in your plugin, see bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17461. It turns out that if the plugin has some kind of syntax error, the plugin entry won't turn up in the intranet, *and* won't give any errors either! I'm going to take a guess that you have a use C4::Branches in your plugin, as that seems quite common a thing for plugins to choke on since all of the branches stuff was moved to Koha::Libraries in a recent version. You could also try applying or editing your code to use the patch off of the above bug, and see if you get more useful diagnostic information. Sincerely, Liz, who just spent much too long figuring out what the heck was going on and now has a bruised forehead from banging her head on the wall. On 04/02/17 17:50, Bob Ewart wrote:
I just installed Debian-live-8.7.1-amd64-kde-desktop.iso on a virtual machine and Koha 16.11.03 from the Debian packages, and mysql 5.5. I reloaded my koha.sql data from the old system 3.22.05.
The upgrade went with a few errors:
[Fri Feb 3 22:08:01 2017] updatedatabase.pl: At least one authorised value has an icon defined (imageurl) [Fri Feb 3 22:08:01 2017] updatedatabase.pl: The system preference AuthorisedValueImages or StaffAuthorisedValueImages could be turned off if you are not aware of this feature [Fri Feb 3 22:08:30 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (495) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (1632) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (658) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: item-level_itypes set but no itype defined for item (20337) at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13447. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do failed: Can't DROP 'isbn'; check that column/key exists [for Statement "ALTER TABLE biblioitems DROP INDEX isbn"] at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13734. [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do failed: Can't DROP 'issn'; check that column/key exists [for Statement "ALTER TABLE biblioitems DROP INDEX issn"] at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 13735.
I followed the wiki and Kyle's additions to set up plugins.
I tried to install my DonorApp plugin. It put the plugin in the proper place but no plugins showed up on the Tools Plugins page. I tried ByWater's kitchen-sink-v1.kpz with the same result.
On 01/29/2016 02:30 PM, Kyle Hall wrote:
Glad to help!
Kyle
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
On Fri, Jan 29, 2016 at 1:14 PM, Bortel, Gary <gary.bortel@sos.wa.gov> wrote:
Perfect, Kyle!
Thanks for adding the updates to the instructions at https://github.com/bywatersolutions/koha-plugin-coverflow
gcb ______________________
From: Kyle Hall [mailto:kyle.m.hall@gmail.com] Sent: Friday, January 29, 2016 3:17 AM To: Bortel, Gary <gary.bortel@sos.wa.gov> Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha Plugin System
Add this as well:
<Directory /var/lib/koha/library1/plugins> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com )
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- -- Liz Rea Catalyst.Net Limited Level 6, Catalyst House, 150 Willis Street, Wellington. P.O Box 11053, Manners Street, Wellington 6142 GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7
participants (4)
-
Bob Ewart -
Bortel, Gary -
Kyle Hall -
Liz Rea