Failed rebuild (column directory_columns.type does not exist)

Hello,

I just try to rebuild now and it failed with this error:

I, [2021-06-22T21:57:12.240614 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’

2021-06-22 21:57:15.052 UTC [3862] discourse@discourse ERROR: column directory_columns.type does not exist at character 66

2021-06-22 21:57:15.052 UTC [3862] discourse@discourse STATEMENT: SELECT "directory_columns"."name" FROM "directory_columns" WHERE "directory_columns"."type" IN (0, 2) AND "directory_columns"."enabled" = TRUE

** PLUGIN FAILURE **

You are unable to build Discourse due to this error during plugin

initialization:

PG::UndefinedColumn: ERROR: column directory_columns.type does not exist

LINE 1: ...ry_columns"."name" FROM "directory_columns" WHERE "directory...

I think this is the Solved Plugin this commit.

I am not sure it could be a plugin compatibility issue because here meta it works.

I use this plugins:

      - https://github.com/discourse/discourse-solved.git
      - https://github.com/jannolii/discourse-topic-trade-buttons.git
      - https://github.com/discourse/discourse-whos-online.git
      - https://github.com/discourse/discourse-adplugin.git
      - https://github.com/paviliondev/discourse-follow.git
      - https://github.com/discourse/discourse-cakeday.git
      - https://github.com/paviliondev/discourse-locations.git
      - https://github.com/discourse/discourse-docs.git
      - https://github.com/paviliondev/discourse-pm-topic-author.git
      - https://github.com/discourse/discourse-reactions.git

Update: I try to commented out one by one. And i think i got it. If i commented out the Discourse Location plugin the rebuild runs success.

1 Like

Robert shared a solution in the Locations Plugin topic for this so i think this topic could be closed. Thank you! :slight_smile:

1 Like