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 ? -
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.
-
@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/* -
@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.
@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.
-
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/*@brutalbirdie yes, thanks

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login