안녕하세요, 다른 질문의 지시를 따라 이전 버전의 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.6.0을 시도해 보았지만, 이번에도 동일한 오류가 발생했습니다(다만 2.5.0 대신 2.6.0이라고 표시되었을 뿐입니다). 놓친 단계가 있는 건가요, 아니면 이 과정이 정상적으로 작동해야 하는 건가요?
태그는 존재하는 것을 확인했습니다:
제 app.yml 파일 내용입니다:
> \## Which Git revision should this container use? (default: tests-passed)
> version: v2.5.0