Koha:Plugins: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
# Restart Apache with <code>$ sudo service apache2 restart</code><ref>"Start / Stop and Restart Apache 2 Web Server Command." [https://www.cyberciti.biz/faq/star-stop-restart-apache2-webserver/ ''nixCraft.'']</ref>
# Restart Apache with <code>$ sudo service apache2 restart</code><ref>"Start / Stop and Restart Apache 2 Web Server Command." [https://www.cyberciti.biz/faq/star-stop-restart-apache2-webserver/ ''nixCraft.'']</ref>


Not working. Missing plugins-upload.pl
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. <code>sudo apt-get install koha-common</code> fixed this.


==References==
==References==
<references />
<references />
[[Category:Koha]]

Latest revision as of 12:13, 2 April 2017

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.