# 클라우드 설치가 작동하지 않음

**URL:** https://meta.discourse.org/t/cloud-installation-not-working/193788
**Category:** Self-hosting
**Created:** [6월 14, 2021, 3:35오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788 "2021-06-14T15:35:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![stefanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanino/32/224111_2.png) [@stefanino](https://meta.discourse.org/u/stefanino)
#### Post date: [6월 14, 2021, 3:35오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788/1 "2021-06-14T15:35:48Z")

</div>

안녕하세요 여러분,

Oracle Cloud에서 첫 번째 설치를 진행 중입니다. 기본 설정을 모두 완료했고 결국 Docker에서 앱을 실행했지만, 브라우저로 접근이 되지 않습니다.

성공적인 빌드를 위해 도움이 된 여러 포럼 게시글을 참고했고, 이제 로그를 살펴보니 SSL 관련 문제가 있는 것 같습니다.

app.yml에서 기본 SSL 템플릿이 활성화되어 있으며, 로그에서 다음과 같은 오류가 많이 발생합니다.

`nginx: [emerg] cannot load certificate "/shared/ssl/discourse.wrecklab.com.cer": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/discourse.wrecklab.com.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)`

어디부터 문제를 해결해야 할지 막막합니다. 도움이 될 수 있도록 어떤 정보를 제공해야 하는지 알려주세요. 🙂

감사합니다.  
Stef

---

<div class="post-metadata">

### Author: ![finks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/finks/32/116636_2.png) [@finks](https://meta.discourse.org/u/finks)
#### Post date: [6월 14, 2021, 4:24오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788/2 "2021-06-14T16:24:58Z")

</div>

안녕하세요 @stefanino, 지난 며칠간 저와 완전히 동일한 경험을 하고 있습니다. 설치가 진행되는 동안 letsencrypt 단계가 어떻게 실패하는 것 같습니다. letsencrypt 사용 한도에 도달한 것은 아니라고 판단했습니다. 다른 도메인에서도 동일한 결과가 나오기 때문입니다. 또한 GitHub 설치 지침과 DigitalOcean 1클릭 설치 모두 동일한 SSL 오류로 실패하는 것을 테스트했습니다.

아래 방법을 통해 SSL을 비활성화하면 설치가 성공합니다:

> [@SSL 없이 Discourse를 설치하는 방법?](https://meta.discourse.org/t/how-to-install-discourse-without-ssl/141817/25):
>
> You’ll need to comment out the two lines near the top that turn on let’s encrypt and ssl These two: #- "templates/web.ssl.template.yml" #- "templates/web.letsencrypt.ssl.template.yml" But again, I don’t think that doing that will solve anything.

---

<div class="post-metadata">

### Author: ![stefanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanino/32/224111_2.png) [@stefanino](https://meta.discourse.org/u/stefanino)
#### Post date: [6월 14, 2021, 6:12오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788/3 "2021-06-14T18:12:43Z")

</div>

안녕하세요 @finks, 피드백 감사합니다.  
덕분에 당분간 SSL 없이 진행해도 괜찮겠다는 확신을 가졌습니다. SSL 템플릿을 주석 처리하고 앱을 다시 빌드했습니다.  
로그에서 다른 오류가 하나 더 발생했지만, 이번에는 SSL과 관련이 없었습니다:

```plaintext
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/unicorn-6.0.0/lib/unicorn/configurator.rb:663:in `set_int': too low (< 1): worker_processes=0 (ArgumentError)

```

이 경우 app.yml에서 워커 수를 1로 강제 지정했습니다.  
이제 Discourse가 실행 중이며, 일반 HTTP로 접근할 수 있습니다.

좋은 조언 감사합니다.

Stef 드림

---

<div class="post-metadata">

### Author: ![finks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/finks/32/116636_2.png) [@finks](https://meta.discourse.org/u/finks)
#### Post date: [6월 14, 2021, 10:10오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788/4 "2021-06-14T22:10:06Z")

</div>

정상적으로 작동하면 discourse-setup을 다시 실행할 예정입니다.

> [@Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-https-support-with-lets-encrypt/40709):
>
> bookmark This is a guide for enabling HTTPS on an existing Discourse installation using Let’s Encrypt. It assumes prior installation without HTTPS enabled. person_raising_hand Required user level: System Administrator exclamation This guide is only for existing installs where HTTPS is not enabled. Following the [official setup guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) automatically enables HTTPS by default. So you’d like to add https to your Discourse absolutely free, courtesy of our friends at [Let’s Encrypt?](https://letsencrypt.org/)bell I…

---

<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: [6월 17, 2021, 10:55오후 UTC](https://meta.discourse.org/t/cloud-installation-not-working/193788/5 "2021-06-17T22:55:52Z")

</div>

이제 작동해야 합니다.
