こんにちは。別の質問からの指示に従って、Discourse の以前のバージョン(v2.5.0)をインストールしようとしましたが、失敗しました。
以下のエラーが発生しました。
> FAILED
> --------------------
> Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin 2.5.0 failed with return #<Process::Status: pid 205 exit 128>
> Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
> exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin master", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p /shared/log/rails", "bash -c \"touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p /shared/tmp/{backups,restores}\"", "bash -c \"ln -s /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}
> 6cc2109dd401fd326263e864fa09998776deb9099a40405110a909994e5e8b72
> ** 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.
バージョンを「stable」に設定して試したところ、正常にインストールされました。このため、v2.5.0 だけが破損している可能性を考慮して v2.6.0 で試しましたが、これも同じエラーで失敗しました(今回は 2.5.0 の代わりに 2.6.0 と表示されるのみです)。何か手順を見落としているのでしょうか、それとも本来は動作するべきだったのでしょうか。
タグは存在しているようです:
私の app.yml は以下の通りです:
> ## Which Git revision should this container use? (default: tests-passed)
> version: v2.5.0