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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. How to rebuild the container from the Web Terminal?

How to rebuild the container from the Web Terminal?

Scheduled Pinned Locked Moved Solved Discourse
discourse
8 Posts 3 Posters 1.4k Views 3 Watching
  • 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.
    • dev_nikemaD Offline
      dev_nikemaD Offline
      dev_nikema
      wrote on last edited by girish
      #1

      I've been installing plugins on discourse according to the instructions here. I'm having a problem where I'm not able to see the settings for installed plugins.

      For example, I installed discourse-subscriptions and added my stripe information but I can't get to the settings to set up the products and subscriptions.

      The discourse instructions say to rebuild the container after installing plugins. How do I do that within cloudron?

      1 Reply Last reply
      0
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @dev_nikema Have you tried restarting the app already? Under Console -> Restart App. This is required for new plugins to load after installation.

        dev_nikemaD 1 Reply Last reply
        0
        • girishG girish

          @dev_nikema Have you tried restarting the app already? Under Console -> Restart App. This is required for new plugins to load after installation.

          dev_nikemaD Offline
          dev_nikemaD Offline
          dev_nikema
          wrote on last edited by
          #3

          @girish Yes, I've restarted many times.

          1 Reply Last reply
          0
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            @dev_nikema I was able to reproduce it. I think the issue is that a recent package introduced asset caching. The assets have to be cleared manually before the restart. In the terminal, run:

            rm -rf /run/discourse/public/assets/*
            

            Then restart the app. You should see the Subscriptions view after that (maybe refresh the browser if required).

            c3a4f964-b305-4b4f-825c-31ffae436058-image.png

            1 Reply Last reply
            1
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #5

              Fixed the docs as well - https://cloudron.io/documentation/apps/discourse/#installing-plugins

              1 Reply Last reply
              1
              • J Offline
                J Offline
                jfrey
                wrote on last edited by
                #6

                Hello,

                I am facing the same issue, my plugins are not listed anymore in the admin "plugins" section, which prevent me to configure them properly. Running the command to remove the assets did not do anything (I tried it, repeatedly, restarting the app, installing new plugins, etc.). Everything is up to date as of today (discourse 2.5.0, cloudron 5.3.3). I am not sure when the page broke, it was working a couple months ago when I tuned the configuration of "discourse-chat-interaction" (this plugin, and the others, still work, their settings still appearing in other admin pages). I did nothing unusual since then on either the discourse or cloudron install.

                Is there a new step to perform since one of the latest discourse update?

                1 Reply Last reply
                0
                • girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @jfrey So, a way to reproduce this is to install discourse, then install discourse-chat-interaction and then the plugin does not appear anymore in the admin "plugins" section?

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jfrey
                    wrote on last edited by
                    #8

                    I finally tested on a fresh install... and it works. So I dug some more, comparing the two installations, and realized at some point is a JS error on my regular install, linked to the chat integration plugin. In the end the code was outdated (it relied on a deprecated API), so I pulled the last version from git and... it worked.

                    Long story short: this was a plugin bug 🤷 Sorry for the noise, and thanks for suggesting testing a separate install!

                    1 Reply Last reply
                    1
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

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