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. Installing discourse-calendar

Installing discourse-calendar

Scheduled Pinned Locked Moved Discourse
discoursecalendarpluginsevents
13 Posts 4 Posters 2.0k Views 5 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.
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #1

      I need to use the discourse-calendar plugin but installing using the standard instructions isn't working.

      Help!

      @LoudLemur was trying to do this before and seemingly failed. Did you ever get it to work?

      @nebulon said in bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']:

      I just tried that plugin as well and it seems that it is incompatible with the current release as once installed (following the instructions you have posted from our docs), the database migration will fail for https://github.com/discourse/discourse-calendar/blob/main/db/migrate/20220604200919_create_disabled_holidays.rb

      Btw the actual plugin name for the rake command is discourse-calendar

      But that was a while ago now and https://github.com/discourse/discourse-calendar was updated only 3 hours ago (and is an official plugin that is included as standard in all of Discourse's hosted Business Plans (see https://www.discourse.org/plugins ) and so I cannot believe that it isn't compatible.

      It must be possible to install it, surely?

      I use Cloudron with Gandi & Hetzner

      L 1 Reply Last reply
      0
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #2

        Presumably following the standard Discourse plugin install instructions don't work on Cloudron? or do they?

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #3

          I noticed when looking in the File Manager that for some reason the discourse-calendar folder in the plugins folder was owned by root and not cloudron, so I change the permissions and tried to restart the app in the hope perhaps that was the issue...

          But now the app won't restart.

          I'm seeing this in the logs:

          Nov 02 12:47:25 ArgumentError: Unknown migration version "7.0"; expected one of "4.2", "5.0", "5.1", "5.2", "6.0", "6.1"

          Which is perhaps the same migration issue @nebulon mentioned before?

          But again, this is an official plugin that was only updated 3 hours ago - it must be possible to get it working, surely?!?

          I use Cloudron with Gandi & Hetzner

          jdaviescoatesJ 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            I noticed when looking in the File Manager that for some reason the discourse-calendar folder in the plugins folder was owned by root and not cloudron, so I change the permissions and tried to restart the app in the hope perhaps that was the issue...

            But now the app won't restart.

            I'm seeing this in the logs:

            Nov 02 12:47:25 ArgumentError: Unknown migration version "7.0"; expected one of "4.2", "5.0", "5.1", "5.2", "6.0", "6.1"

            Which is perhaps the same migration issue @nebulon mentioned before?

            But again, this is an official plugin that was only updated 3 hours ago - it must be possible to get it working, surely?!?

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

            @jdaviescoates said in Installing discourse-calendar:

            Which is perhaps the same migration issue @nebulon mentioned before?

            But that is supposed to have been fixed back on 15 June, see

            https://meta.discourse.org/t/migration-version-error-when-updating-discourse/229985/5?u=jdaviescoates

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            0
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #5

              And because we're running Discourse on Cloudron, basically Discourse people won't help because we're not running a standard install.

              Perhaps it is these sort of issues @eddowding was running into when ranting about Discourse not working properly on Cloudron the other day?

              @eddowding said in Discourse and incoming email:

              Is it so hard to make Discourse work as it's supposed to?

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #6

                Apparently it might be because the Cloudron Discourse app is "Cloudron is missing the compatibility file that would stop it from trying to update plugins that were ineligible?"

                https://meta.discourse.org/t/discourse-calendar/97376/363?u=jdaviescoates

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #7

                  Latest thread on this over on Discourse forum (was moved into unsupported section):

                  https://meta.discourse.org/t/cloudron-missing-plugin-pull-compatible-all/244002/3

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #8

                    I was hoping the recent update to Discourse would somehow magically make the Discourse Calendar plugin compatible with Cloudron Discourse, but it didn't 😞

                    I makes me sad that so many official Discourse plugins don't work on Cloudron, but this one not working makes me especially sad 😢

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • jdaviescoatesJ jdaviescoates

                      I need to use the discourse-calendar plugin but installing using the standard instructions isn't working.

                      Help!

                      @LoudLemur was trying to do this before and seemingly failed. Did you ever get it to work?

                      @nebulon said in bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']:

                      I just tried that plugin as well and it seems that it is incompatible with the current release as once installed (following the instructions you have posted from our docs), the database migration will fail for https://github.com/discourse/discourse-calendar/blob/main/db/migrate/20220604200919_create_disabled_holidays.rb

                      Btw the actual plugin name for the rake command is discourse-calendar

                      But that was a while ago now and https://github.com/discourse/discourse-calendar was updated only 3 hours ago (and is an official plugin that is included as standard in all of Discourse's hosted Business Plans (see https://www.discourse.org/plugins ) and so I cannot believe that it isn't compatible.

                      It must be possible to install it, surely?

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #9

                      @jdaviescoates

                      Yes, i have it working. I think if you use the just released discourse-events plugin, you should have some success. Two discourse plugins were merged. I think they were discourse-events and maybe it was also discourse-calendar...

                      https://meta.discourse.org/t/events-plugin/69776/78

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • L LoudLemur

                        @jdaviescoates

                        Yes, i have it working. I think if you use the just released discourse-events plugin, you should have some success. Two discourse plugins were merged. I think they were discourse-events and maybe it was also discourse-calendar...

                        https://meta.discourse.org/t/events-plugin/69776/78

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

                        @LoudLemur afaik they are completely different plugins

                        Discourse Calendar is an official Discourse plugin developed by Discourse (and doesn't work on Cloudron)

                        Discourse Events is developed by a third party called Pavilion (and it sounds like you've got that working)

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        1
                        • jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #11

                          @staff this may help resolve the issue with this official Discourse Calendar plugin not working on Cloudron?

                          https://meta.discourse.org/t/cloudron-missing-plugin-pull-compatible-all/244002/10?u=jdaviescoates

                          I use Cloudron with Gandi & Hetzner

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

                            Working on this in parallel and just wanted to dump the status so far.

                            The reason discourse does not start is the instructions are "git clone" and that checks out the latest plugin code which is sometimes incompatible with the installed discourse version.

                            https://meta.discourse.org/t/pinning-plugin-and-theme-versions-for-older-discourse-installs/156971 says "You can now include a .discourse-compatibility file at the root of a plugin or theme repository, that designates what to checkout when installing on older Discourse versions."

                            Very nice, so we have to figure how to checkout the correct version. And Indeed that calendar plugin has moved on to min compat version of 2.9beta of discourse, we are only on 2.8 still.

                            https://meta.discourse.org/t/migration-failed-on-update-calendar-plugin-to-last-commit/239437 and https://meta.discourse.org/t/cloudron-missing-plugin-pull-compatible-all/244002 suggests there is some plugin:pull_compatible_all rake task. So, we have to figure how to use this in Cloudron.

                            1 Reply Last reply
                            2
                            • rmdesR Offline
                              rmdesR Offline
                              rmdes
                              wrote on last edited by
                              #13

                              I guess installing the ActivityPub plugin in the cloudron context will face similar issue than this here @murgero

                              1 Reply Last reply
                              0
                              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