# Discourse가 중단되었습니다. 인증서를 업데이트하고 앱을 재구축했지만 여전히 작동하지 않습니다

**URL:** https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569
**Category:** Self-hosting
**Tags:** two-container
**Created:** [3월 22, 2024, 5:48오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569 "2024-03-22T17:48:47Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 5:48오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/1 "2024-03-22T17:48:47Z")

</div>

안녕하세요,

어떤 이유에선지 두 달에 한 번씩 수동으로 인증서를 업데이트해야 하는데, 이번에는 한 달 조금 지났을 뿐인데 인증서가 다시 만료된 것 같고, Discourse에 로그인할 수 없습니다.

보통은 Digital Ocean에서 인증서를 업데이트하지만, 이번에는 그 방법도 작동하지 않습니다. 아래는 콘솔에서 가져온 코드입니다. 무엇이 문제인지 조언해 주실 수 있나요?

감사합니다.

* * *

````plaintext
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-169-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Fri Mar 22 17:23:29 UTC 2024

  System load: 0.0 Users logged in: 0
  Usage of /: 88.9% of 48.27GB IPv4 address for docker0: 172.17.0.1
  Memory usage: 62% IPv4 address for eth0: 69.55.54.86
  Swap usage: 22% IPv4 address for eth0: 10.10.0.5
  Processes: 191 IPv4 address for eth1: 10.116.0.2

  => / is using 88.9% of 48.27GB

Expanded Security Maintenance for Applications is not enabled.

46 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

1 additional security update can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

***System restart required***
Last login: Mon Feb 19 17:51:05 2024 from 162.243.190.66
root@wespenreboards:~# cd /var/discourse
root@wespenreboards:~# git pull
remote: Enumerating objects: 92, done.
remote: Counting objects: 100% (92/92), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 92 (delta 47), reused 70 (delta 39), pack-reused 0
Unpacking objects: 100% (92/92), 46.44 KiB | 1.25 MiB/s, done.
From https://github.com/discourse/discourse_docker
   7cc301e..5bbffa8 main -> origin/main
 * [new branch] loic-add-chromium -> origin/loic-add-chromium
 * [new branch] use_arm_runner -> origin/use_arm_runner
Updating 7cc301e..5bbffa8
Fast-forward
 .github/workflows/build.yml | 103 ++++++++++++++++------------
 discourse-doctor | 2 +-
 discourse-setup | 4 +-
 image/auto_build.rb | 10 +++
 image/base/install-jemalloc | 53 +++++++++-----
 image/base/install-redis | 5 ++
 image/base/release.Dockerfile | 2 +-
 image/base/slim.Dockerfile | 2 +-
 image/discourse_test/Dockerfile | 10 +--
 image/discourse_test/install-chrome | 20 ++++++
 launcher | 2 +-
 samples/mail-receiver.yml | 10 +--
 scripts/mk_swapfile | 51 --------------
 templates/postgres.15.template.yml | 258 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 14 files changed, 404 insertions(+), 128 deletions(-)
 create mode 100755 image/discourse_test/install-chrome
 delete mode 100755 scripts/mk_swapfile
 create mode 100644 templates/postgres.15.template.yml
root@wespenreboards:~# ./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only
x86_64 arch detected.
WARNING: containers/web_only.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/web_only.yml
2.0.20231218-0429: Pulling from discourse/base
Digest: sha256:468f70b9bb4c6d0c6c2bbb3efc1a5e12d145eae57bdb6946b7fe5558beb52dc1
Status: Image is up to date for discourse/base:2.0.20231218-0429
docker.io/discourse/base:2.0.20231218-0429
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-03-22T17:26:25.538909 #1] INFO -- : Reading from stdin
I, [2024-03-22T17:26:25.545007 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-03-22T17:26:25.552191 #1] INFO -- : thpoff is installed!

I, [2024-03-22T17:26:25.552977 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2024-03-22T17:26:25.640386 #1] INFO -- : 
I, [2024-03-22T17:26:25.641047 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-03-22T17:26:25.762768 #1] INFO -- : 
I, [2024-03-22T17:26:25.763710 #1] INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-03-22T17:26:25.880827 #1] INFO -- : 
I, [2024-03-22T17:26:25.881547 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-03-22T17:26:25.892884 #1] INFO -- : 
I, [2024-03-22T17:26:25.902611 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown: 
I, [2024-03-22T17:26:25.913344 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown: 
I, [2024-03-22T17:26:25.922374 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown: 
I, [2024-03-22T17:26:25.930959 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown: 
I, [2024-03-22T17:26:25.938496 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown: 
I, [2024-03-22T17:26:25.945212 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown: 
I, [2024-03-22T17:26:25.946584 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (33715/33715), done.
I, [2024-03-22T17:26:30.952628 #1] INFO -- : HEAD is now at 6ab1a19e9 DEV: Convert min_trust_level_to_allow_invite to groups (#24893)

I, [2024-03-22T17:26:30.955529 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-03-22T17:26:31.297071 #1] INFO -- : 
I, [2024-03-22T17:26:31.297471 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [$(git rev-parse --is-shallow-repository) == "true"]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
From https://github.com/discourse/discourse
 - [deleted] (none) -> origin/0-assets-spec2
 - [deleted] (none) -> origin/0-drop-code
 - [deleted] (none) -> origin/0-followup
 - [deleted] (none) -> origin/0-gjs-iframed-html
 - [deleted] (none) -> origin/a11y-sidebar-contrast
 - [deleted] (none) -> origin/a11y–focus-tooltip
 - [deleted] (none) -> origin/add-ds-store-to-gitignore
 - [deleted] (none) -> origin/add-new-chat-indicator-preference-only-mentions
 - [deleted] (none) -> origin/add-topic-voting-webhook
 - [deleted] (none) -> origin/after-topic-list
 - [deleted] (none) -> origin/api-reduce-motion
 - [deleted] (none) -> origin/api-topic-title-decorator
 - [deleted] (none) -> origin/boosted-searches
 - [deleted] (none) -> origin/bulk-button-class
 - [deleted] (none) -> origin/card-container-plugin-outlet
 - [deleted] (none) -> origin/composer-warnings-use-notice-alt
 - [deleted] (none) -> origin/confirm-session-only-after-5-mins
 - [deleted] (none) -> origin/dependabot/bundler/excon-0.108.0
 - [deleted] (none) -> origin/dependabot/bundler/hashdiff-1.1.0
 - [deleted] (none) -> origin/dependabot/bundler/parallel-1.24.0
 - [deleted] (none) -> origin/dependabot/bundler/rubocop-discourse-3.6.0
 - [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.6.0
 - [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.10.0
 - [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/drop-target-2.0.2
 - [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.7.0
 - [deleted] (none) -> origin/desktop-notification-handlers
 - [deleted] (none) -> origin/dev-rework-codeblock-fix
 - [deleted] (none) -> origin/dev/add-new-chat-metrics
 - [deleted] (none) -> origin/dev/allow-chat-mentions-to-have-several-notifications
 - [deleted] (none) -> origin/dev/convert-min-trust-level-to-create-tag-to-group
 - [deleted] (none) -> origin/dev/convert-min-trust-level-to-ignore-to-groups
 - [deleted] (none) -> origin/dev/dry-up-user-status-serializers
 - [deleted] (none) -> origin/dev/flaky-chat-details-collapser-spec
 - [deleted] (none) -> origin/dev/no-need-to-include-user-status-twice
 - [deleted] (none) -> origin/dev/rafactor-the-export-csv-file-job
 - [deleted] (none) -> origin/dev/rethink-mass-mentions-polymorphic
 - [deleted] (none) -> origin/dev/revert-guardian-devex
 - [deleted] (none) -> origin/dev/simplify-lib-test-js
 - [deleted] (none) -> origin/dev/test-status-tooltip-in-its-own-test-2
 - [deleted] (none) -> origin/dev/trust-level-value-object
 - [deleted] (none) -> origin/dev_categories
 - [deleted] (none) -> origin/dev_watched_words
 - [deleted] (none) -> origin/drop-kit
 - [deleted] (none) -> origin/experimantal/deleted-channel-and-messages-export
 - [deleted] (none) -> origin/extract_stripper
 - [deleted] (none) -> origin/feat-render-images-in-local-onebox
 - [deleted] (none) -> origin/feature/admin-sidebar-v0
 - [deleted] (none) -> origin/feature/experimental-passkeys
 - [deleted] (none) -> origin/feature/migrations-schema-generator
 - [deleted] (none) -> origin/feature/watched-word-groups
 - [deleted] (none) -> origin/feature_watched_words_validation
 - [deleted] (none) -> origin/filtered-events
 - [deleted] (none) -> origin/fix-client-tests-for-status
 - [deleted] (none) -> origin/fix-join-filter-upload
 - [deleted] (none) -> origin/fix-modal-flash-minor
 - [deleted] (none) -> origin/fix/count-mass-mentions-correctly
 - [deleted] (none) -> origin/fix/do-not-consider-codeblocks-when-parsing-mentions-alt
 - [deleted] (none) -> origin/fix/dont-fail-when-exporting-chat-messages-from-deleted-channels-or-of-deleted-users
 - [deleted] (none) -> origin/fix/multi-tag-search
 - [deleted] (none) -> origin/float-kit-3
 - [deleted] (none) -> origin/generic-import-latest-snowflake
 - [deleted] (none) -> origin/global-notice-reactive
 - [deleted] (none) -> origin/group-directory-cleanup
 - [deleted] (none) -> origin/issue/fix-guardian-init-basic-user
 - [deleted] (none) -> origin/keyword-site-setting
 - [deleted] (none) -> origin/labeler
 - [deleted] (none) -> origin/large-notification-table
 - [deleted] (none) -> origin/loic-use-ar-enums-posts
 - [deleted] (none) -> origin/low-ram-help
 - [deleted] (none) -> origin/mobile-categories-refactor
 - [deleted] (none) -> origin/mobile-view-param-key
 - [deleted] (none) -> origin/move-automation-to-core
 - [deleted] (none) -> origin/move-checkbox-public-up
 - [deleted] (none) -> origin/move_inflector
 - [deleted] (none) -> origin/multi-invite
 - [deleted] (none) -> origin/offline-indicator-by-default
 - [deleted] (none) -> origin/passkeys-part-3
 - [deleted] (none) -> origin/plugin-extra-js
 - [deleted] (none) -> origin/poc/auto-after-before-plugin-outlets
 - [deleted] (none) -> origin/poc/insert-before-after-wrapping-outlet
 - [deleted] (none) -> origin/rails-6.x-update
 - [deleted] (none) -> origin/rebake-quotes
 - [deleted] (none) -> origin/redirect-cat-trail
 - [deleted] (none) -> origin/reply-where-position
 - [deleted] (none) -> origin/revert-maxmind
 - [deleted] (none) -> origin/rotate-token-on-ip-change
 - [deleted] (none) -> origin/search_refactor
 - [deleted] (none) -> origin/security/bookmark-notification-unread-visibility
 - [deleted] (none) -> origin/support-load-more-btn
 - [deleted] (none) -> origin/table-builder-modal-modifier
 - [deleted] (none) -> origin/test-issue-temporary
 - [deleted] (none) -> origin/test-mentions-duplicates
 - [deleted] (none) -> origin/tests-passed-broken
 - [deleted] (none) -> origin/tmp/reimplement-all-and-here-mentions
 - [deleted] (none) -> origin/topic-list-refactor
 - [deleted] (none) -> origin/transform-hooks
 - [deleted] (none) -> origin/transform-post-fn-api
 - [deleted] (none) -> origin/tweaks-2-fr
 - [deleted] (none) -> origin/update-login-modal-mark
 - [deleted] (none) -> origin/user-group-messages-after-latest
 - [deleted] (none) -> origin/username_cache
 - [deleted] (none) -> origin/ux-add-sorting-params-to-outlet
 - [deleted] (none) -> origin/watched-words-link
 - [deleted] (none) -> origin/webauthn-internal-refactor
 - [deleted] (none) -> origin/wip-close-on-click-outside-search
 - [deleted] (none) -> origin/wip_categories
 - [deleted] (none) -> origin/wizard-split
   6ab1a19e9..4a7e69d8e main -> origin/main
 * [new branch] 0-bug-mention -> origin/0-bug-mention
 * [new branch] 0-ember-bump -> origin/0-ember-bump
 * [new branch] 0-extend-native -> origin/0-extend-native
 * [new branch] 0-fix-perf-watched-words -> origin/0-fix-perf-watched-words
 * [new branch] a11y-selectkit-loading -> origin/a11y-selectkit-loading
 * [new branch] allow-overriding-sidebar-my-posts-icon -> origin/allow-overriding-sidebar-my-posts-icon
 * [new branch] allow-staff-to-tag -> origin/allow-staff-to-tag
 * [new branch] asciinema-iframe -> origin/asciinema-iframe
 * [new branch] async-find-by-ids -> origin/async-find-by-ids
 * [new branch] bulk-actions-plugin-api -> origin/bulk-actions-plugin-api
 * [new branch] d-object -> origin/d-object
 * [new branch] decorator-transforms -> origin/decorator-transforms
 * [new branch] dependabot/bundler/parallel_tests-4.4.0 -> origin/dependabot/bundler/parallel_tests-4.4.0
 * [new branch] dependabot/npm_and_yarn/markdown-it-14.1.0 -> origin/dependabot/npm_and_yarn/markdown-it-14.1.0
 * [new branch] dependabot/npm_and_yarn/puppeteer-core-22.6.0 -> origin/dependabot/npm_and_yarn/puppeteer-core-22.6.0
 * [new branch] dev/catch-missing-translations-during-test-runs -> origin/dev/catch-missing-translations-during-test-runs
 * [new branch] dev/db-backed-admin-messages -> origin/dev/db-backed-admin-messages
 * [new branch] dev/deprecate-found-user-with-status-serializer -> origin/dev/deprecate-found-user-with-status-serializer
 * [new branch] dev/drop-found-user-with-status-serializer -> origin/dev/drop-found-user-with-status-serializer
 + 79ea38776...bd0faffec dev/drop-notification_id-column-on-chat-mentions -> origin/dev/drop-notification_id-column-on-chat-mentions (forced update)
 * [new branch] dev/drop-the-user-id-column-from-chat-mentions -> origin/dev/drop-the-user-id-column-from-chat-mentions
 * [new branch] dev/incremental-imports-experiments-base -> origin/dev/incremental-imports-experiments-base
 * [new branch] dev/incremental-imports-experiments-pgloaded -> origin/dev/incremental-imports-experiments-pgloaded
 * [new branch] dev/incremental-imports-experiments-virtualpg -> origin/dev/incremental-imports-experiments-virtualpg
 * [new branch] dev/make-admins-tl4-in-tests -> origin/dev/make-admins-tl4-in-tests
 * [new branch] dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic
 * [new branch] dev/stylesheet_importer_categories_with_background_images-modifier -> origin/dev/stylesheet_importer_categories_with_background_images-modifier
 * [new branch] dev_lazy_load_categories_tests -> origin/dev_lazy_load_categories_tests
 * [new branch] dev_update_category_position -> origin/dev_update_category_position
 * [new branch] discover-stats -> origin/discover-stats
 * [new branch] dynamic-route-exp -> origin/dynamic-route-exp
 * [new branch] enable_brotli_compression_in_nginx -> origin/enable_brotli_compression_in_nginx
 * [new branch] extra-js-revert -> origin/extra-js-revert
   8780daeee..abc9cd9c5 feature/bookmark-menu-and-modal-redesign -> origin/feature/bookmark-menu-and-modal-redesign
 * [new branch] feature/disable-failing-auth-methods -> origin/feature/disable-failing-auth-methods
 * [new branch] feature/linkedin-oidc-logins -> origin/feature/linkedin-oidc-logins
 * [new branch] feature/paste-upload-on-first-upload-input-templates -> origin/feature/paste-upload-on-first-upload-input-templates
 * [new branch] feature_track_mentions -> origin/feature_track_mentions
 * [new branch] fix_default_value_validation_fail -> origin/fix_default_value_validation_fail
 * [new branch] fix_reviewable_translation -> origin/fix_reviewable_translation
 * [new branch] generic-import-add-suspender -> origin/generic-import-add-suspender
   7f2bdca65..eb3016cad generic-import-latest -> origin/generic-import-latest
 * [new branch] hijacks -> origin/hijacks
 * [new branch] live-cache -> origin/live-cache
 * [new branch] loic-selenium-chromium -> origin/loic-selenium-chromium
 * [new branch] member-xp/mobile-modal -> origin/member-xp/mobile-modal
 + 90a3535b7...1010a2c36 migrations-convert -> origin/migrations-convert (forced update)
 * [new branch] morph-composer-preview -> origin/morph-composer-preview
 * [new branch] non-canonical-post-urls -> origin/non-canonical-post-urls
 * [new branch] omniauth-2 -> origin/omniauth-2
 * [new branch] promote-migration-tweak -> origin/promote-migration-tweak
 * [new branch] reduce_filesize_of_emoji_group_sections_component -> origin/reduce_filesize_of_emoji_group_sections_component
 * [new branch] remove-bootbox -> origin/remove-bootbox
 * [new branch] see_if_yarn_cache_is_working -> origin/see_if_yarn_cache_is_working
 * [new branch] shared-draft-category -> origin/shared-draft-category
 * [new branch] sidebar-show-service-wip -> origin/sidebar-show-service-wip
   d7f7f79b6..7d9c8993c stable -> origin/stable
 * [new branch] support-query-string -> origin/support-query-string
   6ab1a19e9..f7b73f3d7 tests-passed -> origin/tests-passed
 * [new branch] tobiaseigen-patch-3 -> origin/tobiaseigen-patch-3
 * [new branch] tobiaseigen-patch-4 -> origin/tobiaseigen-patch-4
 * [new branch] universal-nonce -> origin/universal-nonce
 * [new branch] update-add-icons-to-use-float-kit -> origin/update-add-icons-to-use-float-kit
 * [new branch] user-menu-full-name -> origin/user-menu-full-name
 t [tag update] beta -> beta
 t [tag update] latest-release -> latest-release
 * [new tag] v3.1.4 -> v3.1.4
 * [new tag] v3.1.5 -> v3.1.5
 * [new tag] v3.2.0 -> v3.2.0
 * [new tag] v3.2.0.beta4 -> v3.2.0.beta4
 * [new tag] v3.2.0.beta5 -> v3.2.0.beta5
 * [new tag] v3.2.1 -> v3.2.1
 * [new tag] v3.3.0.beta1 -> v3.3.0.beta1
I, [2024-03-22T17:26:32.119051 #1] INFO -- : 
I, [2024-03-22T17:26:32.119984 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[$(git symbolic-ref --short HEAD) == tests-passed]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
Switched to a new branch 'tests-passed'
I, [2024-03-22T17:26:37.501995 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2024-03-22T17:26:37.502626 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-03-22T17:26:37.522692 #1] INFO -- : 
I, [2024-03-22T17:26:37.523530 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-03-22T17:26:37.531540 #1] INFO -- : 
I, [2024-03-22T17:26:37.532286 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-03-22T17:26:37.540518 #1] INFO -- : 
I, [2024-03-22T17:26:37.540914 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-03-22T17:26:37.548049 #1] INFO -- : 
I, [2024-03-22T17:26:37.548425 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-03-22T17:26:37.554624 #1] INFO -- : 
I, [2024-03-22T17:26:37.555509 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-03-22T17:26:37.562929 #1] INFO -- : 
I, [2024-03-22T17:26:37.563772 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-03-22T17:26:37.570147 #1] INFO -- : 
I, [2024-03-22T17:26:37.570429 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-03-22T17:26:37.580321 #1] INFO -- : 
I, [2024-03-22T17:26:37.580583 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2024-03-22T17:26:37.590355 #1] INFO -- : 
I, [2024-03-22T17:26:37.590598 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-03-22T17:26:37.600747 #1] INFO -- : 
I, [2024-03-22T17:26:37.601018 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-03-22T17:26:37.609738 #1] INFO -- : 
I, [2024-03-22T17:26:37.610076 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-03-22T17:26:37.620422 #1] INFO -- : 
I, [2024-03-22T17:26:37.620720 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-03-22T17:26:37.629064 #1] INFO -- : 
I, [2024-03-22T17:26:37.629338 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-03-22T17:26:38.172827 #1] INFO -- : 
I, [2024-03-22T17:26:38.172985 #1] INFO -- : > cd /var/www/discourse && [! -d public/plugins] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-03-22T17:26:38.177312 #1] INFO -- : 
I, [2024-03-22T17:26:38.182905 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-03-22T17:26:38.870370 #1] INFO -- : 
I, [2024-03-22T17:26:38.870703 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bbcode.git
Cloning into 'discourse-bbcode'...
I, [2024-03-22T17:26:39.147734 #1] INFO -- : 
I, [2024-03-22T17:26:39.148453 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bbcode-color.git
Cloning into 'discourse-bbcode-color'...
I, [2024-03-22T17:26:39.468685 #1] INFO -- : 
I, [2024-03-22T17:26:39.469014 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
I, [2024-03-22T17:26:39.789368 #1] INFO -- : 
I, [2024-03-22T17:26:39.790052 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar.git
Cloning into 'discourse-calendar'...
I, [2024-03-22T17:26:40.429168 #1] INFO -- : 
I, [2024-03-22T17:26:40.429826 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Cloning into 'discourse-chat-integration'...
I, [2024-03-22T17:26:40.899587 #1] INFO -- : 
I, [2024-03-22T17:26:40.900129 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
Cloning into 'discourse-checklist'...
I, [2024-03-22T17:26:41.208570 #1] INFO -- : 
I, [2024-03-22T17:26:41.208898 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-follow.git
Cloning into 'discourse-follow'...
I, [2024-03-22T17:26:41.557654 #1] INFO -- : 
I, [2024-03-22T17:26:41.558183 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-footnote.git
Cloning into 'discourse-footnote'...
I, [2024-03-22T17:26:42.101428 #1] INFO -- : 
I, [2024-03-22T17:26:42.101562 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
Cloning into 'discourse-push-notifications'...
I, [2024-03-22T17:26:42.368777 #1] INFO -- : 
I, [2024-03-22T17:26:42.369107 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
I, [2024-03-22T17:26:42.784204 #1] INFO -- : 
I, [2024-03-22T17:26:42.784822 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-saved-searches.git
Cloning into 'discourse-saved-searches'...
I, [2024-03-22T17:26:43.088547 #1] INFO -- : 
I, [2024-03-22T17:26:43.089072 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-sitemap.git
Cloning into 'discourse-sitemap'...
I, [2024-03-22T17:26:43.420585 #1] INFO -- : 
I, [2024-03-22T17:26:43.421180 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-03-22T17:26:43.763779 #1] INFO -- : 
I, [2024-03-22T17:26:43.764087 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-spoiler-alert.git
Cloning into 'discourse-spoiler-alert'...
I, [2024-03-22T17:26:44.085074 #1] INFO -- : 
I, [2024-03-22T17:26:44.085673 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tooltips.git
Cloning into 'discourse-tooltips'...
I, [2024-03-22T17:26:44.419463 #1] INFO -- : 
I, [2024-03-22T17:26:44.420100 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2024-03-22T17:26:44.715578 #1] INFO -- : 
I, [2024-03-22T17:26:44.716324 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/Ebsy/discourse-nationalflags.git
Cloning into 'discourse-nationalflags'...
I, [2024-03-22T17:26:44.986469 #1] INFO -- : 
I, [2024-03-22T17:26:44.987300 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-poll-banner.git
Cloning into 'discourse-poll-banner'...
I, [2024-03-22T17:26:45.267998 #1] INFO -- : 
I, [2024-03-22T17:26:45.268515 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat.git
Cloning into 'discourse-chat'...
I, [2024-03-22T17:26:45.945315 #1] INFO -- : 
I, [2024-03-22T17:26:45.945784 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/cpradio/discourse-plugin-composer-help-button.git
Cloning into 'discourse-plugin-composer-help-button'...
I, [2024-03-22T17:26:46.196993 #1] INFO -- : 
I, [2024-03-22T17:26:46.197784 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-03-22T17:26:46.207050 #1] INFO -- : 
I, [2024-03-22T17:26:46.208154 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-03-22T17:26:46.213847 #1] INFO -- : 
I, [2024-03-22T17:26:46.214398 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-03-22T17:26:46.218780 #1] INFO -- : 
I, [2024-03-22T17:26:46.220057 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-03-22T17:26:46.223004 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-03-22T17:26:46.224211 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-03-22T17:26:46.224861 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-03-22T17:26:46.225333 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-03-22T17:26:46.225751 #1] INFO -- : > echo "done configuring web"
I, [2024-03-22T17:26:46.229149 #1] INFO -- : done configuring web

I, [2024-03-22T17:26:46.229761 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-03-22T17:26:47.044830 #1] INFO -- : Successfully installed bundler-2.5.3
1 gem installed

```I, [2024-03-22T17:26:47.045315 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-03-22T17:26:51.712517 #1] INFO -- : 
I, [2024-03-22T17:26:51.713134 #1] INFO -- : > cd /var/www/discourse && if ["tests-passed" != "tests-passed"]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-03-22T17:26:51.716910 #1] INFO -- : 
I, [2024-03-22T17:26:51.717294 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning Pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.3.8" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning " > @glint/environment-ember-loose@1.3.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-c6b41467-e440-426a-b142-bab03459c769 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-03-22T17:28:57.354813 #1] INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Done in 115.90s.
yarn cache v1.22.19
success Cleared cache.
Done in 8.89s.

I, [2024-03-22T17:28:57.362259 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-03-22T17:28:57.736837 #1] INFO -- : 
I, [2024-03-22T17:28:57.737279 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-03-22T17:28:57.952748 #1] INFO -- : You are replacing the current local value of without, which is currently "test:development"

I, [2024-03-22T17:28:57.953177 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-03-22T17:29:32.273315 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
Fetching minitest 5.22.3
Fetching concurrent-ruby 1.2.3
Fetching rack 2.2.9
Fetching aws-partitions 1.894.0
Installing rack 2.2.9
Installing aws-partitions 1.894.0
Installing minitest 5.22.3
Installing concurrent-ruby 1.2.3
Fetching bigdecimal 3.1.7
Installing bigdecimal 3.1.7 with native extensions
Fetching cbor 0.5.9.8
Installing cbor 0.5.9.8 with native extensions
Fetching excon 0.110.0
Installing excon 0.110.0
Fetching fastimage 2.3.0
Fetching google-protobuf 4.26.0 (x86_64-linux)
Installing fastimage 2.3.0
Fetching highline 3.0.1
Installing highline 3.0.1
Fetching image_size 3.4.0
Installing google-protobuf 4.26.0 (x86_64-linux)
Installing image_size 3.4.0
Fetching regexp_parser 2.9.0
Installing regexp_parser 2.9.0
Fetching thor 1.3.1
Installing thor 1.3.1
Fetching zeitwerk 2.6.13
Installing zeitwerk 2.6.13
Fetching logster 2.19.1
Fetching nio4r 2.7.1
Installing logster 2.19.1
Installing nio4r 2.7.1 with native extensions
Fetching version_gem 1.1.4
Installing version_gem 1.1.4
Fetching stackprof 0.2.26
Installing stackprof 0.2.26 with native extensions
Fetching nokogiri 1.16.3 (x86_64-linux)
Installing nokogiri 1.16.3 (x86_64-linux)
Fetching aws-sigv4 1.8.0
Installing aws-sigv4 1.8.0
Fetching jwt 2.8.1
Installing jwt 2.8.1
Fetching bootsnap 1.18.3
Installing bootsnap 1.18.3 with native extensions
Fetching request_store 1.6.0
Installing request_store 1.6.0
Fetching rack-mini-profiler 3.3.1
Installing rack-mini-profiler 3.3.1
Fetching rack-protection 3.2.0
Installing rack-protection 3.2.0
Fetching i18n 1.14.4
Installing i18n 1.14.4
Fetching net-http 0.4.1
Installing net-http 0.4.1
Fetching sass-embedded 1.72.0 (x86_64-linux-gnu)
Fetching rbtrace 0.5.1
Installing rbtrace 0.5.1 with native extensions
Installing sass-embedded 1.72.0 (x86_64-linux-gnu)
Fetching net-imap 0.4.10
Installing net-imap 0.4.10
Fetching net-smtp 0.4.0.1
Installing net-smtp 0.4.0.1
Fetching aws-sdk-core 3.191.3
Installing aws-sdk-core 3.191.3
Fetching activesupport 7.0.8.1
Installing activesupport 7.0.8.1
Fetching tzinfo-data 1.2024.1
Installing tzinfo-data 1.2024.1
Fetching faraday-net_http 3.1.0
Installing faraday-net_http 3.1.0
Fetching puma 6.4.2
Installing puma 6.4.2 with native extensions
Fetching sassc-embedded 1.70.1
Installing sassc-embedded 1.70.1
Fetching aws-sdk-kms 1.77.0
Installing aws-sdk-kms 1.77.0
Fetching aws-sdk-sns 1.72.0
Installing aws-sdk-sns 1.72.0
Fetching activemodel 7.0.8.1
Installing activemodel 7.0.8.1
Fetching faraday 2.9.0
Installing faraday 2.9.0
Fetching aws-sdk-s3 1.143.0
Installing aws-sdk-s3 1.143.0
Fetching actionview 7.0.8.1
Installing actionview 7.0.8.1
Fetching activejob 7.0.8.1
Installing activejob 7.0.8.1
Fetching activerecord 7.0.8.1
Installing activerecord 7.0.8.1
Fetching actionpack 7.0.8.1
Installing actionpack 7.0.8.1
Fetching actionview_precompiler 0.4.0
Installing actionview_precompiler 0.4.0
Fetching actionmailer 7.0.8.1
Installing actionmailer 7.0.8.1
Fetching railties 7.0.8.1
Installing railties 7.0.8.1
Fetching rails_multisite 6.0.0
Installing rails_multisite 6.0.0
Fetching json_schemer 2.2.1
Installing json_schemer 2.2.1
Bundle complete! 137 Gemfile dependencies, 170 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2024-03-22T17:29:32.274420 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-03-22T17:29:37.133423 #1] INFO -- : discourse-bbcode is already at latest compatible version
discourse-bbcode-color is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-calendar is already at latest compatible version
discourse-chat is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-checklist is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-footnote is already at latest compatible version
discourse-nationalflags is already at latest compatible version
discourse-plugin-composer-help-button is already at latest compatible version
discourse-poll-banner is already at latest compatible version
discourse-push-notifications is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-saved-searches is already at latest compatible version
discourse-sitemap is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-spoiler-alert is already at latest compatible version
discourse-tooltips is already at latest compatible version
discourse-whos-online is already at latest compatible version
docker_manager is already at latest compatible version

I, [2024-03-22T17:29:37.133972 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
I, [2024-03-22T17:29:47.297707 #1] INFO -- : gem install rrule -v 0.4.4 -i /var/www/discourse/plugins/discourse-calendar/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed rrule-0.4.4
1 gem installed

I, [2024-03-22T17:29:47.298020 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile'
Node.js heap_size_limit (2008.0) is less than 2048MB. Setting --max-old-space-size=2048.
Killed
error Command failed with exit code 137.
I, [2024-03-22T17:32:12.756292 #1] INFO -- : Checking 'Keyboard Text Button Component' for 'default'... up to date
Checking 'Masonry Image Gallery' for 'default'... up to date
Checking 'DiscoTOC' for 'default'... up to date
Checking 'discourse gifs' for 'default'... up to date
Checking 'Welcome Link Banner' for 'default'... up to date
Checking 'Easy Footer' for 'default'... up to date
yarn run v1.22.19
$ /var/www/discourse/node_modules/.bin/ember build
Building
Environment: development
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
building... 
...[ConfigLoader]
...[Babel: @embroider/macros > applyPatches]
...[Babel: ember-source > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: @glimmer/component > applyPatches]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: ember-tracked-storage-polyfill > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: @ember/render-modifiers > applyPatches]
...[Babel: @ember/test-helpers > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-this-fallback > applyPatches]
...[Babel: ember-buffered-proxy > applyPatches]
...[Babel: ember-load-initializers > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3535 exit 137>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 137
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
a229464f1b71ac9f7911cb499ac22f4cf089775efd4147b3413b3e087954ceb0
root@wespenreboards:~# ^C
root@wespenreboards:~#

````

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 5:50오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/2 "2024-03-22T17:50:03Z")

</div>

읽기 편하도록 같은 코드를 WORD 파일로 첨부했습니다.

[Console.docx](https://meta.discourse.org/uploads/short-url/mpxS23zLPaVizEDgkcFoLko58Jb.docx) (31.1 KB)

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [3월 22, 2024, 6:33오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/3 "2024-03-22T18:33:14Z")

</div>

기기의 메모리가 부족하므로 스왑 공간을 추가하거나 RAM이 더 많은 인스턴스로 이전해야 합니다. 또는 두 가지를 모두 실행하세요!

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 6:36오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/4 "2024-03-22T18:36:22Z")

</div>

에드님,

답장 주셔서 감사합니다!

간단한 질문을 드려 죄송합니다. 혹시 Digital Ocean으로 업데이트를 하고 RAM을 더 요청해야 하나요?

또한, 오래된 이미지를 삭제하는 명령어를 실행하면 도움이 될까요?

마지막으로, "SWAP을 추가한다"는 것은 무슨 뜻인가요? 어떻게 작동하는 건가요.

참고: 방금 사진을 삭제해 보았지만, 도움이 되지 않았습니다.

참고2: 프로세스를 실행했지만, 라이선스가 업데이트되지 않은 것으로 보입니다.

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [3월 22, 2024, 6:58오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/6 "2024-03-22T18:58:18Z")

</div>

숙련된 리눅스 시스템 관리자가 아니거나, 호스팅 비용이 조금 더 들더라도 괜찮다면, 호스팅 제공업체의 인터페이스를 사용하여 RAM이 더 많은 인스턴스로 리사이즈하는 것이 가장 쉽습니다.

스왑을 추가해 보고 싶다면, 관련 정보와 링크를 위해 [여기](https://meta.discourse.org/t/failed-to-bootstrap-on-first-install/295475/16)의 제 게시물을 참고해 보세요.

수정: 디스크 공간이 부족하다는 징후가 보이지 않으므로, 특별한 정리 작업은 필요하지 않습니다.

수정: 다음도 참고해 보세요.

> [@Ed\_S](#):
>
> 내 표준 즉시 진단 목록

---

<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: [3월 22, 2024, 7:04오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/7 "2024-03-22T19:04:12Z")

</div>

> [@WesPenre](#):
>
> Digital Ocean으로 이걸 업데이트하고 더 많은 RAM을 요청해야 하나요?

드롭릿(droplet)의 크기를 조정할 수 있습니다.

> [@WesPenre](#):
>
> 그리고 마지막으로: “SWAP을 추가한다”는 뜻은 무엇인가요? 어떻게 작동하나요?

Swap은 하드 드라이브의 일부를 RAM으로 사용하는 것입니다. 이미 일부가 설정되어 있을 수 있습니다.

```plaintext
free -h 

```

명령어로 RAM과 Swap 사용량을 확인할 수 있습니다.

discourse-setup는 다음과 같이 2GB의 Swap 파티션을 추가합니다:

```plaintext
      install -o root -g root -m 0600 /dev/null /swapfile
      fallocate -l 2G /swapfile
      mkswap /swapfile
      swapon /swapfile
      echo "/swapfile swap swap auto 0 0" | tee -a /etc/fstab
      sysctl -w vm.swappiness=10

```

이미 2GB가 설정되어 있을 수 있으며, 이를 늘려야 할 수도 있습니다. 쉬운 방법은 위의 단계를 다시 실행하되 `swapfile`을 `swapfile2`로 변경하는 것입니다.

도움이 필요해 답답하고 문제를 해결하기 위해 돈을 쓰고 싶다면, 제 프로필을 참고하세요.

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 7:05오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/8 "2024-03-22T19:05:45Z")

</div>

네, 여러분. 도움을 주셔서 정말 감사합니다. 여러분이 제안해 주신 방법들을 시도해 보고, 어떻게 되는지 다시 알려드릴게요…

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 7:28오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/9 "2024-03-22T19:28:46Z")

</div>

멋지네요! 잘 작동합니다. SWAP을 설정하지는 못했지만, DigitalOcean에서 RAM 용량을 늘린 후 이제 정상적으로 작동합니다.

도와주셔서 감사합니다!

---

<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: [3월 22, 2024, 7:57오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/10 "2024-03-22T19:57:58Z")

</div>

지금 RAM 용량이 얼마나 되는지, 그리고 현재 용량이 얼마나 되는지 혹시 알고 계신가요?

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 8:04오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/11 "2024-03-22T20:04:18Z")

</div>

네, 2GB였고 업그레이드 후 8GB가 되었습니다. 바로 다음 단계가 8GB이기 때문이에요.

---

<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: [3월 22, 2024, 8:11오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/12 "2024-03-22T20:11:41Z")

</div>

4GB 옵션이 있었습니다. 8GB를 감당할 수 있다면 확실히 문제없이 작동할 것입니다. 예산이 빠듯하다면 4GB로도 충분히 사용할 수 있습니다(2GB로 괜찮았고, 리빌드할 때만 더 많은 메모리가 필요했으니까요). 아니면 스왑 공간을 늘리는 것도 좋은 방법입니다.

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 8:18오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/13 "2024-03-22T20:18:02Z")

</div>

팁 알려줘서 고마워, 제이. 우리도 감당할 수 있어–멤버들끼리 나누어 쓰니까. 이론적으로는 4GB 옵션이 있지만, 우리한테는 apparently 제공되지 않는 것 같아(?!) 2GB와 8GB 사이 옵션들은 회색으로 비활성화되어 있어 선택할 수 없었어. 다음으로 선택 가능한 라디오 버튼은 8GB였어. 적어도 그걸로 몇 년은 버틸 수 있을 거야 LOL.

---

<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: [3월 22, 2024, 8:20오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/14 "2024-03-22T20:20:01Z")

</div>

아, 그 말은 지금 계신 데이터센터가 거의 가득 차서 해당 옵션을 사용할 수 없다는 뜻이겠네요.

---

<div class="post-metadata">

### Author: ![WesPenre](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@WesPenre](https://meta.discourse.org/u/WesPenre)
#### Post date: [3월 22, 2024, 8:20오후 UTC](https://meta.discourse.org/t/discourse-down-updated-certificate-rebuilt-app-but-still-not-working/300569/15 "2024-03-22T20:20:57Z")

</div>

아, 그렇군요! 그 말이 맞네요. 어딘가에서 그렇게 작동한다고 읽은 적이 있어요.
