アプリの再構築 - エラー

こんにちは、

Discourse アプリを再構築して起動しようとしているのですが、いつもこのエラーが出てしまいます。

./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 2.93 KiB | 2.93 MiB/s, done.
From https://github.com/discourse/discourse_docker
 * [new branch]      add-maxmind-key-line-(commented-out)-to-default-config -> origin/add-maxmind-key-line-(commented-out)-to-default-config
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
** 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.

これがコマンド実行時の完全な出力です。
Discourse Doctor を何度か実行してみましたが、この問題に直接役立つ情報は得られませんでした。

ご助力いただければ幸いです。
よろしくお願いいたします。

./launcher logs app に何か面白い情報はありますか?

確認しますね。
サーバーにログインしますので、少々お待ちください。

多くのファイルに「ファイルが存在しません」というメッセージが表示されているようです。

/var/discourse の内容はどうなっていますか?コマンドはその場所で実行していますか?コンテナが実行されているかどうかを確認できますか?

つまり、インストールを素早くやり直すことにしました。今、以下を実行すると、

./launcher rebuild app

以下のエラーが出力されます。

FAILED
--------------------
Pups::ExecError: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end' failed with return #<Process::Status: pid 192 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "/usr/local/bin/ruby -e 'if ENV[\"DISCOURSE_SMTP_ADDRESS\"] == \"smtp.example.com\"; puts \"Aborting! Mail is not configured!\"; exit 1; end'"
75286dddc94d10daec3fb41a586df799de5eb633374f13c50a976aab68f6add6
** FAILED TO BOOTSTRAP ** 上までスクロールして、以前のエラーメッセージを探してください。複数のエラーがある可能性があります。
./discourse-doctor で問題を診断できるかもしれません。

このエラーが修正可能かどうかはわかりません。

/var/discourse/containers ディレクトリに有効な app.yml ファイルはありますか?ない場合は、セットアップスクリプトを再度実行する必要があります。

次を実行してください

apt-get update

apt-get upgrade

その後

cd /var/discourse/

./launcher rebuild app