Problem configuring plugin
-
-
-
I got swamped by other support tickets today, so this bug lives another day.
-
@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 thenrm -rf /run/discourse/public/assets/*
and restart the app. It seems to work after that: -
@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 ID45b174a3e5fb3bea07fa613412da4d3c9c2858bf
After that
rm -rf /run/discourse/public/assets/*
and restart the app. -
@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