# 런처 재빌드 시 git 손상

**URL:** https://meta.discourse.org/t/corrupted-git-on-launcher-rebuild-app/374109
**Category:** Self-hosting
**Created:** [7월 14, 2025, 9:09오전 UTC](https://meta.discourse.org/t/corrupted-git-on-launcher-rebuild-app/374109 "2025-07-14T09:09:13Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![anisus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anisus/32/512401_2.png) [@anisus](https://meta.discourse.org/u/anisus)
#### Post date: [7월 14, 2025, 1:11오후 UTC](https://meta.discourse.org/t/corrupted-git-on-launcher-rebuild-app/374109/6 "2025-07-14T13:11:59Z")

</div>

드디어 해결했습니다!  
손상된 \_git\_와 이전 docker 업그레이드의 결과가 복합적으로 작용한 것 같습니다. 모든 docker 컨테이너와 이미지를 정리(prune)하여 문제를 해결했습니다:

```plaintext
cd /opt/discourse
./launcher stop app
docker container prune
docker image prune -a
./launcher rebuild app

```

그 결과 다음과 같은 메시지가 출력되었습니다:

```plaintext
Upgrade Complete
----------------
Optimizer statistics are not transferred by pg_upgrade.
Once you start the new server, consider running:
    /usr/lib/postgresql/15/bin/vacuumdb --all --analyze-in-stages

Running this script will delete the old cluster's data files:
    ./delete_old_cluster.sh
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES COMPLETE

Old 13 database is stored at /shared/postgres_data_old

To complete the upgrade, rebuild again using:

./launcher rebuild app
-------------------------------------------------------------------------------------

```

다시 rebuild를 실행하자 완전히 정상 작동하기 시작했습니다:

```plaintext
./launcher rebuild app

```

---

_[View the full topic](https://meta.discourse.org/t/corrupted-git-on-launcher-rebuild-app/374109)._
