مرحباً،
لسبب ما، أحتاج إلى تحديث شهادتي (Certificate) يدوياً كل شهرين، ولكن الآن لم يمر سوى شهر بقليل، ويبدو أن الشهادة انتهت صلاحيتها مرة أخرى، ولا يمكننا تسجيل الدخول إلى Discourse.
عادةً ما أقوم بتحديث الشهادة في Digital Ocean، لكن ذلك لا يعمل هذه المرة أيضاً. فيما يلي الكود من وحدة التحكم (Console). هل يمكن لأحد أن يخبرني ما هو الخطأ؟
شكراً جزيلاً لك
مرحباً بك في Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-169-generic x86_64)
* التوثيق: https://help.ubuntu.com
* الإدارة: https://landscape.canonical.com
* الدعم: https://ubuntu.com/advantage
معلومات النظام اعتباراً من الجمعة مارس 22 17:23:29 UTC 2024
حمل النظام: 0.0 المستخدمون المسجلون: 0
استخدام /: 88.9% من 48.27GB عنوان IPv4 لـ docker0: 172.17.0.1
استخدام الذاكرة: 62% عنوان IPv4 لـ eth0: 69.55.54.86
استخدام التبادل (Swap): 22% عنوان IPv4 لـ eth0: 10.10.0.5
العمليات: 191 عنوان IPv4 لـ eth1: 10.116.0.2
=> / يستخدم 88.9% من 48.27GB
لم يتم تمكين الصيانة الأمنية الموسعة للتطبيقات.
يمكن تطبيق 46 تحديثاً على الفور.
لرؤية هذه التحديثات الإضافية، قم بتشغيل: apt list --upgradable
يمكن تطبيق تحديث أمني إضافي واحد باستخدام ESM Apps.
تعرف على المزيد حول تمكين خدمة ESM Apps على https://ubuntu.com/esm
*** مطلوب إعادة تشغيل النظام ***
آخر تسجيل دخول: الاثنين فبراير 19 17:51:05 2024 من 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
حدث خطأ في تحديثي
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
يرجى مساعدتي في إصلاحه.
