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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Installing discourse-calendar

    Discourse
    discourse calendar plugins events
    3
    12
    188
    Loading More Posts
    • 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.
    • jdaviescoates
      jdaviescoates last edited by 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?

      I use Cloudron with Gandi & Hetzner

      L 1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates last edited by

        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 Reply Quote 0
        • jdaviescoates
          jdaviescoates last edited by

          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

          jdaviescoates 1 Reply Last reply Reply Quote 0
          • jdaviescoates
            jdaviescoates @jdaviescoates last edited by

            @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 Reply Quote 0
            • jdaviescoates
              jdaviescoates last edited by

              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 Reply Quote 0
              • jdaviescoates
                jdaviescoates last edited by

                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 Reply Quote 0
                • jdaviescoates
                  jdaviescoates last edited by

                  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 Reply Quote 0
                  • jdaviescoates
                    jdaviescoates last edited by

                    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 Reply Quote 0
                    • L
                      LoudLemur @jdaviescoates last edited by

                      @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

                      jdaviescoates 1 Reply Last reply Reply Quote 0
                      • jdaviescoates
                        jdaviescoates @LoudLemur last edited by

                        @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 Reply Quote 1
                        • jdaviescoates
                          jdaviescoates last edited by

                          @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 Reply Quote 1
                          • girish
                            girish Staff last edited by

                            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 Reply Quote 2
                            • First post
                              Last post
                            Powered by NodeBB