Discourse down. Zertifikat aktualisiert, App neu erstellt, aber funktioniert immer noch nicht

Hallo,

Aus irgendeinem Grund muss ich mein Zertifikat alle zwei Monate manuell aktualisieren, aber jetzt ist nur etwas mehr als ein Monat vergangen, und es scheint, als wäre das Zertifikat wieder abgelaufen, und wir können uns nicht in Discourse einloggen.

Normalerweise aktualisiere ich das Zertifikat in Digital Ocean, aber dieses Mal funktioniert das auch nicht. Unten ist der Code aus der Konsole. Kann mir jemand sagen, was falsch ist?

Vielen Dank


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

In meinem Update ist ein Fehler aufgetreten

```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })

Bitte helft mir, ihn zu beheben.

Hier ist derselbe Code in einer WORD-Datei, falls das einfacher zu lesen ist.

Console.docx (31,1 KB)

Ihr Computer hatte nicht genügend Arbeitsspeicher, daher müssen Sie Swap hinzufügen oder zu einer Instanz mit mehr RAM migrieren. Oder beides!

Hallo Ed,

Danke für deine Antwort!

Entschuldige die dummen Fragen, vielleicht: Aktualisiere ich das hier bei Digital Ocean und fordere mehr RAM an?

Hilft es auch, wenn ich den Befehl zum Löschen alter Bilder ausführe?

Und zuletzt: Was bedeutet „SWAP hinzufügen“? Wie funktioniert das?

PS: Ich habe gerade versucht, Bilder zu entfernen, aber es hat nicht geholfen

PPS: Es scheint immer noch, dass die Lizenz nicht aktualisiert ist, obwohl ich den Prozess ausgeführt habe.

Wenn Sie kein erfahrener Linux-Systemadministrator sind oder bereit sind, etwas mehr für das Hosting auszugeben, ist die einfachste Methode, die Benutzeroberfläche des Hosting-Anbieters zu verwenden, um die Instanz mit mehr RAM zu vergrößern.

Wenn Sie versuchen möchten, Swap hinzuzufügen, sehen Sie sich vielleicht meinen Beitrag hier für einige Informationen und einen Link an.

Bearbeitung: Ich sehe keine Anzeichen dafür, dass Ihnen der Speicherplatz ausgeht, daher gibt es keinen besonderen Grund, aufzuräumen.

Bearbeitung: Vielleicht sehen Sie sich auch Folgendes an

Sie können Ihren Droplet vergrößern.

Swap ist die Verwendung eines Teils Ihrer Festplatte als RAM. Sie sollten bereits etwas haben.

free -h

zeigt Ihnen RAM und Swap an.

discourse-setup fügt eine 2 GB Swap-Partition wie folgt hinzu:

      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

Sie haben möglicherweise bereits 2 GB und müssen diese erhöhen. Eine einfache Möglichkeit besteht darin, diese Schritte erneut auszuführen, aber swapfile in swapfile2 zu ändern.

Wenn Sie frustriert sind und Geld für das Problem ausgeben möchten, sehen Sie sich mein Profil an.

Okay Leute. Vielen Dank für eure Hilfe. Ich werde eure Vorschläge ausprobieren und melde mich wieder, um euch zu erzählen, wie es läuft…

Großartig! Es funktioniert. Ich habe es nicht geschafft, SWAP zu nutzen, aber ich habe den RAM bei DigitalOcean erhöht, und jetzt funktioniert es.

Ich weiß das zu schätzen!

Wissen Sie zufällig, wie viel RAM Sie hatten und wie viel Sie jetzt haben?

Ja, ich hatte 2 GB, und der nächste Schritt ist 8 GB, was ich nach dem Upgrade habe.

Es gab eine 4-GB-Option. Wenn Sie sich 8 GB leisten können, wird es sicher funktionieren. Wenn das Geld knapp ist, kommen Sie mit 4 GB auf jeden Fall aus (Sie sind mit 2 GB ausgekommen und brauchen nur mehr für die Wiederaufbauten) oder indem Sie einfach den Swap erhöhen.

Danke für den Tipp, Jay. Wir können uns das leisten – wir teilen es unter den Mitgliedern auf. Ja, theoretisch gibt es eine 4 GB Option, aber anscheinend nicht für uns(?!) Optionen zwischen 2 und 8 GB waren ausgegraut und konnten nicht ausgewählt werden. Der nächste wählbare Radiobutton war 8 GB. Das wird uns zumindest für ein paar Jahre reichen LOL.

Ah. Ich glaube, das bedeutet, dass das Rechenzentrum, in dem Sie sich befinden, fast voll ist, sodass diese Optionen nicht verfügbar sind.

Ja, das ergibt Sinn. Ich habe irgendwo gelesen, dass es so funktioniert.