Open Giiltham opened 1 month ago
I just tried to reproduce the issue but the plugin was included in the plugins folder after the deployment finished. I edited the values.yaml file
diff --git a/bitnami/discourse/values.yaml b/bitnami/discourse/values.yaml
index 1e451805ae..b5746ad53b 100644
--- a/bitnami/discourse/values.yaml
+++ b/bitnami/discourse/values.yaml
@@ -290,7 +290,8 @@ discourse:
## plugins:
## - https://github.com/discourse/discourse-oauth2-basic
##
- plugins: []
+ plugins:
+ - https://github.com/discourse/discourse-solved
## @param discourse.persistPlugins Persist plugins across container restarts
##
persistPlugins: true
and confirmed that the folder existed
➜ discourse git:(main) k exec -it discouse-discourse-76b694fb5-xr6gn -- ls /opt/bitnami/discourse/plugins/
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
Defaulted container "discourse" out of: discourse, sidekiq
chat discourse-lazy-videos discourse-presence poll
checklist discourse-local-dates discourse-solved spoiler-alert
discourse-details discourse-narrative-bot footnote styleguide
@Giiltham try to reproduce this with a fresh deployment (especially fresh PVC) with persistPlugins: false
from the start. This helped with plugin changes in my case.
If that solves your problem you might have to transition to persistPlugins: false
somehow if you can't reinstall fresh, no idea if manual changes are necessary to keep the PVC but not "persist" the plugins, might be as some plugins might already be "persisted".
@Giiltham try to reproduce this with a fresh deployment (especially fresh PVC) with
persistPlugins: false
from the start. This helped with plugin changes in my case. If that solves your problem you might have to transition topersistPlugins: false
somehow if you can't reinstall fresh, no idea if manual changes are necessary to keep the PVC but not "persist" the plugins, might be as some plugins might already be "persisted".
It worked thanks.
Shouldn't it be specified to try using "persistPlugins: false" in the discourse chart readme if plugins don't work by default ? I've found several topics on internet talking about this afterwards.
Yes, but i think it could be a little more explicit on the subject, it's not only that we can't upgrade them but also that we can add new ones. I understand that the message covers it but that's not always straightforward at a first glance, while i think it is a behavior we would expect by default on any other discourse instance
I myself only read the comment in the values.yaml
when I started out, so adding it there and explicitly stating "no additions" would probably be an improvement, yes 👍🏻
I'm glad to hear you manage to solve the issue with the plugin. As I mentioned, it worked without problems in a fresh deployment. If you think the documentation can be improved, please follow the contribution guidelines to help the users in the future when running into this issue.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Name and Version
bitnami/discourse 13.2.15
What architecture are you using?
None
What steps will reproduce the bug?
Are you using any custom parameters or values?
No response
What is the expected behavior?
No response
What do you see instead?
The plugin can't be found in /opt/bitnami/discourse/plugins/ or in the application itself (administration -> plugins)
Additional information
I can bash in the pod and execute :
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/discourse/discourse-solved
which does work