# 안정 버전으로 업그레이드한 후 발생하는 문제

**URL:** https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132
**Category:** Support
**Created:** [8월 4, 2021, 12:06오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132 "2021-08-04T12:06:03Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [8월 4, 2021, 12:06오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/1 "2021-08-04T12:06:03Z")

</div>

안녕하세요, 오늘 Discourse를 안정 버전 2.7.7로 업데이트했는데, 업그레이드 후 새 계정을 활성화할 때 다음과 같은 오류가 발생했습니다.

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/0/60894e7da51eebb9f5017317289667f6cc950b57.png)

그리고 여기 로그 끝부분입니다. -----

Failed to handle exception in exception app middleware : PG::UndefinedFunction: ERROR: function max(boolean) does not exist  
LINE 1: …\_rank, MAX(user\_badges.created\_at) AS created\_at, MAX(user\_b…  
^  
HINT: No function matches the given name and argument types. You might need to add explicit type casts.

Started GET “/users/activate-account/0f44cb2f759b85caecaf5ea26a1878e5” for 49.44.84.137 at 2021-08-04 11:54:11 +0000  
Processing by UsersController#activate\_account as HTML  
Parameters: {“token”=\>“0f44cb2f759b85caecaf5ea26a1878e5”}  
Rendered users/activate\_account.html.erb within layouts/no\_ember (Duration: 2.0ms | Allocations: 471)  
Rendered layout layouts/no\_ember.html.erb (Duration: 20.5ms | Allocations: 5694)  
Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 0.0ms | Allocations: 7981)

이 문제를 해결하는 데 도움을 주실 수 있는 분이 있을까요?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [8월 4, 2021, 1:02오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/2 "2021-08-04T13:02:42Z")

</div>

어떻게 업그레이드하셨나요? 비표준 플러그인이 있나요?

비표준 플러그인을 모두 제거하고, 명령줄에서 재빌드하는 것을 권장합니다.

---

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [8월 4, 2021, 1:16오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/3 "2021-08-04T13:16:16Z")

</div>

안녕하세요, SSH를 통해 업그레이드를 진행했는데 최신 버전이 실패하여 최신 안정 버전(2.7.7)으로 업그레이드했습니다.

제 app.yml 파일은 여기 있습니다 [https://pastebin.com/L1uA68Z5](https://pastebin.com/L1uA68Z5)

비표준 플러그인은 사용하지 않는 것으로 보입니다.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [8월 4, 2021, 1:56오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/4 "2021-08-04T13:56:55Z")

</div>

테스트 통과에서 안정적으로 변경하셨나요? 그렇게 하면 작동하지 않습니다. app.yml 파일의 version 기본값으로 되돌려서 다시 빌드해야 합니다.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [8월 4, 2021, 3:42오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/5 "2021-08-04T15:42:39Z")

</div>

> [@Rahul\_Goswami](#):
>
> 최신 버전이 실패해서 최신 안정 버전(2.7.7)으로 업그레이드했습니다.

업그레이드가 실패한 이유를 찾아야 합니다. 안정 버전으로 변경하는 것만으로는 문제를 해결할 수 없습니다.

tests-passed로 되돌리고 다시 빌드한 후, 발생한 문제를 보고해 주세요.

---

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [8월 6, 2021, 4:46오전 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/6 "2021-08-06T04:46:39Z")

</div>

좋아요, version stable 줄을 삭제하고 다시 빌드했는데 또 실패했고 제 사이트가 다운되었습니다.

전체 에러 로그는 여기 있습니다: [https://pastebin.com/kdhc563R](https://pastebin.com/kdhc563R)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [8월 6, 2021, 12:22오후 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/7 "2021-08-06T12:22:12Z")

</div>

[GitHub - discourse/discourse-tagging: Tagging functionality for Discourse Forums · GitHub](https://github.com/discourse/discourse-tagging) 플러그인을 제거해 보세요.

태깅(Tagging) 기능은 2016년 4월에 코어(Core)에 포함되었습니다. Discourse 1.6.0.beta2 이상을 사용 중이라면 이 플러그인이 필요하지 않습니다.

---

<div class="post-metadata">

### Author: ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)
#### Post date: [8월 9, 2021, 5:29오전 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/8 "2021-08-09T05:29:59Z")

</div>

고마워요, 이제 작동해요!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [9월 8, 2021, 5:30오전 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/9 "2021-09-08T05:30:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
