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. Problem configuring plugin

Problem configuring plugin

Scheduled Pinned Locked Moved Solved Discourse
11 Posts 3 Posters 1.7k 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.
    • D Offline
      D Offline
      dude
      wrote on last edited by
      #1

      Hi all

      Hi all, new cloudron user here (self hosted)

      I went to Discourse forum to get help regarding their RSS Polling Plugin at https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/42?u=dude

      But they say they do not give support to Cloudron hosted Discourse forums, so seems I have no other option than to try to get help from fellow cloudron users.

      I am on latest cloudron, and Discours 2.6.2, running on DO droplet

      Installing and activating the RSS Polling plugin seems to work well, but when I try to add a feed by clicking on the + icon, nothing happens (inputfields to edit do not open/do not show up) and I get this error message.

      Screenshot_2021-02-25 Skjermdump fra 2021-02-25 09-28-06 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

      In Chromium it look like this:

      Screenshot_2021-02-25 Skjermdump fra 2021-02-25 12-24-02 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

      Anyone have any idea what might be the problem, and how to solve it? I have tried three different browsers, disabled adblock, tracking protection, everything I can think of…refreshed, cleaned cache, still not working.

      Plugin author says all work as intended when plugin is installed on a Discourse instance that is installed the supported way (not cloudron): https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/52?u=dude

      So, anyone here able to help?

      girishG D 4 Replies Last reply
      0
      • D dude

        Hi all

        Hi all, new cloudron user here (self hosted)

        I went to Discourse forum to get help regarding their RSS Polling Plugin at https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/42?u=dude

        But they say they do not give support to Cloudron hosted Discourse forums, so seems I have no other option than to try to get help from fellow cloudron users.

        I am on latest cloudron, and Discours 2.6.2, running on DO droplet

        Installing and activating the RSS Polling plugin seems to work well, but when I try to add a feed by clicking on the + icon, nothing happens (inputfields to edit do not open/do not show up) and I get this error message.

        Screenshot_2021-02-25 Skjermdump fra 2021-02-25 09-28-06 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

        In Chromium it look like this:

        Screenshot_2021-02-25 Skjermdump fra 2021-02-25 12-24-02 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

        Anyone have any idea what might be the problem, and how to solve it? I have tried three different browsers, disabled adblock, tracking protection, everything I can think of…refreshed, cleaned cache, still not working.

        Plugin author says all work as intended when plugin is installed on a Discourse instance that is installed the supported way (not cloudron): https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/52?u=dude

        So, anyone here able to help?

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @dude if it works outside cloudron, it should work in cloudron as well. Let me test and get back.

        1 Reply Last reply
        1
        • D dude

          Hi all

          Hi all, new cloudron user here (self hosted)

          I went to Discourse forum to get help regarding their RSS Polling Plugin at https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/42?u=dude

          But they say they do not give support to Cloudron hosted Discourse forums, so seems I have no other option than to try to get help from fellow cloudron users.

          I am on latest cloudron, and Discours 2.6.2, running on DO droplet

          Installing and activating the RSS Polling plugin seems to work well, but when I try to add a feed by clicking on the + icon, nothing happens (inputfields to edit do not open/do not show up) and I get this error message.

          Screenshot_2021-02-25 Skjermdump fra 2021-02-25 09-28-06 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

          In Chromium it look like this:

          Screenshot_2021-02-25 Skjermdump fra 2021-02-25 12-24-02 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

          Anyone have any idea what might be the problem, and how to solve it? I have tried three different browsers, disabled adblock, tracking protection, everything I can think of…refreshed, cleaned cache, still not working.

          Plugin author says all work as intended when plugin is installed on a Discourse instance that is installed the supported way (not cloudron): https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/52?u=dude

          So, anyone here able to help?

          girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #3

          @dude I could reproduce your problem, I will take a closer look tomorrow.

          D 1 Reply Last reply
          1
          • girishG girish

            @dude I could reproduce your problem, I will take a closer look tomorrow.

            D Offline
            D Offline
            dude
            wrote on last edited by
            #4

            @girish Thank you

            1 Reply Last reply
            0
            • D dude

              Hi all

              Hi all, new cloudron user here (self hosted)

              I went to Discourse forum to get help regarding their RSS Polling Plugin at https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/42?u=dude

              But they say they do not give support to Cloudron hosted Discourse forums, so seems I have no other option than to try to get help from fellow cloudron users.

              I am on latest cloudron, and Discours 2.6.2, running on DO droplet

              Installing and activating the RSS Polling plugin seems to work well, but when I try to add a feed by clicking on the + icon, nothing happens (inputfields to edit do not open/do not show up) and I get this error message.

              Screenshot_2021-02-25 Skjermdump fra 2021-02-25 09-28-06 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

              In Chromium it look like this:

              Screenshot_2021-02-25 Skjermdump fra 2021-02-25 12-24-02 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

              Anyone have any idea what might be the problem, and how to solve it? I have tried three different browsers, disabled adblock, tracking protection, everything I can think of…refreshed, cleaned cache, still not working.

              Plugin author says all work as intended when plugin is installed on a Discourse instance that is installed the supported way (not cloudron): https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/52?u=dude

              So, anyone here able to help?

              D Offline
              D Offline
              dude
              wrote on last edited by
              #5

              I am a bit amazed at the folks over at Discourse. They have actually deleted my above linked requests for support. Just hope some of you managed to read them before they got deleted, so no one thinks I am making things up.

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

                I got swamped by other support tickets today, so this bug lives another day.

                1 Reply Last reply
                1
                • D dude

                  Hi all

                  Hi all, new cloudron user here (self hosted)

                  I went to Discourse forum to get help regarding their RSS Polling Plugin at https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/42?u=dude

                  But they say they do not give support to Cloudron hosted Discourse forums, so seems I have no other option than to try to get help from fellow cloudron users.

                  I am on latest cloudron, and Discours 2.6.2, running on DO droplet

                  Installing and activating the RSS Polling plugin seems to work well, but when I try to add a feed by clicking on the + icon, nothing happens (inputfields to edit do not open/do not show up) and I get this error message.

                  Screenshot_2021-02-25 Skjermdump fra 2021-02-25 09-28-06 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

                  In Chromium it look like this:

                  Screenshot_2021-02-25 Skjermdump fra 2021-02-25 12-24-02 png (PNG-bilde, 1440 × 900 piksler) - Skalert (85 %).png

                  Anyone have any idea what might be the problem, and how to solve it? I have tried three different browsers, disabled adblock, tracking protection, everything I can think of…refreshed, cleaned cache, still not working.

                  Plugin author says all work as intended when plugin is installed on a Discourse instance that is installed the supported way (not cloudron): https://meta.discourse.org/t/configure-the-discourse-rss-polling-plugin/156387/52?u=dude

                  So, anyone here able to help?

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @dude Just starting taking a look now and I think the issue is that the latest master branch of the plugin is supporting Discourse 2.7 whereas Cloudron is on 2.6.2. Indeed, the error message you have on the console matches the latest commit - https://github.com/discourse/discourse-rss-polling/commit/fe176b4c1a8ccc7c8cc9fd3c9c56305e8dbb0d48 . The plugin author probably knew that but most likely got distracted by Cloudron installation 🙂

                  So, git reset to the previous commit - git reset --hard 45b174a3e5fb3bea07fa613412da4d3c9c2858bf and then rm -rf /run/discourse/public/assets/* and restart the app. It seems to work after that:

                  85c0a9b4-a2f7-4ba4-bc51-adae66a0e78a-image.png

                  D 1 Reply Last reply
                  2
                  • girishG girish

                    @dude Just starting taking a look now and I think the issue is that the latest master branch of the plugin is supporting Discourse 2.7 whereas Cloudron is on 2.6.2. Indeed, the error message you have on the console matches the latest commit - https://github.com/discourse/discourse-rss-polling/commit/fe176b4c1a8ccc7c8cc9fd3c9c56305e8dbb0d48 . The plugin author probably knew that but most likely got distracted by Cloudron installation 🙂

                    So, git reset to the previous commit - git reset --hard 45b174a3e5fb3bea07fa613412da4d3c9c2858bf and then rm -rf /run/discourse/public/assets/* and restart the app. It seems to work after that:

                    85c0a9b4-a2f7-4ba4-bc51-adae66a0e78a-image.png

                    D Offline
                    D Offline
                    dude
                    wrote on last edited by
                    #8

                    @girish thank you.

                    But I am not sure how to use that git command, where to use it, and in what order, any help?

                    BrutalBirdieB 1 Reply Last reply
                    0
                    • D dude

                      @girish thank you.

                      But I am not sure how to use that git command, where to use it, and in what order, any help?

                      BrutalBirdieB Offline
                      BrutalBirdieB Offline
                      BrutalBirdie
                      Partner
                      wrote on last edited by BrutalBirdie
                      #9

                      @dude (btw this username confuses me hella lot 😄 )
                      From following the docs for Discourse:

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

                      cd /app/code/plugins
                      git clone <plugin-repo>
                      cd /app/code
                      bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME'] 
                      
                      # the line below will force assets to be rebuilt on next application restart
                      rm -rf /run/discourse/public/assets/*
                      

                      This tells me I have to go into /app/code/plugins and clone my plugin.
                      In your case its:

                      https://github.com/discourse/discourse-rss-polling

                      so the command would be

                      cd /app/code/plugins
                      git clone https://github.com/discourse/discourse-rss-polling.git
                      

                      This way the newest version is installed.

                      @girish figured out you need to downgrade to a specific commit

                      This would look like:

                      cd /app/code/plugins/discourse-rss-polling
                      git reset --hard 45b174a3e5fb3bea07fa613412da4d3c9c2858bf
                      

                      This way git resets the current state master (freshly cloned) to the state of the commit ID 45b174a3e5fb3bea07fa613412da4d3c9c2858bf

                      After that rm -rf /run/discourse/public/assets/* and restart the app.

                      Like my work? Consider donating a drink. Cheers!

                      D 1 Reply Last reply
                      2
                      • BrutalBirdieB BrutalBirdie

                        @dude (btw this username confuses me hella lot 😄 )
                        From following the docs for Discourse:

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

                        cd /app/code/plugins
                        git clone <plugin-repo>
                        cd /app/code
                        bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME'] 
                        
                        # the line below will force assets to be rebuilt on next application restart
                        rm -rf /run/discourse/public/assets/*
                        

                        This tells me I have to go into /app/code/plugins and clone my plugin.
                        In your case its:

                        https://github.com/discourse/discourse-rss-polling

                        so the command would be

                        cd /app/code/plugins
                        git clone https://github.com/discourse/discourse-rss-polling.git
                        

                        This way the newest version is installed.

                        @girish figured out you need to downgrade to a specific commit

                        This would look like:

                        cd /app/code/plugins/discourse-rss-polling
                        git reset --hard 45b174a3e5fb3bea07fa613412da4d3c9c2858bf
                        

                        This way git resets the current state master (freshly cloned) to the state of the commit ID 45b174a3e5fb3bea07fa613412da4d3c9c2858bf

                        After that rm -rf /run/discourse/public/assets/* and restart the app.

                        D Offline
                        D Offline
                        dude
                        wrote on last edited by dude
                        #10

                        @brutalbirdie thanks a lot. I was not aware I had to navigate inside the discourse-rss-polling directory to issue the git reset
                        command. Tanks for helping

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          dude
                          wrote on last edited by
                          #11

                          I guess this thread can be marked as "solved".

                          Thanks for help, @girish and @BrutalBirdie

                          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