User wini is encountering a database error while trying to rebuild Discourse after installing the Gamification plugin, specifically a PG::UndefinedTable error referencing gamification_leaderboards. They suspect the issue may stem from improper formatting or extra quotes in the app.yml file, as the build succeeds when the plugin is removed. Heliosurge requests a screenshot or copy of the plugin entry in app.yml and asks for the Discourse branch being used — wini confirms they’re on 3.2.0.beta4-dev and added the plugin in the same format as others. Heliosurge notes they’re on test-passed with no issues, suggesting a possible compatibility problem with the beta branch and recommending reporting the issue directly to the Gamification plugin repository. JammyDodger advises against crossposting and removes a duplicate post to keep the discussion focused here. The core issue appears to be a schema or migration problem during plugin installation on a beta version of Discourse, possibly related to YAML formatting or plugin compatibility.
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?
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.