Amazon Lightsail에서 Discourse 호스팅 시 발생하는 문제

AWS Lightsail에서 2GB RAM을 갖춘 Ubuntu 24.04가 실행되는 인스턴스를 시작했습니다. 그러나 SSH로 연결을 시도할 때 다음 오류가 발생했습니다:

이 작업을 계속 진행해야 할까요 ??

FAILED

--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with r
eturn #<Process::Status: pid 1758 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `
spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su disco
urse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more tha
n one.
./discourse-doctor may help diagnose the problem.
37df797fd5ae932a447677fb319c8720db3416d8e3a63a745f397130d7d4beb6
root@ip-172-26-13-68:/var/discourse#

로그를 몇 줄 더 확인해야 할 것 같습니다.

새 인스턴스를 실행 중이며, 곧 에러 로그를 공유하겠습니다.