plugins with assets are not installed properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Discourse Charm |
Confirmed
|
High
|
Thomas Cuthbert |
Bug Description
Summary: When the plugins config option is used, the charm fetches the plugin onto the server(s) but if the plugin has assets, they will not become available.
What I did:
juju config discourse plugins="https:/
What I expected:
The discourse-
What happened instead:
The plugin was installed on the discourse unit, but the resources (js and css) were not available to users.
Workaround:
After the config hooks finished, I ran the following commands on the discourse unit (in the /srv/discourse/
RAILS_ENV=
RAILS_ENV=
RAILS_ENV=
And then restarted the discourse unicorn server via systemctl.
Changed in discourse-charm: | |
assignee: | nobody → Thomas Cuthbert (tcuthbert) |
Changed in discourse-charm: | |
status: | Confirmed → Fix Released |
status: | Fix Released → Confirmed |
Everything Jay ran by hand is part of the prepare_codebase reaction in the charm, we may just want to add a reaction to call that when plugins change.