يُقدّر أي مساعدة. أحاول الترقية من الإصدار 3.1.5 إلى 3.2.0 منذ 8 ساعات.
يبدو أن العملية تتوقف هنا:
التأكد من أن المشغّل محدّث
جلب النسخة الأصلية
المشغّل محدّث
إيقاف الحاوية القديمة
+ /usr/bin/docker stop -t 600 app
app
2.0.20231218-0429: سحب من discourse/base
التلخيص: sha256:468f70b9bb4c6d0c6c2bbb3efc1a5e12d145eae57bdb6946b7fe5558beb52dc1
الحالة: الصورة محدّثة لـ 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-02-01T05:20:13.663978 #1] INFO -- : القراءة من المدخل القياسي
I, [2024-02-01T05:20:13.670645 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-01T05:20:13.712975 #1] INFO -- : إنشاء الإعدادات اللغوية (قد يستغرق هذا بعض الوقت)...
اكتمل الإنشاء.
I, [2024-02-01T05:20:13.713587 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2024-02-01T05:20:13.717850 #1] INFO -- :
I, [2024-02-01T05:20:13.718463 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2024-02-01T05:20:13.722273 #1] INFO -- :
I, [2024-02-01T05:20:13.722901 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2024-02-01T05:20:13.726117 #1] INFO -- :
I, [2024-02-01T05:20:13.726724 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2024-02-01T05:20:13.730093 #1] INFO -- :
I, [2024-02-01T05:20:13.730719 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2024-02-01T05:20:13.734550 #1] INFO -- :
I, [2024-02-01T05:20:13.735116 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2024/02/01 05:20:13 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2024-02-01T05:20:13.757786 #1] INFO -- :
I, [2024-02-01T05:20:13.758259 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2024-02-01T05:20:13.761231 #1] INFO -- :
I, [2024-02-01T05:20:13.761705 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2024-02-01T05:20:13.764603 #1] INFO -- :
I, [2024-02-01T05:20:13.765030 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-01T05:20:13.767619 #1] INFO -- :
I, [2024-02-01T05:20:13.768243 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-01T05:20:13.770687 #1] INFO -- :
I, [2024-02-01T05:20:13.775750 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-02-01T05:20:13.780586 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-02-01T05:20:13.785496 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-02-01T05:20:13.790412 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-02-01T05:20:13.791046 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2024-02-01T05:20:16.705999 #1] INFO -- :
I, [2024-02-01T05:20:16.706819 #1] INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
I, [2024-02-01T05:20:16.709471 #1] INFO -- :
I, [2024-02-01T05:20:16.709873 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2024-02-01T05:20:16.748408 #1] INFO -- :
I, [2024-02-01T05:20:16.749205 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2024-02-01T05:20:16.752138 #1] INFO -- :
I, [2024-02-01T05:20:16.752728 #1] INFO -- : > /root/upgrade_postgres
I, [2024-02-01T05:20:16.759412 #1] INFO -- :
I, [2024-02-01T05:20:16.759890 #1] INFO -- : > rm /root/upgrade_postgres
I, [2024-02-01T05:20:16.762107 #1] INFO -- :
I, [2024-02-01T05:20:16.764889 #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-02-01T05:20:16.765803 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.766486 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.767571 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.768666 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.769702 #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-02-01T05:20:16.770784 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2024-02-01T05:20:16.777960 #1] INFO -- :
I, [2024-02-01T05:20:16.778711 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.779400 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-01T05:20:16.780719 #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-02-01T05:20:16.782507 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-01T05:20:16.783245 #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-02-01T05:20:16.783845 #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-02-01T05:20:16.784749 #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-02-01T05:20:16.786361 #1] INFO -- : > sleep 5
2024-02-01 05:20:16.885 UTC [41] LOG: starting PostgreSQL 13.13 (Debian 13.13-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-02-01 05:20:16.887 UTC [41] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-02-01 05:20:16.887 UTC [41] LOG: listening on IPv6 address "::", port 5432
2024-02-01 05:20:16.893 UTC [41] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-02-01 05:20:16.902 UTC [44] LOG: database system was shut down at 2024-02-01 05:20:02 UTC
2024-02-01 05:20:16.911 UTC [41] LOG: database system is ready to accept connections
I, [2024-02-01T05:20:21.790669 #1] INFO -- :
I, [2024-02-01T05:20:21.790891 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2024-02-01 05:20:21.897 UTC [54] postgres@postgres ERROR: database "discourse" already exists
2024-02-01 05:20:21.897 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2024-02-01T05:20:21.900341 #1] INFO -- :
I, [2024-02-01T05:20:21.900879 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2024-02-01 05:20:21.987 UTC [58] postgres@discourse ERROR: role "discourse" already exists
2024-02-01 05:20:21.987 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2024-02-01T05:20:21.990907 #1] INFO -- :
I, [2024-02-01T05:20:21.991456 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2024-02-01T05:20:22.048297 #1] INFO -- : GRANT
I, [2024-02-01T05:20:22.048988 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2024-02-01T05:20:22.106460 #1] INFO -- : ALTER SCHEMA
I, [2024-02-01T05:20:22.107187 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2024-02-01T05:20:22.183367 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.183889 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2024-02-01T05:20:22.240624 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.241181 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE: extension "vector" already exists, skipping
I, [2024-02-01T05:20:22.297658 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.298255 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2024-02-01T05:20:22.356472 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.356991 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2024-02-01T05:20:22.414056 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.414618 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE: extension "vector" already exists, skipping
I, [2024-02-01T05:20:22.470035 #1] INFO -- : CREATE EXTENSION
I, [2024-02-01T05:20:22.470658 #1] INFO -- : > sudo -u postgres psql discourse
I, [2024-02-01T05:20:22.475733 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2024-02-01T05:20:22.567511 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-02-01T05:20:22.572125 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-02-01T05:20:22.572526 #1] INFO -- : > echo postgres installed!
I, [2024-02-01T05:20:22.575793 #1] INFO -- : postgres installed!
I, [2024-02-01T05:20:22.580912 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2024-02-01T05:20:22.585785 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2024-02-01T05:20:22.590830 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-02-01T05:20:22.593112 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.594012 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.594826 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-02-01T05:20:22.597926 #1] INFO -- :
I, [2024-02-01T05:20:22.598727 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.599588 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.601300 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.603062 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.604759 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-02-01T05:20:22.606503 #1] INFO -- : > echo redis installed
I, [2024-02-01T05:20:22.609035 #1] INFO -- : redis installed
I, [2024-02-01T05:20:22.609661 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-02-01T05:20:22.614668 #1] INFO -- : logfile ""
I, [2024-02-01T05:20:22.615160 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-01T05:20:22.616826 #1] INFO -- : > sleep 10
110:C 01 Feb 2024 05:20:22.631 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
110:C 01 Feb 2024 05:20:22.631 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=110, just started
110:C 01 Feb 2024 05:20:22.631 # Configuration loaded
110:M 01 Feb 2024 05:20:22.632 * monotonic clock: POSIX clock_gettime
110:M 01 Feb 2024 05:20:22.633 * Running mode=standalone, port=6379.
110:M 01 Feb 2024 05:20:22.633 # Server initialized
110:M 01 Feb 2024 05:20:22.634 # 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.
110:M 01 Feb 2024 05:20:22.634 # WARNING Your system is configured to use the 'xen' clocksource which might lead to degraded performance. Check the result of the [slow-clocksource] system check: run 'redis-server --check-system' to check if the system's clocksource isn't degrading performance.
110:M 01 Feb 2024 05:20:22.635 * Loading RDB produced by version 7.0.7
110:M 01 Feb 2024 05:20:22.635 * RDB age 28 seconds
110:M 01 Feb 2024 05:20:22.635 * RDB memory usage when created 12.85 Mb
110:M 01 Feb 2024 05:20:22.670 * Done loading RDB, keys loaded: 11479, keys expired: 6.
110:M 01 Feb 2024 05:20:22.670 * DB loaded from disk: 0.035 seconds
110:M 01 Feb 2024 05:20:22.670 * Ready to accept connections
I, [2024-02-01T05:20:32.621081 #1] INFO -- :
I, [2024-02-01T05:20:32.621808 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-02-01T05:20:32.626389 #1] INFO -- : thpoff is installed!
I, [2024-02-01T05:20:32.626901 #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-02-01T05:20:32.707287 #1] INFO -- :
I, [2024-02-01T05:20:32.707923 #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-02-01T05:20:32.788125 #1] INFO -- :
I, [2024-02-01T05:20:32.788819 #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-02-01T05:20:32.868839 #1] INFO -- :
I, [2024-02-01T05:20:32.869502 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-02-01T05:20:32.872477 #1] INFO -- :
I, [2024-02-01T05:20:32.875792 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-02-01T05:20:32.882091 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-02-01T05:20:32.887278 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-02-01T05:20:32.892443 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-02-01T05:20:32.897678 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-02-01T05:20:32.902952 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-02-01T05:20:32.903394 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2024-02-01T05:20:32.903939 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-01T05:20:32.906369 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
137:C 01 Feb 2024 05:20:32.915 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
137:C 01 Feb 2024 05:20:32.918 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=137, just started
137:C 01 Feb 2024 05:20:32.918 # Configuration loaded
137:M 01 Feb 2024 05:20:32.919 * monotonic clock: POSIX clock_gettime
137:M 01 Feb 2024 05:20:32.920 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
137:M 01 Feb 2024 05:20:32.920 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33715/33715), done.
I, [2024-02-01T05:20:39.803997 #1] INFO -- : HEAD is now at 6ab1a19e9 DEV: Convert min_trust_level_to_allow_invite to groups (#24893)
I, [2024-02-01T05:20:39.804645 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-02-01T05:20:40.031462 #1] INFO -- :
I, [2024-02-01T05:20:40.032125 #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 stable
git fetch --depth 1 origin stable
else
git fetch --tags --prune-tags --prune --force origin
fi
'
From https://github.com/discourse/discourse
- [deleted] (none) -> origin/0-drop-code
- [deleted] (none) -> origin/bulk-button-class
- [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/drop-target-2.0.2
- [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/rethink-mass-mentions-polymorphic
- [deleted] (none) -> origin/feature/migrations-schema-generator
- [deleted] (none) -> origin/fix-join-filter-upload
- [deleted] (none) -> origin/fix-modal-flash-minor
- [deleted] (none) -> origin/global-notice-reactive
- [deleted] (none) -> origin/labeler
- [deleted] (none) -> origin/low-ram-help
- [deleted] (none) -> origin/multi-invite
- [deleted] (none) -> origin/table-builder-modal-modifier
- [deleted] (none) -> origin/wip_categories
- [deleted] (none) -> origin/wizard-split
6ab1a19e9..969ab0fd6 main -> origin/main
* [new branch] 0-category-reorder -> origin/0-category-reorder
* [new branch] 0-ember-bump -> origin/0-ember-bump
* [new branch] 0-event-helper -> origin/0-event-helper
* [new branch] 0-extend-native -> origin/0-extend-native
* [new branch] 0-rev -> origin/0-rev
* [new branch] add-api-for-forced-auth -> origin/add-api-for-forced-auth
* [new branch] amend-visit-copy -> origin/amend-visit-copy
* [new branch] asciinema-iframe -> origin/asciinema-iframe
* [new branch] chat/original-message-link -> origin/chat/original-message-link
* [new branch] convert-header-to-glimmer -> origin/convert-header-to-glimmer
* [new branch] decorator-transforms -> origin/decorator-transforms
* [new branch] dependabot/bundler/omniauth-2.0.0 -> origin/dependabot/bundler/omniauth-2.0.0
* [new branch] dependabot/bundler/parallel_tests-4.4.0 -> origin/dependabot/bundler/parallel_tests-4.4.0
* [new branch] dev-convert-topic-map-expanded-widget-to-component -> origin/dev-convert-topic-map-expanded-widget-to-component
* [new branch] dev/check-whether-online-user-ids-may-be-memoized-between-job-runs -> origin/dev/check-whether-online-user-ids-may-be-memoized-between-job-runs
* [new branch] dev/drop-the-user-id-column-from-chat-mentions -> origin/dev/drop-the-user-id-column-from-chat-mentions
+ e0c0191bb...feb00e04c dev/dry-up-user-status-serializers -> origin/dev/dry-up-user-status-serializers (forced update)
* [new branch] dev/experiment-theme-settings-free-ui -> origin/dev/experiment-theme-settings-free-ui
* [new branch] dev/make-admins-tl4-in-tests -> origin/dev/make-admins-tl4-in-tests
* [new branch] dev/promote-plugin-post-deploy-migrations -> origin/dev/promote-plugin-post-deploy-migrations
* [new branch] dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic
* [new branch] dev_category_order_database -> origin/dev_category_order_database
* [new branch] dev_update_category_position -> origin/dev_update_category_position
* [new branch] ellaestigoy-patch-2 -> origin/ellaestigoy-patch-2
* [new branch] fast-edit-expand-regex -> origin/fast-edit-expand-regex
* [new branch] feature/add-new-illegal-flag-reason -> origin/feature/add-new-illegal-flag-reason
* [new branch] feature/custom-date-range -> origin/feature/custom-date-range
* [new branch] feature/paste-upload-on-first-upload-input-templates -> origin/feature/paste-upload-on-first-upload-input-templates
* [new branch] feature_async_load_colors -> origin/feature_async_load_colors
* [new branch] fix-email-category-badge -> origin/fix-email-category-badge
* [new branch] fix_category_chooser -> origin/fix_category_chooser
* [new branch] fix_in_any_groups -> origin/fix_in_any_groups
* [new branch] fix_preload_sidebar_categories -> origin/fix_preload_sidebar_categories
* [new branch] fix_reviewable_translation -> origin/fix_reviewable_translation
7f2bdca65..b851b879c generic-import-latest -> origin/generic-import-latest
* [new branch] hijacks -> origin/hijacks
* [new branch] issue/avatar-upload-permission-serialize -> origin/issue/avatar-upload-permission-serialize
* [new branch] issue/run-admin-sidebar-init-after-logs-notice -> origin/issue/run-admin-sidebar-init-after-logs-notice
+ 90a3535b7...e6e64cfd5 migrations-convert -> origin/migrations-convert (forced update)
+ 0fa691496...b0f74a188 plugin-extra-js -> origin/plugin-extra-js (forced update)
* [new branch] promote-migration-tweak -> origin/promote-migration-tweak
* [new branch] revert-25009-dev/convert-min-trust-to-allow-self-wiki-to-groups -> origin/revert-25009-dev/convert-min-trust-to-allow-self-wiki-to-groups
* [new branch] revert-bulk-topic-actions -> origin/revert-bulk-topic-actions
* [new branch] sidebar-above-outlet -> origin/sidebar-above-outlet
* [new branch] site-logo-height -> origin/site-logo-height
* [new branch] soft-load-topic-results -> origin/soft-load-topic-results
d7f7f79b6..968b1a57e stable -> origin/stable
* [new branch] support-reset-bump-date-post-id -> origin/support-reset-bump-date-post-id
6ab1a19e9..969ab0fd6 tests-passed -> origin/tests-passed
* [new branch] unhide_lazy_load_categories -> origin/unhide_lazy_load_categories
* [new branch] universal-nonce -> origin/universal-nonce
* [new branch] unread-mobile-indicator -> origin/unread-mobile-indicator
* [new branch] virtual-scroll-list -> origin/virtual-scroll-list
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
I, [2024-02-01T05:20:40.935200 #1] INFO -- :
I, [2024-02-01T05:20:40.935686 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [[ $(git symbolic-ref --short HEAD) == stable ]] ; then
git pull
else
git -c advice.detachedHead=false checkout stable
fi
'
Switched to a new branch 'stable'
I, [2024-02-01T05:20:44.064865 #1] INFO -- : Branch 'stable' set up to track remote branch 'stable' from 'origin'.
I, [2024-02-01T05:20:44.065354 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version stable
I, [2024-02-01T05:20:44.077044 #1] INFO -- :
I, [2024-02-01T05:20:44.077436 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-02-01T05:20:44.085161 #1] INFO -- :
I, [2024-02-01T05:20:44.085555 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-02-01T05:20:44.090473 #1] INFO -- :
I, [2024-02-01T05:20:44.090945 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-02-01T05:20:44.094272 #1] INFO -- :
I, [2024-02-01T05:20:44.094646 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-02-01T05:20:44.097962 #1] INFO -- :
I, [2024-02-01T05:20:44.098333 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-02-01T05:20:44.102920 #1] INFO -- :
I, [2024-02-01T05:20:44.103294 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-02-01T05:20:44.106489 #1] INFO -- :
I, [2024-02-01T05:20:44.106964 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-02-01T05:20:44.112554 #1] INFO -- :
I, [2024-02-01T05:20:44.112953 #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-02-01T05:20:44.119868 #1] INFO -- :
I, [2024-02-01T05:20:44.120247 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-02-01T05:20:44.125723 #1] INFO -- :
I, [2024-02-01T05:20:44.126103 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-02-01T05:20:44.130710 #1] INFO -- :
I, [2024-02-01T05:20:44.131085 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-02-01T05:20:44.136397 #1] INFO -- :
I, [2024-02-01T05:20:44.136900 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-02-01T05:20:44.141456 #1] INFO -- :
I, [2024-02-01T05:20:44.141832 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-02-01T05:20:44.267143 #1] INFO -- :
I, [2024-02-01T05:20:44.267732 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-02-01T05:20:44.270260 #1] INFO -- :
I, [2024-02-01T05:20:44.271569 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-02-01T05:20:44.273289 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-02-01T05:20:45.047892 #1] INFO -- :
I, [2024-02-01T05:20:45.048485 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
Cloning into 'discourse-voting'...
I, [2024-02-01T05:20:45.349517 #1] INFO -- :
I, [2024-02-01T05:20:45.350128 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-02-01T05:20:45.696361 #1] INFO -- :
I, [2024-02-01T05:20:45.696958 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-policy.git
Cloning into 'discourse-policy'...
I, [2024-02-01T05:20:45.985549 #1] INFO -- :
I, [2024-02-01T05:20:45.986116 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2024-02-01T05:20:46.333531 #1] INFO -- :
I, [2024-02-01T05:20:46.334121 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2024-02-01T05:20:46.684891 #1] INFO -- :
I, [2024-02-01T05:20:46.685512 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/communiteq/discourse-suppress-category-from-latest.git
Cloning into 'discourse-suppress-category-from-latest'...
I, [2024-02-01T05:20:46.860067 #1] INFO -- :
I, [2024-02-01T05:20:46.860646 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bbcode-color
Cloning into 'discourse-bbcode-color'...
I, [2024-02-01T05:20:47.089640 #1] INFO -- :
I, [2024-02-01T05:20:47.090378 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-02-01T05:20:47.099746 #1] INFO -- :
I, [2024-02-01T05:20:47.100326 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-02-01T05:20:47.103575 #1] INFO -- :
I, [2024-02-01T05:20:47.104073 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-02-01T05:20:47.107202 #1] INFO -- :
I, [2024-02-01T05:20:47.108186 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-02-01T05:20:47.109528 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-02-01T05:20:47.110130 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-01T05:20:47.110992 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-01T05:20:47.111810 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-02-01T05:20:47.112296 #1] INFO -- : > echo "done configuring web"
I, [2024-02-01T05:20:47.114305 #1] INFO -- : done configuring web
I, [2024-02-01T05:20:47.114863 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-02-01T05:20:48.019548 #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 })
يرجى مساعدتي في إصلاحه.






