업데이트 실패; 'bundle exec rake assets:precompile' 실패

166:M 09 Apr 2020 19:22:49.160 * 종료 전 최종 RDB 스냅샷을 저장하는 중입니다.
166:M 09 Apr 2020 19:22:49.183 * DB가 디스크에 저장되었습니다
166:M 09 Apr 2020 19:22:49.183 # Redis가 종료 준비를 마쳤습니다. 안녕...


실패(FAILED)
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake asse                  ts:precompile' 실행이 실패했습니다. 반환 코드: #<Process::Status: pid 12966 exit 1>
실패 위치: /pups/lib/pups/exec_command.rb:112:in `spawn'
다음 매개변수로 실행이 실패했습니다: {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>                  ["su discourse -c 'bundle exec rake assets:precompile'"]}
5148cdd01588a9ec15d9a282a502da071bb6863d127112ea0d1526177593c6ae
** 부트스트랩 실패 ** 이전의 오류 메시지를 확인하십시오. 오류가 여러 개일 수 있습니다.
./discourse-doctor를 사용하면 문제를 진단하는 데 도움이 될 수 있습니다.
root@lab:/var/discourse# docker update

/admin/upgrade#/ 스크린샷: Image 2020-04-09 at 3.58.11 PM

어떤 조언을 주실 수 있을까요?

최신 버전으로 가져와서 다시 빌드해 볼 수 있을까요? 최근 커밋된 내용 중 문제가 있는 부분이 있을 수 있습니다.

방금 다음 명령을 실행했습니다:

cd /var/discourse
git pull
./launcher rebuild app

결과:

166:M 09 Apr 2020 21:28:03.463 * Saving the final RDB snapshot before exiting.
166:M 09 Apr 2020 21:28:03.494 * DB saved on disk
166:M 09 Apr 2020 21:28:03.494 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 12955 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile'"]}
e9cd09967fbf566b05f3ecedf900f2884c879e55e75350475ac8e28599439cfd
** 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.

메시지에 적힌 대로 해야 합니다.

다음과 같은 내용을 확인했습니다:
1.)

0:  aws-sdk-s3 (1.61.2) from /var/www/discourse/vendor/bundle/ruby/2.6.0/specifications/aws-sdk-s3-1.61.2.gemspec
Bundle complete! 127 Gemfile dependencies, 158 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`

2.)

rake aborted!
Sprockets::FileNotFound: couldn't find file 'jquery.putcursoratend.js' with type 'application/javascript'

3.)

167:M 09 Apr 2020 21:43:12.897 # Redis is now ready to exit, bye bye...
2020-04-09 21:43:12.914 UTC [50] LOG:  database system is shut down


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 12968 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile'"]}
8332d3e8c049ac2f88e9fa9c0cc00acf93450485f515126bef7f87a61bd13d52
** 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.

공식 플러그인이 아닌 커스텀 플러그인이 있나요? 있다면 주석 처리해 주세요.

방금 다음을 실행했습니다:

      - git clone https://github.com/discourse/docker_manager.git
      - git clone https://github.com/angusmcleod/discourse-custom-wizard.git

문제를 Custom Wizard가 에러를 생성하는 것으로 좁혀 보았습니다. Custom Wizard를 제거한 후에는 최신 Discourse를 정상적으로 가져올 수 있었습니다.

@angus와 @pmusaraj가 해결책을 작업 중인 것으로 보입니다:
Custom Wizard Plugin 🧙 - #459

P.S. - @pmusaraj, 방금 작성하신 Zoom 플러그인을 설치했는데, 몇 달간 원하던 기능입니다. 끊임없는 혁신에 감사드립니다.

어떤 플러그인이 실패하는지 미리 알려줘서 고마워. 그렇지 않았다면 하나하나 직접 확인해봐야 했을 거야.

제가 보고 싶은 기능 중 하나인데, 이런 유형의 프레임워크 앱에서는 구현이 불가능하다고 생각합니다:

모든 플러그인을 비활성화/활성화하는 단일 관리자 스위치입니다…

이 기능이 있으면 문제가 발생했을 때 모든 시스템 관리자의 업무가 훨씬 수월해질 것입니다. 재빌드 없이 관리자가 모든 플러그인을 끄는 기능을 제공하면 사용자가 디버깅을 훨씬 쉽게 수행할 수 있고, "이것은 플러그인 문제다"라는 것을 쉽게 파악할 수 있을 것입니다.