# data.yml과 web\_only 모두 부트스트래핑 실패

**URL:** https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861
**Category:** Self-hosting
**Tags:** two-container
**Created:** [2월 27, 2024, 6:38오전 UTC](https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861 "2024-02-27T06:38:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [2월 27, 2024, 6:38오전 UTC](https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861/1 "2024-02-27T06:38:37Z")

</div>

저는 컨테이너를 자주 다시 빌드하지 않고, 브라우저 기반 인터페이스에서 업데이트만 계속하고 있습니다.  
오늘 AI 플러그인을 삽입하려고 했더니 'Data’와 ‘Web\_only’ 컨테이너/yml 모두 부팅에 실패하는 것을 발견했습니다.

아래는 discourse doctor의 출력 결과입니다.

```plaintext
DISCOURSE DOCTOR Tue Feb 27 06:32:10 AM UTC 2024
OS: Linux cpx21-3c-4r-80ssd 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

YML=web_only.yml
Found containers/web_only.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=bathindahelper.com
SMTP_ADDRESS=email-smtp.ap-south-1.amazonaws.com ## smtp-relay.sendinblue.com # 이전
DEVELOPER_EMAILS=bathindahelper@gmail.com
SMTP_PASSWORD=redacted
SMTP_PORT=587
SMTP_USER_NAME=redacted
LETSENCRYPT_ACCOUNT_EMAIL=bathindahelper@gmail.com

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 25.0.3, build 4debf41

DOCKER PROCESSES (docker ps -a)

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
06c70a81e392 local_discourse/web_only "/sbin/boot" 5 weeks ago Up 2 weeks web_only
6b9837b4be61 discourse/base:2.0.20231218-0429 "/bin/bash -c '/usr/…" 5 weeks ago Exited (1) 5 weeks ago elegant_jang
ba6f0dc49ce7 local_discourse/data "/sbin/boot" 21 months ago Up 2 weeks data

06c70a81e392 local_discourse/web_only "/sbin/boot" 5 weeks ago Up 2 weeks web_only

Discourse container web_only is running

==================== PLUGINS ====================
          - git clone https://github.com/discourse/discourse-google-one-tap
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-oauth2-basic
          - git clone https://github.com/discourse/discourse-adplugin
          - git clone https://github.com/discourse/discourse-data-explorer
          - git clone https://github.com/discourse/discourse-tooltips
          - git clone https://github.com/discourse/discourse-whos-online
          - git clone https://github.com/discourse/discourse-translator
          - git clone https://github.com/discourse/discourse-chat-integration ## 텔레그램이나 슬랙 등 채팅 통합을 위해
# - git clone https://github.com/discourse/discourse-chat
# - git clone https://github.com/discourse/discourse-cakeday
# - git clone https://github.com/discourse/discourse-follow
# - git clone https://github.com/paviliondev/discourse-news
# - git clone https://github.com/discourse/discourse-math
# - git clone https://github.com/discourse/discourse-reactions
# - git clone https://github.com/discourse/discourse-ai
# - git clone https://github.com/discourse/discourse-rss-polling
#gives problem: - git clone https://github.com/discourse/discourse-math #https://meta.discourse.org/t/discourse-math-plugin/65770
# - git clone https://github.com/discourse/discourse-lti #.../learning-management-system-integration-lti-1-3-authentication/196174
# - git clone https://github.com/discourse/discourse-subscriptions #https://meta.discourse.org/t/discourse-subscriptions/140818
# - git clone https://github.com/discourse/discourse-voting #https://meta.discourse.org/t/discourse-voting/40121
# - git clone https://github.com/discourse/discourse-calendar #https://meta.discourse.org/t/discourse-calendar/97376
# - git clone https://github.com/discourse/discourse-solved.git #https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155
# - git clone https://github.com/discourse/discourse-yearly-review
# - git clone https://github.com/discoursehosting/discourse-adsense ##더 좋고 나중에 버전이 될 Discourse AD Plugin을 위해 폐기됨.
# - git clone https://github.com/discoursehosting/discourse-guest-gate
#deprecated - git clone https://github.com/discourse/discourse-sitemap.git #...meta.discourse.org/t/discourse-sitemap/40348
# - git clone https://github.com/davidtaylorhq/discourse-telegram-notifications #...iscourse-telegram-notifications/60483
# - git clone https://github.com/iunctis/discourse-formatting-toolbar #https://meta.discourse.org/t/formatting-toolbar/40649
# - git clone https://github.com/angusmcleod/discourse-locations #https://meta.discourse.org/t/locations-plugin/69742
# - git clone https://github.com/angusmcleod/discourse-legal-tools #disco 팀이 수정할 것입니다.
#공식 follow 플러그인과 현재 충돌 - git clone https://github.com/paviliondev/discourse-follow # 비공식 플러그인과 충돌하면 폐기.
# - git clone https://github.com/paviliondev/discourse-topic-previews ## 동일한 기능에 대해 이제 테마 컴포넌트로 이동됨
# - git clone https://github.com/saiqulhaq/tvc #https://meta.discourse.org/t/topic-visitors-counter-plugin/41456
# - git clone https://github.com/angusmcleod/discourse-layouts #https://meta.discourse.org/t/custom-layouts-plugin/55208
# - git clone https://github.com/featheredtoast/discourse-pushover-notifications #.../pushover-notifications/119258
# - git clone https://github.com/orlando/discourse-user-scores #https://meta.discourse.org/t/user-scores-reputation-plugin/92364
# - git clone https://github.com/gdpelican/babble #전체 웹사이트 다운의 원인이 될 수 있음
# - git clone https://github.com/synweap15/discourse-voice-record
# - git clone https://github.com/procourse/procourse-memberships
# - git clone https://github.com/angusmcleod/discourse-events
# broken - git clone https://github.com/curiousdannii/discourse-merge-users #https://meta.discourse.org/t/merge-users-plugin/114917
# broken - git clone https://github.com/paviliondev/discourse-quick-messages #https://meta.discourse.org/t/quick-messages-plugin/39188
# Broken - git clone https://github.com/Alavi1412/discourse-reputation-plugin #.../reputation-plugin-version-0-2/54758/13
#Integrated in disco core. So no more needed - git clone https://github.com/discourse/discourse-spoiler-alert #...discourse-spoiler-alert/12650

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See https://github.com/discourse/discourse/blob/main/lib/plugin/metadata.rb for the official list.

========================================
Discourse 3.3.0.beta1
Discourse version at bathindahelper.com: Discourse 3.3.0.beta1
Discourse version at localhost: NOT FOUND
==================== DNS PROBLEM ====================
This server reports NOT FOUND, but bathindahelper.com reports Discourse 3.3.0.beta1.
This suggests that you have a DNS problem or that an intermediate proxy is to blame.
If you are using Cloudflare, or a CDN, it may be improperly configured.

==================== MEMORY INFORMATION ====================
RAM (MB): 4001

               total used free shared buff/cache available
Mem: 3815 1475 1648 113 691 1987
Swap: 2047 1834 213

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 75G 39G 34G 54% /

==================== DISK INFORMATION ====================
Disk /dev/sda: 76.3 GiB, 81923145728 bytes, 160006144 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 429800E9-7239-4627-BEC9-7792EEDDB87A

Device Start End Sectors Size Type
/dev/sda1 528384 160006110 159477727 76G Linux filesystem
/dev/sda14 2048 4095 2048 1M BIOS boot
/dev/sda15 4096 528383 524288 256M EFI System

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [bathindahelper@gmail.com]:
Sending mail to bathindahelper@gmail.com. . .
Testing sending to bathindahelper@gmail.com using email-smtp.ap-south-1.amazonaws.com:587, username:AKIAWRLBIAD2ZJ73AK3F with plain auth.
SMTP server connection successful.
Sending to bathindahelper@gmail.com. . .
Mail accepted by SMTP server.
Message-ID: 4df35f46-7338-41c2-9d3f-9e56304463df@bathindahelper.com

If you do not receive the message, check your SPAM folder
or test again using a service like http://www.mail-tester.com/.

If the message is not delivered it is not a problem with Discourse.
Check the SMTP server logs for the above Message ID to see why it
failed to deliver the message.
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

==================== DONE! ====================

You can examine the output of this script with
LESS=-Ri less /tmp/discourse-debug.txt

BUT FIRST, make sure that you know the first three commands below!!!

Commands to know when viewing the file with the above command (called 'less'):
q -- quit
/error<ENTER> -- search for the word 'error'
n -- search for the next occurrence
g -- go to the beginning of the file
f -- go forward a page
b -- go back a page
G -- go to the end of the file
root@cpx21-3c-4r-80ssd:/var/discourse#

```

위와 같이 표시된 대로, 저는 # 기호를 사용하여 거의 모든 플러그인을 비활성화했습니다.  
누군가 두 컨테이너의 빌드가 왜 실패하는지 알려주실 수 있을까요?

##Container\_Rebuilding\_Failing  
##Rebuild\_Web\_Only\_fails  
##Rebuild-Data-fails

---

<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: [2월 27, 2024, 5:40오후 UTC](https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861/2 "2024-02-27T17:40:53Z")

</div>

AI 플러그인을 설치하려면 데이터 컨테이너를 반드시 다시 빌드해야 합니다.

문제를 파악할 수 있도록 재빌드 시의 전체 출력을 포함해 제공해 주셔야 합니다.

---

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [2월 28, 2024, 4:08오전 UTC](https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861/3 "2024-02-28T04:08:19Z")

</div>

‘data’ 컨테이너를 재구축하는 것 외에도(몰랐던 분들을 위해 말씀드리면, 먼저 web\_only 컨테이너를 종료해야 했습니다), RAM도 부족했습니다(총 4GB뿐이었고, 4GB의 스왑을 추가해야 했어요).

다시 한번 감사드립니다. 아마도 당신은 이 커뮤니티 자체만큼이나 Discourse(커뮤니티)에 중요한 존재일지도 모릅니다.

---

<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: [3월 29, 2024, 4:08오전 UTC](https://meta.discourse.org/t/bootstrapping-failing-for-data-yml-as-well-as-web-only/296861/4 "2024-03-29T04:08:44Z")

</div>

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