# PostgreSQL 12 업그레이드 실패로 재빌드 불가

**URL:** https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428
**Category:** Self-hosting
**Created:** [7월 11, 2020, 1:43오전 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428 "2020-07-11T01:43:47Z")
**Posts on this page:** 5
**Page:** 3

<div class="post-metadata">

### Author: ![lucasbasquerotto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucasbasquerotto/32/133376_2.png) [@lucasbasquerotto](https://meta.discourse.org/u/lucasbasquerotto)
#### Post date: [7월 13, 2020, 4:02오후 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428/42 "2020-07-13T16:02:46Z")

</div>

> [@pr0cesor](#):
>
> 좋아요, 루카스가 말한 대로 discourse\_docker 폴더로 가서 app.yml 파일을 해당 폴더의 컨테이너로 복사하고 ./launcher rebuild app 명령어를 실행했습니다.

제가 의도한 것은 `/var/discourse` 디렉터리(이 안에는 [discourse\_docker](https://github.com/discourse/discourse_docker) **git** 저장소가 있습니다)로 이동하는 것입니다. 단순히 `discourse_docker`라는 이름의 디렉터리를 만들면 새로운 discourse가 설치됩니다. 제가 말한 것은 다음 명령어(그리고 오직 다음 명령어만)를 실행하는 것입니다:

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

```

시작한 새로운 discourse를 중지했는지 확인하세요.

_(또는 새로운 discourse를 시작하고 복원해도 됩니다)_

---

<div class="post-metadata">

### Author: ![pr0cesor](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pr0cesor](https://meta.discourse.org/u/pr0cesor)
#### Post date: [7월 13, 2020, 4:05오후 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428/43 "2020-07-13T16:05:12Z")

</div>

> [@lucasbasquerotto](#):
>
> discourse\_docker

이 폴더를 제가 만든 것이 아닙니다. 이미 존재하고 있었어요 🤔

---

<div class="post-metadata">

### Author: ![pr0cesor](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pr0cesor](https://meta.discourse.org/u/pr0cesor)
#### Post date: [7월 13, 2020, 4:15오후 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428/44 "2020-07-13T16:15:09Z")

</div>

새로운 디스코urs 포럼이 이제 설정되었습니다 (네, nginx와 함께 작동합니다) ^^.

활성화 이메일 전송에 문제가 있었지만, 그건 다른 주제에서 다룰 예정입니다.

도와주셔서 모두 감사합니다.

---

<div class="post-metadata">

### Author: ![lucasbasquerotto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucasbasquerotto/32/133376_2.png) [@lucasbasquerotto](https://meta.discourse.org/u/lucasbasquerotto)
#### Post date: [7월 13, 2020, 5:21오후 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428/45 "2020-07-13T17:21:46Z")

</div>

> [@pr0cesor](#):
>
> 이 폴더는 내가 만든 게 아니에요. 이미 거기 있었거든요

어디에요?

> [@pr0cesor](#):
>
> 새로운 discourse 포럼이 이제 설정되었습니다 (네, nginx와 함께 작동해요) ^^.

알게 되어 좋습니다. 기존에 있던 discourse 사이트를 사용하려고 하지 않았나요? 하지만 당신 경우에는 그게 작동했다면 그것도 괜찮습니다 🙂

---

<div class="post-metadata">

### Author: ![pr0cesor](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pr0cesor](https://meta.discourse.org/u/pr0cesor)
#### Post date: [7월 13, 2020, 5:59오후 UTC](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428/46 "2020-07-13T17:59:57Z")

</div>

@lucasbasquerotto

기존의 어떤 논의도 참고하고 싶지 않았습니다. 완전히 새로운 도메인으로 신선한 설치를 하고 싶었거든요.

[Previous page](https://meta.discourse.org/t/cant-rebuild-due-to-failed-postgres-12-upgrade/157428.md?page=2)
