Discourse 부트스트랩 중 Pups 실행 오류 해결 방법

좋아요, web_only와 redis의 분리를 수정했습니다. 현재 오류 메시지는 다음과 같습니다

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 981 e
xit 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 discourse -c 'bundle exec rake db:migra
te'"]}
bootstrap failed with exit code 1
** 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.
801049b69a89d38b1ae5c299d356fc5f8dc6a8f518b1260c2dde05e0b6081556

하지만 제 쪽에서 오해나 지식 부족으로 인한 문제일 수도 있습니다:

데이터베이스는 다른 lxc 컨테이너에 있는 postgresql 데이터베이스를 외부로 사용해야 합니다. 데이터베이스 사용자와 데이터베이스는 존재하지만, web_only의 첫 번째 bootstrap 전에 데이터베이스는 비어 있습니다. 스크립트가 첫 빌드 시 원격 시스템에서 데이터베이스를 스스로 생성합니까? 아니면 먼저 데이터베이스 컨테이너를 생성한 다음, 그 기본 스키마와 데이터를 외부 postgresql 데몬으로 수동으로 내보내야 하는 것입니까?

전체 구성 시각화