오늘 관리자 패널을 통해 표준 업데이트를 수행한 후 업데이트가 차단되었고, ./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 754 exit 1>
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 1
** 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.
안녕하세요 @TroyaNO - discourse-social-share 테마 구성 요소를 플러그인으로 설치하려고 시도하신 것 같습니다. app.yml 파일에서 해당 줄을 제거하셔야 합니다.
배경 설명을 드리자면: 테마를 plugins 디렉토리에 배치하는 방식은 과거에도 작동하지 않았습니다. 다만, 과거에는 아무 에러 메시지 없이 조용히 실패했습니다. 최근 약 24시간 동안(이 커밋 이후로) 에러가 발생하기 시작했습니다. 방금 ‘예전처럼 아무 동작도 하지 않는’ 방식으로 되돌리는 또 다른 변경 사항을 적용했으니, 다시 업데이트를 시도하시면 정상적으로 작동할 것입니다.