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

Plugins ...

Scheduled Pinned Locked Moved Solved Discourse
16 Posts 3 Posters 2.5k Views 4 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.
  • N nafets-lesierk

    Hi there.

    • You provide a short how-to on installing plugins for Discourse.
      cd /app/code/plugins
      git clone <plugin-repo>
      restart
    • You also highlight, that installing plugins might break an otherwise healthy installation -> thank God for your excellent back-up features; though you do signal that "official" plugins as you list here should be OK.

    There's 1.) a short query on instructions and 2.) a bit of frustration that a random selection of (official) plugin installs (docs, solved, graphviz) lead to Oops. The software powering this discussion forum encountered an unexpected problem.

    1. In some previous posts on plugins for Discourse, there were a couple of more lines to the instructions mainly:
      cd /app/code
      bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
      Have they gone away on purpose?
    2. Having attempted to install the docs plugin - it does not crash the system immediately; I do see the options in the admin->plugin section. If I go check to activate the plugin, it goes off to "Oops". For the solved and graphiz plugins: the "Oops" singularity comes about right after the mandatory restart; no accessing the admin->plugin, no accessing the system.

    So clearly something is not working here and it might well be my particular installation, albeit it happend dito previously in a prior version; just haven't attempted since systematically. Am up to date on the Discourse version.

    Regards and thanks

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    @nafets-lesierk said in Plugins ...:

    cd /app/code
    bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
    Have they gone away on purpose?

    Yes, this is part of discourse restart sequence and thus not needed.

    Having attempted to install the docs plugin

    Let me test and get back.

    N 1 Reply Last reply
    1
    • girishG girish

      @nafets-lesierk said in Plugins ...:

      cd /app/code
      bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
      Have they gone away on purpose?

      Yes, this is part of discourse restart sequence and thus not needed.

      Having attempted to install the docs plugin

      Let me test and get back.

      N Offline
      N Offline
      nafets-lesierk
      wrote on last edited by
      #3

      @girish said in Plugins ...:

      Let me test and get back.

      Thanks!

      1 Reply Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #4

        I can reproduce this:

        Completed 500 Internal Server Error in 326ms (ActiveRecord: 0.0ms | Allocations: 29968)
        ActionView::Template::Error (The asset "plugins/discourse-docs.js" is not present in the asset pipeline.
        )
        app/helpers/application_helper.rb:93:in `script_asset_path'
        app/helpers/application_helper.rb:144:in `block in preload_script'
        app/helpers/application_helper.rb:143:in `map'
        app/helpers/application_helper.rb:143:in `preload_script'
        app/views/layouts/application.html.erb:42
        app/views/layouts/application.html.erb:41:in `each'
        app/views/layouts/application.html.erb:41
        lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
        lib/topic_list_responder.rb:8:in `respond_with_list'
        app/controllers/list_controller.rb:110:in `block (2 levels) in <class:ListController>'
        app/controllers/application_controller.rb:421:in `block in with_resolved_locale'
        app/controllers/application_controller.rb:421:in `with_resolved_locale'
        lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
        lib/content_security_policy/middleware.rb:12:in `call'
        lib/middleware/anonymous_cache.rb:389:in `call'
        lib/middleware/gtm_script_nonce_injector.rb:10:in `call'
        config/initializers/100-quiet_logger.rb:20:in `call'
        config/initializers/100-silence_logger.rb:29:in `call'
        lib/middleware/enforce_hostname.rb:24:in `call'
        lib/middleware/request_tracker.rb:228:in `call'
        
        jdaviescoatesJ 1 Reply Last reply
        1
        • girishG girish

          I can reproduce this:

          Completed 500 Internal Server Error in 326ms (ActiveRecord: 0.0ms | Allocations: 29968)
          ActionView::Template::Error (The asset "plugins/discourse-docs.js" is not present in the asset pipeline.
          )
          app/helpers/application_helper.rb:93:in `script_asset_path'
          app/helpers/application_helper.rb:144:in `block in preload_script'
          app/helpers/application_helper.rb:143:in `map'
          app/helpers/application_helper.rb:143:in `preload_script'
          app/views/layouts/application.html.erb:42
          app/views/layouts/application.html.erb:41:in `each'
          app/views/layouts/application.html.erb:41
          lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list'
          lib/topic_list_responder.rb:8:in `respond_with_list'
          app/controllers/list_controller.rb:110:in `block (2 levels) in <class:ListController>'
          app/controllers/application_controller.rb:421:in `block in with_resolved_locale'
          app/controllers/application_controller.rb:421:in `with_resolved_locale'
          lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
          lib/content_security_policy/middleware.rb:12:in `call'
          lib/middleware/anonymous_cache.rb:389:in `call'
          lib/middleware/gtm_script_nonce_injector.rb:10:in `call'
          config/initializers/100-quiet_logger.rb:20:in `call'
          config/initializers/100-silence_logger.rb:29:in `call'
          lib/middleware/enforce_hostname.rb:24:in `call'
          lib/middleware/request_tracker.rb:228:in `call'
          
          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by jdaviescoates
          #5

          @girish it'd be really great if you're able to get the Cloudron Discourse package to work better so that all official plugins work! 🙏

          But maybe that's just not possible because of how Cloudron works? 🤷

          At present it feels like Discourse just doesn't really work properly on Cloudron (which has sadly pretty much always been the case afaict 😕 )

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nafets-lesierk
            wrote on last edited by nafets-lesierk
            #6

            Ah, OK. So it was not my incompetence ...
            And obviously, yeah: it would be cool to get plugins to work.
            @jdaviescoates : You point out that

            so that all official plugins work!

            Am I missing something? My success rate was 0/3 plugins; are there some that do work? Maybe that might be a way of figuring out why others don't ...
            Cheers

            jdaviescoatesJ 1 Reply Last reply
            1
            • N nafets-lesierk

              Ah, OK. So it was not my incompetence ...
              And obviously, yeah: it would be cool to get plugins to work.
              @jdaviescoates : You point out that

              so that all official plugins work!

              Am I missing something? My success rate was 0/3 plugins; are there some that do work? Maybe that might be a way of figuring out why others don't ...
              Cheers

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #7

              @nafets-lesierk tbh I've not tried recently, but yes in the past I have successfully installed some!

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nafets-lesierk
                wrote on last edited by
                #8

                @girish : Just for my peace of mind - and not wanting to wait for things that might not happen -> will Cloudron be looking into the plugin question?
                Thanks and regards

                girishG 1 Reply Last reply
                1
                • N nafets-lesierk

                  @girish : Just for my peace of mind - and not wanting to wait for things that might not happen -> will Cloudron be looking into the plugin question?
                  Thanks and regards

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  @nafets-lesierk yes, we will fix it. The package is not very useful without plugins working.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • girishG girish

                    @nafets-lesierk yes, we will fix it. The package is not very useful without plugins working.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #10

                    @girish said in Plugins ...:

                    @nafets-lesierk yes, we will fix it.

                    👏

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nafets-lesierk
                      wrote on last edited by
                      #11

                      @girish : Good morning (CET) - has there been progress made on this topic?
                      Regards

                      girishG 1 Reply Last reply
                      2
                      • N nafets-lesierk

                        @girish : Good morning (CET) - has there been progress made on this topic?
                        Regards

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #12

                        @nafets-lesierk I am on it now.

                        1 Reply Last reply
                        1
                        • N Offline
                          N Offline
                          nafets-lesierk
                          wrote on last edited by
                          #13

                          Thanks and Season's Greetings 🎄
                          Regards

                          1 Reply Last reply
                          1
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #14

                            Plugins should work now. But I have not tested if this specific plugin works.

                            1 Reply Last reply
                            1
                            • nebulonN nebulon marked this topic as a question on
                            • nebulonN nebulon has marked this topic as solved on
                            • N Offline
                              N Offline
                              nafets-lesierk
                              wrote on last edited by
                              #15

                              Thanks! Will test the official ones I mentioned (i.e. docs, solved, graphviz) ASP.
                              Cheers

                              1 Reply Last reply
                              1
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #16

                                @nafets-lesierk see this comment from @IniBudi

                                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