Discourse를 정상 상태로 만들기

업그레이드가 멈추는 문제를 겪었고, 여러 번 시도한 끝에 앱 재구성을 통해 겨우 복구되었습니다. 이후로 2.9.0.beta4 버전을 사용 중입니다.

UI(웹 또는 모바일)에서는 앱이 최신 상태임을 나타내는 버전 정보와 초록색 웃는 얼굴이 표시됩니다. 하지만 업데이트 링크를 클릭하면 업데이트 패널에서 대부분의 컴포넌트 상태가 “업그레이드 중”으로 표시됩니다.

명령줄 단계를 통해 수동으로 업그레이드를 강제하는 것은 어렵지 않습니다.

다시 실패한 시도가 반복되고 긴 복구 과정이 이어지는 것이 걱정됩니다.

어떤 조언이나, 인스턴스를 안정적이고 건강한 상태로 유지하는 방법에 대한 의견이 있으신 분 계신가요?

감사합니다!

리셋 업그레이드 버튼을 누르시겠습니까?

고맙습니다. UI가 다시 작동하기 시작했습니다.

docker manager 컴포넌트를 성공적으로 업데이트할 수 있었습니다.

이제 UI에서 "모두 업그레이드"를 실행한 지 20분이 지났고, 시간이 계속 흐르고 있습니다.

지난 업데이트 때 겪었던 불편한 상황이 다시 반복되지 않기를 바랍니다.

아래 내용 이후로 UI 업그레이드 콘솔에 메시지가 더 없습니다:

$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build -prod
WARNING: Node v16.14.2 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details.
Building
Environment: production
building...
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-proposal-class-properties.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
	["@babel/plugin-proposal-private-property-in-object", { "loose": true }]
to the "plugins" section of your Babel config.
Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "true" for @babel/plugin-proposal-private-property-in-object.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
	["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.

결국 업데이트가 웹 UI를 통해 멈춘 것으로 보입니다.

복구는 SSH로 접속하여 앱을 다시 빌드하는 방식으로 진행했습니다.

정확히 무엇이 잘못되었는지, 그 이유는 전혀 알 수 없습니다.