재구축 실패 (directory_columns.type 열이 존재하지 않음)

안녕하세요,

방금 다시 빌드를 시도했는데 다음과 같은 오류로 실패했습니다:

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...

이것은 Solved 플러그인의 해당 커밋 때문인 것 같습니다.

meta에서는 작동하므로 플러그인 호환성 문제일 수 있는지 확실하지 않습니다.

저는 다음 플러그인을 사용하고 있습니다:

      - 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

업데이트: 하나씩 주석 처리를 시도해 보았습니다. 그리고 원인을 찾은 것 같습니다. Discourse Location 플러그인을 주석 처리하면 빌드가 성공적으로 실행됩니다.

로버트가 Locations 플러그인 토픽에서 이 문제에 대한 해결책을 공유했기 때문에, 이 토픽을 닫아도 될 것 같습니다. 감사합니다! :slight_smile: