모두 안녕하세요,
제가 이 분야에 익숙하지 않아서 어리석은 질문일 수도 있지만, Ubuntu 16.04 환경에서 두 개의 웹사이트(Pterodactyl Panel과 Discourse)를 실행하려고 시도하고 있습니다. Pterodactyl Panel은 정상적으로 작동하고 있으며, Nginx 없이 Discourse도 잘 동작합니다. 하지만 다음 지침을 따를 때 문제가 발생합니다: https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247
Nginx를 위해 Discourse를 설정한 후, 다음 명령어로 재빌드(rebuild)를 수행하면 에러가 발생합니다:
/var/discourse/launcher rebuild app
아래와 같은 에러 메시지를 확인했습니다:
FAILED
--------------------
Pups::ExecError: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1 failed with return #<Process::Status: pid 1928 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1"
4deb791432a587b5cc6777001a71fd6391e5982fe830f339115c2002e07c17fb
** 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
도움 주시면 감사하겠습니다!
감사합니다!