所有日志
[root@VM-12-13-opencloudos discourse]# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Launcher is up-to-date
2.0.20240825-0027: Pulling from discourse/base
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
Status: Image is up to date for discourse/base:2.0.20240825-0027
docker.io/discourse/base:2.0.20240825-0027
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-10-19T13:50:31.994053 #1] INFO -- : Reading from stdin
I, [2024-10-19T13:50:32.004621 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-10-19T13:50:32.009191 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-10-19T13:50:32.013618 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-10-19T13:50:32.017938 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2024-10-19T13:50:32.022326 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-10-19T13:50:32.022750 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.023536 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.025221 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.026428 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.027604 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.029619 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.030608 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.031551 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.033322 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.034706 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-19T13:50:32.035041 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-19T13:50:32.036167 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-19T13:50:32.037059 #1] INFO -- : > if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
I, [2024-10-19T13:50:33.948482 #1] INFO -- : Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
I, [2024-10-19T13:50:33.948732 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-10-19T13:50:33.955411 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown:
I, [2024-10-19T13:50:33.963917 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-10-19T13:50:33.968300 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-10-19T13:50:33.969657 #1] INFO -- : > sleep 5
2024-10-19 13:50:34.081 UTC [39] LOG: starting PostgreSQL 13.16 (Debian 13.16-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-10-19 13:50:34.082 UTC [39] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-10-19 13:50:34.082 UTC [39] LOG: listening on IPv6 address "::", port 5432
2024-10-19 13:50:34.086 UTC [39] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-10-19 13:50:34.093 UTC [48] LOG: database system was shut down at 2024-10-19 13:48:19 UTC
2024-10-19 13:50:34.103 UTC [39] LOG: database system is ready to accept connections
I, [2024-10-19T13:50:38.974064 #1] INFO -- :
I, [2024-10-19T13:50:38.974219 #1] INFO -- : > /usr/local/bin/create_db
2024-10-19 13:50:39.815 UTC [58] postgres@postgres ERROR: database "discourse" already exists
2024-10-19 13:50:39.815 UTC [58] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
2024-10-19 13:50:39.904 UTC [61] postgres@discourse ERROR: role "discourse" already exists
2024-10-19 13:50:39.904 UTC [61] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
NOTICE: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping
NOTICE: version "0.7.4" of extension "vector" is already installed
NOTICE: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping
NOTICE: version "0.7.4" of extension "vector" is already installed
I, [2024-10-19T13:50:41.055604 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0
I, [2024-10-19T13:50:41.056260 #1] INFO -- : > echo postgres installed!
I, [2024-10-19T13:50:41.058685 #1] INFO -- : postgres installed!
I, [2024-10-19T13:50:41.062996 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2024-10-19T13:50:41.066731 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2024-10-19T13:50:41.070663 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-10-19T13:50:41.072432 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.073165 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.075450 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-10-19T13:50:41.083114 #1] INFO -- :
I, [2024-10-19T13:50:41.083654 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.084501 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.086688 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.088658 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.091200 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.095884 #1] INFO -- : > echo redis installed
I, [2024-10-19T13:50:41.097627 #1] INFO -- : redis installed
I, [2024-10-19T13:50:41.097959 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-10-19T13:50:41.105603 #1] INFO -- : logfile ""
I, [2024-10-19T13:50:41.105814 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-10-19T13:50:41.107689 #1] INFO -- : > sleep 10
107:C 19 Oct 2024 13:50:41.123 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
107:C 19 Oct 2024 13:50:41.123 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=107, just started
107:C 19 Oct 2024 13:50:41.123 # Configuration loaded
107:M 19 Oct 2024 13:50:41.123 * monotonic clock: POSIX clock_gettime
107:M 19 Oct 2024 13:50:41.126 * Running mode=standalone, port=6379.
107:M 19 Oct 2024 13:50:41.126 # Server initialized
107:M 19 Oct 2024 13:50:41.126 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
107:M 19 Oct 2024 13:50:41.126 * Loading RDB produced by version 7.0.7
107:M 19 Oct 2024 13:50:41.126 * RDB age 142 seconds
107:M 19 Oct 2024 13:50:41.126 * RDB memory usage when created 0.83 Mb
107:M 19 Oct 2024 13:50:41.126 * Done loading RDB, keys loaded: 11, keys expired: 0.
107:M 19 Oct 2024 13:50:41.126 * DB loaded from disk: 0.000 seconds
107:M 19 Oct 2024 13:50:41.126 * Ready to accept connections
I, [2024-10-19T13:50:51.109945 #1] INFO -- :
I, [2024-10-19T13:50:51.110333 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-10-19T13:50:51.115648 #1] INFO -- : thpoff is installed!
I, [2024-10-19T13:50:51.116217 #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-10-19T13:50:51.185084 #1] INFO -- :
I, [2024-10-19T13:50:51.185195 #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-10-19T13:50:51.256814 #1] INFO -- :
I, [2024-10-19T13:50:51.256929 #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-10-19T13:50:51.324896 #1] INFO -- :
I, [2024-10-19T13:50:51.325095 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-10-19T13:50:51.327476 #1] INFO -- :
I, [2024-10-19T13:50:51.330153 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-10-19T13:50:51.334196 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-10-19T13:50:51.338092 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-10-19T13:50:51.341990 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-10-19T13:50:51.345790 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-10-19T13:50:51.349861 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-10-19T13:50:51.350146 #1] INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
/root/install_postgres
rm /root/install_postgres
fi
sv start postgres || exit 1
in /etc/service/unicorn/run
I, [2024-10-19T13:50:51.352055 #1] INFO -- : > su discourse -c 'git config --global url."https://mirror.ghproxy.com/https://github.com/".insteadOf "https://github.com/"'
I, [2024-10-19T13:50:51.401411 #1] INFO -- :
I, [2024-10-19T13:50:51.403411 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34680/34680), done.
I, [2024-10-19T13:50:55.210905 #1] INFO -- : HEAD is now at 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523)
I, [2024-10-19T13:50:55.211024 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-10-19T13:50:55.343230 #1] INFO -- :
I, [2024-10-19T13:50:55.343530 #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
'
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
From https://mirror.ghproxy.com/https://github.com/discourse/discourse
- [deleted] (none) -> origin/0-a-gjs-ace
- [deleted] (none) -> origin/better-respect-End-key-in-topics
- [deleted] (none) -> origin/category-experts-approved-webhook-event
- [deleted] (none) -> origin/chat-sound-respects-indicator-pref
- [deleted] (none) -> origin/d-button-noautoclass
- [deleted] (none) -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
- [deleted] (none) -> origin/dependabot/bundler/sass-embedded-1.77.8
- [deleted] (none) -> origin/dependabot/bundler/sassc-embedded-1.77.8
- [deleted] (none) -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.2
- [deleted] (none) -> origin/dependabot/npm_and_yarn/ember/test-helpers-4.0.1
- [deleted] (none) -> origin/dependabot/npm_and_yarn/eslint-9.7.0
- [deleted] (none) -> origin/dependabot/npm_and_yarn/sass-1.77.8
- [deleted] (none) -> origin/detect-default-readonly
- [deleted] (none) -> origin/dev/add-skeleton-of-section-landing-page-and-items
- [deleted] (none) -> origin/dev/remove-header-widgets
- [deleted] (none) -> origin/feature/site-text-result-selected-lang
- [deleted] (none) -> origin/fix/add-user-to-user-directory-when-activated
- [deleted] (none) -> origin/issue/fix-bookmark-clearing-reminder
- [deleted] (none) -> origin/loic-drop-compiled-js-column
- [deleted] (none) -> origin/mt/converter
- [deleted] (none) -> origin/mt/uploads-command
- [deleted] (none) -> origin/native-class-components-2
- [deleted] (none) -> origin/native-class-components-3
- [deleted] (none) -> origin/notifications_id_bigint
- [deleted] (none) -> origin/prevent-desktop-notifications-on-mobile
- [deleted] (none) -> origin/tobiaseigen-patch-3
- [deleted] (none) -> origin/tobiaseigen-patch-5
- [deleted] (none) -> origin/update-composer-media-optimization-requirements
- [deleted] (none) -> origin/ux/admin-plugins-ui-guidelines
274e18622..201c174b4 main -> origin/main
* [new branch] 0-a-dl -> origin/0-a-dl
* [new branch] 0-a-more-topics-api -> origin/0-a-more-topics-api
* [new branch] 0-a-notif-button-gjs -> origin/0-a-notif-button-gjs
* [new branch] 0-a-presence-ref -> origin/0-a-presence-ref
* [new branch] auto-grid-images -> origin/auto-grid-images
* [new branch] automatic-grid-images -> origin/automatic-grid-images
* [new branch] avatar-uploader-uppy -> origin/avatar-uploader-uppy
* [new branch] chat-uppy-upload -> origin/chat-uppy-upload
* [new branch] chunk-size -> origin/chunk-size
* [new branch] cleanup-mobile-topic-footer-area -> origin/cleanup-mobile-topic-footer-area
7f254be61..488081d93 coco/generic-importer -> origin/coco/generic-importer
* [new branch] dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0
* [new branch] dependabot/bundler/sass-embedded-1.80.2 -> origin/dependabot/bundler/sass-embedded-1.80.2
* [new branch] dependabot/bundler/sassc-embedded-1.80.0 -> origin/dependabot/bundler/sassc-embedded-1.80.0
* [new branch] dependabot/npm_and_yarn/sass-1.80.2 -> origin/dependabot/npm_and_yarn/sass-1.80.2
* [new branch] dev-drop-password-related-columns-from-users-table -> origin/dev-drop-password-related-columns-from-users-table
* [new branch] dev-faster-tests -> origin/dev-faster-tests
* [new branch] dev-nginx-conf -> origin/dev-nginx-conf
* [new branch] dev/automation-scriptable-add-with-class -> origin/dev/automation-scriptable-add-with-class
* [new branch] dev/glimmer-post-menu -> origin/dev/glimmer-post-menu
* [new branch] dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable
* [new branch] dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument
* [new branch] dev/use-new-filestore-download-method -> origin/dev/use-new-filestore-download-method
+ 59bf25001...86f856e04 devcontainer -> origin/devcontainer (forced update)
* [new branch] dmenu-button-default-styling -> origin/dmenu-button-default-styling
* [new branch] drop_textarea_manip_mixin -> origin/drop_textarea_manip_mixin
* [new branch] ember-native-class -> origin/ember-native-class
* [new branch] feature-categories-only-optimized -> origin/feature-categories-only-optimized
* [new branch] feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
* [new branch] feature/allow-description-screenshots-for-remote-theme -> origin/feature/allow-description-screenshots-for-remote-theme
* [new branch] fix-participating-users-statistics -> origin/fix-participating-users-statistics
* [new branch] fix-safari-below-18-detection -> origin/fix-safari-below-18-detection
* [new branch] fix/handle-nested-top-topic-period-param -> origin/fix/handle-nested-top-topic-period-param
* [new branch] fix/problem-check-target-pg13 -> origin/fix/problem-check-target-pg13
* [new branch] forgot-password-in-staff-readonly -> origin/forgot-password-in-staff-readonly
* [new branch] full-width-login-modal-mobile -> origin/full-width-login-modal-mobile
* [new branch] glint -> origin/glint
* [new branch] invite-uploader-uppy -> origin/invite-uploader-uppy
* [new branch] issue/fix-plugin-actions-outlet -> origin/issue/fix-plugin-actions-outlet
* [new branch] issue/reply-to-site-contact-revise-review -> origin/issue/reply-to-site-contact-revise-review
* [new branch] loic-params-contracts -> origin/loic-params-contracts
* [new branch] loic-refactor-chat-services -> origin/loic-refactor-chat-services
* [new branch] look-and-feel-changes -> origin/look-and-feel-changes
* [new branch] modified-header-offset-calculator -> origin/modified-header-offset-calculator
* [new branch] mt/idb -> origin/mt/idb
* [new branch] mt/port-uploads-importer -> origin/mt/port-uploads-importer
* [new branch] perf-chat-auto-join-take-42 -> origin/perf-chat-auto-join-take-42
* [new branch] post-badge-poc -> origin/post-badge-poc
* [new branch] render-glimmer-granular -> origin/render-glimmer-granular
* [new branch] revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
* [new branch] safari-hacks-sayonara -> origin/safari-hacks-sayonara
d3ad2ecda..fbe171948 stable -> origin/stable
* [new branch] tag-name-transformer -> origin/tag-name-transformer
* [new branch] testing_debian_12 -> origin/testing_debian_12
274e18622..201c174b4 tests-passed -> origin/tests-passed
* [new branch] theme-update-concurrency -> origin/theme-update-concurrency
* [new branch] uppy-tweaks -> origin/uppy-tweaks
* [new branch] ux-refactored-flow -> origin/ux-refactored-flow
* [new branch] ux/simplification-invite-modal -> origin/ux/simplification-invite-modal
* [new branch] watched-word-uploader-uppy -> origin/watched-word-uploader-uppy
t [tag update] beta -> beta
t [tag update] latest-release -> latest-release
* [new tag] v3.3.1 -> v3.3.1
* [new tag] v3.3.2 -> v3.3.2
* [new tag] v3.4.0.beta1 -> v3.4.0.beta1
* [new tag] v3.4.0.beta2 -> v3.4.0.beta2
I, [2024-10-19T13:51:01.380501 #1] INFO -- :
I, [2024-10-19T13:51:01.380814 #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
'
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
Switched to a new branch 'tests-passed'
I, [2024-10-19T13:51:27.427734 #1] INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.
I, [2024-10-19T13:51:27.427865 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-10-19T13:51:27.436936 #1] INFO -- :
I, [2024-10-19T13:51:27.437026 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-10-19T13:51:27.440043 #1] INFO -- :
I, [2024-10-19T13:51:27.440122 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-10-19T13:51:27.442944 #1] INFO -- :
I, [2024-10-19T13:51:27.443022 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-10-19T13:51:27.445867 #1] INFO -- :
I, [2024-10-19T13:51:27.445943 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-10-19T13:51:27.448744 #1] INFO -- :
I, [2024-10-19T13:51:27.448820 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-10-19T13:51:27.455315 #1] INFO -- :
I, [2024-10-19T13:51:27.455413 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-10-19T13:51:27.458606 #1] INFO -- :
I, [2024-10-19T13:51:27.458922 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-10-19T13:51:27.464886 #1] INFO -- :
I, [2024-10-19T13:51:27.465125 #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-10-19T13:51:27.469011 #1] INFO -- :
I, [2024-10-19T13:51:27.469080 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-10-19T13:51:27.473097 #1] INFO -- :
I, [2024-10-19T13:51:27.473193 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-10-19T13:51:27.477353 #1] INFO -- :
I, [2024-10-19T13:51:27.477450 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-10-19T13:51:27.481224 #1] INFO -- :
I, [2024-10-19T13:51:27.481473 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-10-19T13:51:27.485171 #1] INFO -- :
I, [2024-10-19T13:51:27.485241 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-10-19T13:51:27.487903 #1] INFO -- :
I, [2024-10-19T13:51:27.487974 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-10-19T13:51:27.490035 #1] INFO -- :
I, [2024-10-19T13:51:27.490492 #1] INFO -- : Replacing # redis with if [ ! -d /shared/redis_data ]; then
install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-10-19T13:51:27.491094 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-10-19T13:52:20.586659 #1] INFO -- :
I, [2024-10-19T13:52:20.587172 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.591443 #1] INFO -- :
I, [2024-10-19T13:52:20.591930 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-10-19T13:52:20.593973 #1] INFO -- :
I, [2024-10-19T13:52:20.594235 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-10-19T13:52:20.596579 #1] INFO -- :
I, [2024-10-19T13:52:20.597636 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-10-19T13:52:20.601528 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.601879 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.602941 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.604080 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-10-19T13:52:20.605222 #1] INFO -- : > echo "done configuring web"
I, [2024-10-19T13:52:20.607584 #1] INFO -- : done configuring web
I, [2024-10-19T13:52:20.607903 #1] INFO -- : > su discourse -c 'gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/'
I, [2024-10-19T13:52:50.553409 #1] INFO -- : https://gems.ruby-china.com/ added to sources
https://rubygems.org/ removed from sources
I, [2024-10-19T13:52:50.553529 #1] INFO -- : > su discourse -c 'gem update bundler'
WARNING: You don't have /home/discourse/.local/share/gem/ruby/3.3.0/bin in your PATH,
gem executables will not run.
I, [2024-10-19T13:53:22.509570 #1] INFO -- : Updating installed gems
Updating bundler
Defaulting to user installation because default installation directory (/usr/local/lib/ruby/gems/3.3.0) is not writable.
Successfully installed bundler-2.5.22
Gems updated: bundler
I, [2024-10-19T13:53:22.510307 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-10-19T13:53:51.622273 #1] INFO -- : Successfully installed bundler-2.5.18
1 gem installed
更新过程中出现错误
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
请帮我修复它。