FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' 실행이 실패했으며 반환 값은 #<Process::Status: pid 3194 exit 1>입니다.
실패 위치: /pups/lib/pups/exec_command.rb:112:in `spawn'
파라미터 {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}로 실행이 실패했습니다.
590cf0611c566ea6df5f70ffdd2cec2359e84eaea29b7abcde77d56288a46370
** 부트스트랩 실패 ** 이전의 오류 메시지를 확인하려면 위로 스크롤하십시오. 오류가 하나 이상 있을 수 있습니다.
로그의 위쪽 부분:
Caused by:
PG::UniqueViolation: ERROR: unique constraint "data_explorer_queries_pkey"를 위반하는 중복 키 값
DETAIL: Key (id)=(-10)이(가) 이미 존재합니다.
그리고
rake aborted!
StandardError: 오류가 발생했으며, 이 마이그레이션 및 그 이후의 모든 마이그레이션이 취소되었습니다:
ERROR: unique constraint "data_explorer_queries_pkey"를 위반하는 중복 키 값
DETAIL: Key (id)=(-10)이(가) 이미 존재합니다.
따라서 중복된 data_explorer_queries_pkey 키를 제거해야 할 것 같습니다.
./launcher enter app
Error response from daemon: Container 694b24a2a235e90456fb0ca770c86ac14bb914ad33ada8a18fc4777a1188d848 is not running
root@gaoa-discourse:/var/discourse#
그리고:
root@gaoa-discourse:/var/discourse# su - postgres
No passwd entry for user 'postgres'