最新の Discourse git で同様の問題が発生しています。これは、Web UI を通じてシステムアップデートまたは Discourse アップデートを実行した後に発生し始めました。現在、アプリを再構築しようとすると、以下のエラーが表示されます:
[root@forum /var/discourse]# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
8f082ebcb977f9efafbdbff15ab69e8d06c0a7e2cb99410f85e1f90b03ae733b
** 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.
github.com および 8.8.8.8 には ping が通りますが、/etc/default/docker を編集して DNS オプションを切り替えてみました:DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
この問題の調査をどこから続けるべきでしょうか?
これは最新のアップデートを適用した Ubuntu 18.04 です。