使用Gamification插件重建时出错

I’m trying to install the gamification plugin as the other plugins by adding the repo into the app.yml and then rebuilding but the build fails everytime.

The error is a database relation:

Caused by:
PG::UndefinedTable: ERROR:  relation "gamification_leaderboards" does not exist (PG::UndefinedTable)
LINE 9:  WHERE a.attrelid = '"gamification_leaderboards"'::regclass

I think is caused by the extra "
Anybody knows how/where to fix it?

Can you post a SS or a copy of just where you added plugin(s)?

App.yml files ar very finicky on format. If you can also post what branch of discourse are you running. Stable/test-passed/beta

@Heliosurge
I added it right after the other plugins in the same format

example:
- git clone https://github[.]com/discourse/discourse-bcc
- git clone https://github[.]com/discourse/discourse-automation

By removing the gamification plugin its all good and its able to rebuild and get up again.

I am using the 3.2.0.beta4-dev version of discourse

1 个赞

I am on Test-passed and seems okay. There might be a compat issue on beta but would need others to weigh in Might be an idea to report but on gamification for extra visibility.

1 个赞

Hi @wini :slight_smile:

There’s no need to crosspost your issue. Having a dedicated topic is actually preferred as it saves splitting it off later. :+1:

I’ll remove your other post so we can keep the conversation centred on this one.

3 个赞