안전 모드도 시도해 볼 수 있습니다 - 사이트 URL 뒤에 /safe-mode를 붙여 접속하면 됩니다. 로그는 /logs에서 확인할 수 있습니다. 또한 명령줄에서 Announcing Discourse Doctor 도구를 실행하여 문제를 찾아볼 수도 있습니다. 때로는 명령줄에서 두 번째로 재빌드만 하면 사이트가 다시 정상 작동하기도 합니다.
지금 보이는 메시지는 의도적으로 구체적이지 않게 작성되어 있어 커뮤니티 구성원들이 당황하거나 혼란을 겪지 않도록 하기 위한 것입니다. 문제 해결 단계를 안내받기 위해 이곳에 질문한 것은 매우 올바른 판단입니다. 곧 단계들을 익히고 문제를 스스로 해결하는 방법을 알게 될 것입니다.
플러그인을 제거하는 방법을 찾아봐야 할 것 같습니다. 이 포럼은 거의 관리하지 않거든요 (Discourse의 안정성 덕분에).
그동안 ./launcher rebuild app을 시도해 보았지만, 디스크 공간 부족 오류로 실패했습니다. 프롬프트에 따라 클리닝을 실행한 후(현재 14G 사용 가능), 다음과 같은 오류가 발생했습니다:
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 430 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“db_migrate”, “cmd”=>[“su discourse -c ‘bundle exec rake db:migrate’”]}
aa028fe633a223429da4368d3e6339a75329cdb0465361804372bc54b4fc8f35
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
/var/www/discourse/plugins/discourse-tagging/plugin.rb:13:in `block in activate!'
/var/www/discourse/lib/plugin/instance.rb:430:in `block in notify_after_initialize'
discourse-tagging 플러그인을 가능한 한 빨리 제거하십시오. 해당 플러그인은 기능을 코어로 이동한 약 3~4년 전에 비추천(deprecated)되었습니다.
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to
==================== DONE! ====================
Would you like to serve a publicly available version of this file? (Y/n)
./discourse-doctor: line 320: [: ==: unary operator expected
Publicly available log not generated.
You can examine the output of this script with
LESS=-Ri less /tmp/discourse-debug.txt