Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Discourse - problem installing plugins

Scheduled Pinned Locked Moved Solved Discourse
5 Posts 3 Posters 399 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jimmmmy
    wrote on last edited by
    #1

    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 ?

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to jimmmmy on last edited by
    #2

    @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.

    https://docs.cloudron.io/apps/discourse/

    I use Cloudron with Gandi & Hetzner

    BrutalBirdieB J 2 Replies Last reply
    1
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to jdaviescoates on last edited by
    #3

    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/*
    

    Like my work? Consider donating a drink drink. Cheers!

    J 1 Reply Last reply
    1
  • J Offline
    J Offline
    jimmmmy
    replied to jdaviescoates on last edited by
    #4

    @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.

    1 Reply Last reply
    3
  • J Offline
    J Offline
    jimmmmy
    replied to BrutalBirdie on last edited by
    #5

    @brutalbirdie yes, thanks 😊

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.