ジェイ様
Configure Discourse to use a separate PostgreSQL server の Falco のスレッドに従いました。データベースサーバーは VM から利用可能です。
root@docker2:/var/discourse# pg_isready -d discourse -h 10.10.10.18 -p 5432 -U discourse
10.10.10.18:5432 - Verbindungen werden angenommen
(接続が受け入れられています)
web_only.yml の DB 名、ユーザー、パスワードも正しいです。ビルドエラーは次のとおりです。
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 829 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migra
te'"]}
bootstrap failed with exit code 1
私は Ruby の専門家ではないため、ここで表示されるエラーからのデバッグについて、いくつか助けが必要です。
では、トミー