Solved 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 command
rm -rf /run/discourse/public/assets/*
the site goes down and the app doesn't work anymore.
Why ? And how should I do ?
jdaviescoates last edited by
Exactly, did you read this line above?
# 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