Bug 24048 - We should have a koha-plugin-enable script
Summary: We should have a koha-plugin-enable script
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-15 14:58 UTC by Martin Renvoize (ashimema)
Modified: 2019-11-15 14:58 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2019-11-15 14:58:39 UTC
We have debian scripts for enabling and disable elastic search and other optional features.. we should add one for the process of enabled/disabling plugins too.

It would need to update the config file and vhost for the instance.

```
Alias /plugin "/var/lib/koha/'instance'/plugins"
# The stanza below is needed for Apache 2.4+
<Directory /var/lib/koha/'instance'/plugins>
      Options Indexes FollowSymLinks ExecCGI
      AddHandler cgi-script .pl
      AllowOverride None
      Require all granted
</Directory>
```