Installing discourse-calendar
-
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?
-
Presumably following the standard Discourse plugin install instructions don't work on Cloudron? or do they?
-
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?!?
-
@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
-
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?
-
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
-
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 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
-
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...
-
@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)
-
@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
-
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.