2.9.0.beta2로 업데이트 후 인스턴스가 손상됨

인스턴스를 2.9.0.beta2로 원클릭 업데이트한 후 개발자 콘솔에 다음과 같은 오류가 표시되는 빈 화면을 확인했습니다:

다음 플러그인을 사용 중입니다:

이것들은 공식 플러그인이며 문제가 발생해서는 안 됩니다.

안전 모드에서 사이트를 표시해 보셨나요?

같은 문제가 발생했습니다:

같은 문제입니다: 흰 화면 + JS 오류.

나도 같은 문제야…

나도 마찬가지야, 나도 마찬가지야

저도 마찬가지입니다 :cold_sweat: 빠른 시일 내에 수정되기를 바랍니다!

저도 마찬가지입니다:

loader.js:247 Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1

저도 같은 문제가 발생하고 있으며, JS 콘솔에 동일한 오류가 표시됩니다.

Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1

다음 플러그인을 사용 중입니다:

빌드过程中 다음과 같은 경고가 표시됩니다.

Bundle complete! 127 Gemfile dependencies, 176 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2022-02-14T13:34:51.839391 #1]  INFO -- : > cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
warning " > @mixer/parallel-prettier@2.0.1" has unmet peer dependency "prettier@^2.0.0".

안전 모드(safe-mode)를 시도해 보았으며, handlebars 누락 오류도 발생하고 있습니다. 앱에서는 왼쪽 상단에 ms 단위의 로딩 시간과 함께 흰색 화면만 표시됩니다.

Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1

지금 확인해 보고 있습니다. 이 문제가 발생하는 사이트의 링크를 공유해 주실 수 있나요? (공개하고 싶지 않으시면 개인 메시지로 보내 주셔도 됩니다)

방금 가입해서 개인 메시지 권한이 있는지 모르겠네요…

이제 몇 가지 예시가 있어서 모두 감사합니다!

방금 수정 사항을 push했습니다: FIX: Update application_helper logic now that Ember CLI is default (#… · discourse/discourse@f078d1a · GitHub

다시 업데이트를 실행해 주세요. 그러면 다시 정상적으로 작동할 것입니다. 불편을 드려 죄송합니다!

@Anton_Akhmerov @RobertBrockie @pinkd @simevo @Canapin @CRCinAU @Alex_Harrington @k4rtik

필요한 업데이트를 실행하는 데 충분한가요?

# cd /var/discourse/
# ./launcher rebuild app

네, 또는 주소창에 https://your-site.com/admin/upgrade와 같은 URL을 입력해도 됩니다. 메인 애플리케이션이 손상되어 있더라도 업데이트 UI는 여전히 작동해야 합니다.

확인했습니다. 업데이트 후 정상적으로 작동하고 있습니다. @david 감사합니다.

네, 저도 그 방법으로 잘 해결됐어요. @david 감사합니다.