문제는 Data Explorer의 실제 버전(메인 브랜치)이 Discourse 2.8.8과 호환되지 않는 것이었습니다. 표준 설치와 Bitnami 설치 모두를 시도해 보았지만 문제가 해결되지 않았습니다.
결국 Discourse Bitnami에 플러그인을 설치하는 해결책을 찾았습니다:
cd /opt/bitnami/discourse
sudo RAILS_ENV=production bundle exec rake plugin:install repo=PLUGIN_REPO_URL
...
RAILS_ENV=production LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake themes:update assets:precompile
마지막 3개의 명령은 다음과 같은 목적으로 필요합니다:
- 설치된 Discourse 버전과의 플러그인 호환성을 확인하고, 각 지정된 플러그인에 대해 가장 최근의 호환 가능한 버전을 가져옵니다.
- 필요한 경우 데이터베이스 마이그레이션을 실행합니다.
- 테마를 업데이트하고 에셋을 컴파일합니다.