Discourse 복원 불가

안녕하세요,

서버 문제로 인해 더 이상 Discourse를 재설치할 수 없습니다. 현재 오류는 502 Bad Gateway입니다.
아래는 SSH 로그입니다.

root@xxxx:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
454737c0eb0bd833434e8313b89e4641c90ff57e291f7c9b3ca7a895a9181abc
** 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.
root@xxxx:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
ac1e181261d864ce64d2939199b3c7f79715679c594254b2208bafc1b97d3ee1
** 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.

curl https://github.com을 실행할 수 있나요?

네, 할 수 있습니다. 웹페이지가 응답합니다.

저는 이렇게 해결했습니다. Docker에서 다음 항목들을 제거했습니다:

  • Nginx

  • Redis

  • Discourse

    cd /var/discourse
    ./launcher stop app
    cd /var
    sudo rm -rf discourse

그리고 Discourse를 설치(setup)하여 다시 설치했습니다.

문제는 Docker와 Discourse 간의 '통신’에 있었습니다. Nginx와 Redis를 제거하려고 시도했지만 문제는 여전히 지속되었습니다. 그 이유는 알지 못합니다.

Plesk에서 발생한 오류는 다음과 같습니다: Error: {"message":"no such image: discourse/base: No such image: discourse/base:latest"}