Discourse - problem installing plugins
-
Hi cloudron community,
It may sound like a supernoob question. But I still have no clue about the answer.
I have a discourse installed here
When I try to install a plugin and run the following lines in the app's terminal:cd /app/code/plugins git clone <plugin-repo> cd /app/code bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Everything works well.
But when I try to run the last line of commandrm -rf /run/discourse/public/assets/*
the site goes down and the app doesn't work anymore.
Why ? And how should I do ? -
@jimmmmy does the site come back up after you restart the app? Sounds like that is the last step.
Restart the application for the assets to get re-built.
-
Exactly, did you read this line above?
https://docs.cloudron.io/apps/discourse/# the line below will force assets to be rebuilt on next application restart rm -rf /run/discourse/public/assets/*
-
@jdaviescoates thank you for your answer. It seems after further inquiries that it was due to a cache problem. I went over it again and all went well.
-
@brutalbirdie yes, thanks