تعذر استعادة 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 باستخدام أداة الإعداد.

كانت المشكلة تكمن في “التواصل” بين Docker و Discourse. لقد حاولت إزالة Nginx و Redis، لكن المشكلة استمرت. لا أعرف السبب.

كانت الرسالة التي ظهرت في Plesk هي: Error: {"message":"no such image: discourse/base: No such image: discourse/base:latest"}