Koha:Plugins

From TSAS Library
Revision as of 12:13, 2 April 2017 by JStallings (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To enable plugins in Koha.

  1. Full instructions[1], but we did not need to create the plugins directory—possibly because "enable_plugins" was previously enabled.
  2. Open Apache .conf file at /etc/apache2/sites-enabled/[library].conf
  3. Add Alias /plugin/ "/var/lib/koha/[library]/plugins/" to the bottom of the file, before </VirtualHost>
  4. Restart Apache with $ sudo service apache2 restart[2]

Received a 500 error until update. This may have been because the installation was incomplete (.conf was updated, but the Alias was not created and permissions were not set), so the /plugins/ directory was empty. sudo apt-get install koha-common fixed this.

References

  1. "How to setup plugin system in Koha." KohaGeek.
  2. "Start / Stop and Restart Apache 2 Web Server Command." nixCraft.