안녕하세요,
2.9.0 beta 3에서 beta 4로 업데이트하려고 했습니다. 웹 인터페이스를 통해 시도했지만 실패했습니다. git pull과 /launcher rebuild app 명령을 실행해 보았지만 도움이 되지 않았습니다.
다음과 같은 메시지로 종료됩니다:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 647 exit 134>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 134
** 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.
f5cd177671cf156b418115fd9956929e98c03223fbab30c91da284cee52510e3
==================== END REBUILD LOG ====================
Failed to rebuild app.
Discourse doctor도 도움이 되지 않았습니다.
로그 상단에 오류가 있는지 확인해 보았지만, Theme 플러그인 Slick 관련 경고만 몇 개 보입니다. 하지만 PowerShell에서 로그가 잘려서 더 이상은 볼 수 없습니다.
업데이트 관련 로그 파일이 어디에 있는지 조금 헷갈립니다. ./launcher build app | tee ~\Rebuild.txt 명령을 실행했습니다.
하지만 그 후 이상한 상태가 되었습니다. 로그 파일이 매우 짧아져 약 50줄 정도만 남았습니다. 포럼은 시작되었지만 여전히 beta 3 버전입니다. 속도가 매우 느리고 게시물을 접근할 수 없습니다.
업데이트하기 직전에 백업을 해 두었습니다.