Discourse down. Updated certificate, rebuilt app, but still not working

Hi,

For some reason, I need to manually update my certificate every second month, but now it’s only been a little bit over a month, and it seems the certificate has expired again, and we can’t log into Discourse.

Usually, I update the certificate in Digital Ocean, but that’s not working this time, either. Below is the code from the console. Can someone advise what’s wrong?

Thanks a lot


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:~#

Here is the same code in a WORD file if that’s easier to read.

Console.docx (31.1 KB)

Your machine ran out of memory so you need to add swap or migrate to an instance with more RAM. Or both!

2 Likes

Hi Ed,

Thanks for your reply!

Sorry for the silly questions, perhaps: Do I update this with Digital Ocean then and ask for more RAM?

Also, does it help if I run the command to erase old images?

And last: what does it mean to “add SWAP?” How does that work.

PS: I just tried to remove pics, but it didn’t help

PPS: It still seems like the license is not updated, although I did run the process.

If you’re not an experienced linux sysadmin, or if you’re happy to just spend a little more on hosting, then using the hosting provider’s interface to resize to an instance with more RAM is going to be easiest.

If you want to try adding swap, perhaps see my post over here for some info and a link.

Edit: I see no indication that you’re short of disk space, so there’s no particular need to tidy up.

Edit: perhaps see also

1 Like

You can resize your droplet.

Swap is using part of your hard drive as RAM. You should have some already.

free -h 

will show you ram and swap.

discourse-setup adds a 2gb swap partition like this:

      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

You may already have 2GB and need to increase it. An easy way is to do those steps again, but change swapfile to swapfile2

If you’re frustrated and want to throw money at the problem, see my profile.

OK guys. Thanks a lot for your help. I will try your suggestions, and I’ll be back to tell you how it goes…

2 Likes

Awesome! It’s working. I didn’t manage to SWAP, but I increased the RAM at DigitalOcean, and now it works.

I appreciate you!

2 Likes

Do you happen to know how much RAM you had and how much you have now ?

1 Like

Yes, I had 2GB, and the next step up is 8GB, which is what I have after the upgrade.

1 Like

There was a 4GB option. If you can afford the 8GB, it’ll surely work. If money is tight, you can definitely get by wiith 4GB (you’ve been OK with 2 and you need more only to do the rebuilds), or by just increasing the swap.

Thanks for the tip, Jay. We can afford it–we share it among the members. Yes, theoretically there is a 4GB option, but apparently not for us(?!) Options between 2 and 8GB were grayed out and could not be selected. The next selectable radio button was 8GB. At least, that will hold us for a few years LOL.

1 Like

Ah. I think that means that the data center where you are is almost full, so those options aren’t available.

1 Like

Oh yes! That makes sense. I read somewhere that this is how it works.

1 Like