# 업데이트/재빌드 오류. 진단 및 복구 방법은?

**URL:** <https://meta.discourse.org/t/update-rebuild-error-how-to-diagnose-and-recover/314958>\
**Category:** Self-hosting\
**Created:** [7월 4, 2024, 7:54오전 UTC](https://meta.discourse.org/t/update-rebuild-error-how-to-diagnose-and-recover/314958 "2024-07-04T07:54:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Isambard](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@Isambard](https://meta.discourse.org/u/Isambard)\
**Post date:** [7월 4, 2024, 7:54오전 UTC](https://meta.discourse.org/t/update-rebuild-error-how-to-diagnose-and-recover/314958/1 "2024-07-04T07:54:08Z")

</div>

방금 업데이트를 시도했는데, 마지막 부분에 실패가 발생했습니다:

```plaintext
I, [2024-07-04T07:17:18.714988 #807] INFO -- : Writing /var/www/discourse/public/assets/scripts/discourse-test-listen-boot-9b14a0fc65c689577e6a428dcfd680205516fe211700a71c7adb5cbcf4df2cc5.js
rake aborted!
Zlib::BufError: buffer error (Zlib::BufError)

...
< more stuff >
...

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 805 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"precompile", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 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.

```

같은 오류 메시지가 여기에서 보고된 것을 확인했습니다: ["Zlib::BufError: buffer error" - Discourse update fails](https://meta.discourse.org/t/zlib-buffer-error-discourse-update-fails/311347)

하지만 이미 yaml 파일에 maxmind 계정 ID가 입력되어 있습니다.

컨테이너에 진입해서 이 명령어를 다시 실행해 볼 수는 있겠지만, 일반적으로 실패한 재빌드(rebuild)에서 복구하는 방법이 있는지, 아니면 보통 전체 과정을 처음부터 다시 실행하는지 궁금합니다.

---

_[View the full topic](https://meta.discourse.org/t/update-rebuild-error-how-to-diagnose-and-recover/314958)._
