不确定发生了什么,但今天当我尝试使用命令 ./discourse rebuild app 时,它更新失败,我的论坛也宕机了。这种情况以前从未发生过。请帮帮我。
root@huey:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
Already up to date.
Note: checking out 'v1.0.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD 当前版本为 d1db030,正在发布新版本
I, [2021-11-26T06:52:19.774111 #1] INFO -- : Loading --stdin
I, [2021-11-26T06:52:19.780789 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2021-11-26T06:52:19.839754 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2021-11-26T06:52:19.840391 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2021-11-26T06:52:19.844496 #1] INFO -- :
I, [2021-11-26T06:52:19.845155 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-11-26T06:52:19.848582 #1] INFO -- :
I, [2021-11-26T06:52:19.849162 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2021-11-26T06:52:19.852254 #1] INFO -- :
I, [2021-11-26T06:52:19.852809 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2021-11-26T06:52:19.855786 #1] INFO -- :
I, [2021-11-26T06:52:19.856271 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-11-26T06:52:19.858758 #1] INFO -- :
I, [2021-11-26T06:52:19.859209 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/11/26 06:52:19 socat[27] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-11-26T06:52:19.868693 #1] INFO -- :
I, [2021-11-26T06:52:19.869177 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-11-26T06:52:19.872612 #1] INFO -- :
I, [2021-11-26T06:52:19.872987 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-11-26T06:52:19.875810 #1] INFO -- :
I, [2021-11-26T06:52:19.876176 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-11-26T06:52:19.878527 #1] INFO -- :
I, [2021-11-26T06:52:19.879059 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-11-26T06:52:19.881421 #1] INFO -- :
I, [2021-11-26T06:52:19.887370 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2021-11-26T06:52:19.891829 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2021-11-26T06:52:19.896663 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2021-11-26T06:52:19.901237 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2021-11-26T06:52:19.901820 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-11-26T06:52:21.465723 #1] INFO -- :
I, [2021-11-26T06:52:21.466837 #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, [2021-11-26T06:52:21.472718 #1] INFO -- :
I, [2021-11-26T06:52:21.473267 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-11-26T06:52:21.500359 #1] INFO -- :
I, [2021-11-26T06:52:21.501230 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-11-26T06:52:21.504841 #1] INFO -- :
I, [2021-11-26T06:52:21.505537 #1] INFO -- : > /root/upgrade_postgres
I, [2021-11-26T06:52:21.514813 #1] INFO -- :
I, [2021-11-26T06:52:21.515436 #1] INFO -- : > rm /root/upgrade_postgres
I, [2021-11-26T06:52:21.518874 #1] INFO -- :
I, [2021-11-26T06:52:21.520508 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.521419 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.522149 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.522900 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.523490 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.524195 #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, [2021-11-26T06:52:21.524767 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-11-26T06:52:21.531023 #1] INFO -- :
I, [2021-11-26T06:52:21.531900 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.532483 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-11-26T06:52:21.533303 #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, [2021-11-26T06:52:21.534574 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-11-26T06:52:21.535094 #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, [2021-11-26T06:52:21.535603 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2021-11-26T06:52:21.536120 #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, [2021-11-26T06:52:21.538574 #1] INFO -- : > sleep 5
2021-11-26 06:52:21.644 UTC [50] LOG: starting PostgreSQL 13.5 (Debian 13.5-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-11-26 06:52:21.645 UTC [50] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-11-26 06:52:21.647 UTC [50] LOG: listening on IPv6 address "::", port 5432
2021-11-26 06:52:21.653 UTC [50] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-11-26 06:52:21.661 UTC [53] LOG: database system was shut down at 2021-11-26 06:51:33 UTC
2021-11-26 06:52:21.673 UTC [50] LOG: database system is ready to accept connections
I, [2021-11-26T06:52:26.553530 #1] INFO -- :
I, [2021-11-26T06:52:26.553786 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2021-11-26 06:52:26.660 UTC [63] postgres@postgres ERROR: database "discourse" already exists
2021-11-26 06:52:26.660 UTC [63] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2021-11-26T06:52:26.663095 #1] INFO -- :
I, [2021-11-26T06:52:26.663581 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-11-26 06:52:26.736 UTC [67] postgres@discourse ERROR: role "discourse" already exists
2021-11-26 06:52:26.736 UTC [67] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2021-11-26T06:52:26.738817 #1] INFO -- :
I, [2021-11-26T06:52:26.739317 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-11-26T06:52:26.793466 #1] INFO -- : GRANT
I, [2021-11-26T06:52:26.794156 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-11-26T06:52:26.850327 #1] INFO -- : ALTER SCHEMA
I, [2021-11-26T06:52:26.850954 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2021-11-26T06:52:26.915553 #1] INFO -- : CREATE EXTENSION
I, [2021-11-26T06:52:26.916146 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2021-11-26T06:52:26.967770 #1] INFO -- : CREATE EXTENSION
I, [2021-11-26T06:52:26.968378 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2021-11-26T06:52:27.021684 #1] INFO -- : CREATE EXTENSION
I, [2021-11-26T06:52:27.022254 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2021-11-26T06:52:27.072943 #1] INFO -- : CREATE EXTENSION
I, [2021-11-26T06:52:27.073544 #1] INFO -- : > sudo -u postgres psql discourse
I, [2021-11-26T06:52:27.078535 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2021-11-26T06:52:27.156981 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2021-11-26T06:52:27.161721 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2021-11-26T06:52:27.162374 #1] INFO -- : > echo postgres installed!
I, [2021-11-26T06:52:27.166280 #1] INFO -- : postgres installed!
I, [2021-11-26T06:52:27.172391 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2021-11-26T06:52:27.177523 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2021-11-26T06:52:27.182359 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2021-11-26T06:52:27.183964 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.184956 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.186293 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-11-26T06:52:27.190120 #1] INFO -- :
I, [2021-11-26T06:52:27.191015 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.191920 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.193485 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.194789 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.196052 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-11-26T06:52:27.197295 #1] INFO -- : > echo redis installed
I, [2021-11-26T06:52:27.200926 #1] INFO -- : redis installed
I, [2021-11-26T06:52:27.201741 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-11-26T06:52:27.207759 #1] INFO -- : logfile ""
I, [2021-11-26T06:52:27.208486 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-11-26T06:52:27.211121 #1] INFO -- : > sleep 10
111:C 26 Nov 2021 06:52:27.228 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
111:C 26 Nov 2021 06:52:27.228 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=111, just started
111:C 26 Nov 2021 06:52:27.228 # Configuration loaded
111:M 26 Nov 2021 06:52:27.230 * monotonic clock: POSIX clock_gettime
111:M 26 Nov 2021 06:52:27.231 * Running mode=standalone, port=6379.
111:M 26 Nov 2021 06:52:27.232 # Server initialized
111:M 26 Nov 2021 06:52:27.233 * Loading RDB produced by version 6.2.6
111:M 26 Nov 2021 06:52:27.233 * RDB age 55 seconds
111:M 26 Nov 2021 06:52:27.233 * RDB memory usage when created 13.70 Mb
111:M 26 Nov 2021 06:52:27.282 # Done loading RDB, keys loaded: 11359, keys expired: 0.
111:M 26 Nov 2021 06:52:27.282 * DB loaded from disk: 0.050 seconds
111:M 26 Nov 2021 06:52:27.283 * Ready to accept connections
I, [2021-11-26T06:52:37.217342 #1] INFO -- :
I, [2021-11-26T06:52:37.218231 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-11-26T06:52:37.225035 #1] INFO -- : thpoff is installed!
I, [2021-11-26T06:52:37.225901 #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, [2021-11-26T06:52:37.322317 #1] INFO -- :
I, [2021-11-26T06:52:37.323010 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2021-11-26T06:52:37.399326 #1] INFO -- :
I, [2021-11-26T06:52:37.400032 #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, [2021-11-26T06:52:37.471867 #1] INFO -- :
I, [2021-11-26T06:52:37.472524 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-11-26T06:52:37.476255 #1] INFO -- :
I, [2021-11-26T06:52:37.479549 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2021-11-26T06:52:37.485079 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2021-11-26T06:52:37.490025 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2021-11-26T06:52:37.494916 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2021-11-26T06:52:37.499850 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2021-11-26T06:52:37.504818 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2021-11-26T06:52:37.505359 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-11-26T06:52:37.505881 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-11-26T06:52:37.508360 #1] INFO -- : > cd /var/www/discourse && git reset --hard
138:C 26 Nov 2021 06:52:37.514 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
138:C 26 Nov 2021 06:52:37.515 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=138, just started
138:C 26 Nov 2021 06:52:37.515 # Configuration loaded
138:M 26 Nov 2021 06:52:37.516 * monotonic clock: POSIX clock_gettime
138:M 26 Nov 2021 06:52:37.516 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
138:M 26 Nov 2021 06:52:37.517 # Failed listening on port 6379 (TCP), aborting.
Checking out files: 100% (26188/26188), done.
I, [2021-11-26T06:52:41.119917 #1] INFO -- : HEAD is now at eb82849c FIX: none and all categories filter (#14999)
I, [2021-11-26T06:52:41.123786 #1] INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-11-26T06:52:41.289155 #1] INFO -- :
I, [2021-11-26T06:52:41.289725 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2021-11-26T06:52:41.294643 #1] INFO -- :
I, [2021-11-26T06:52:41.295244 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-11-26T06:52:41.300908 #1] INFO -- :
I, [2021-11-26T06:52:41.301446 #1] INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
From https://github.com/discourse/discourse
* branch tests-passed -> FETCH_HEAD
* [new branch] tests-passed -> origin/tests-passed
I, [2021-11-26T06:52:43.563795 #1] INFO -- :
I, [2021-11-26T06:52:43.564371 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-11-26T06:52:44.047375 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2021-11-26T06:52:44.047983 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-11-26T06:52:44.054072 #1] INFO -- :
I, [2021-11-26T06:52:44.054614 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-11-26T06:52:44.059393 #1] INFO -- :
I, [2021-11-26T06:52:44.059865 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-11-26T06:52:44.063768 #1] INFO -- :
I, [2021-11-26T06:52:44.064193 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-11-26T06:52:44.067939 #1] INFO -- :
I, [2021-11-26T06:52:44.068303 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-11-26T06:52:44.073136 #1] INFO -- :
I, [2021-11-26T06:52:44.073492 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2021-11-26T06:52:44.076969 #1] INFO -- :
I, [2021-11-26T06:52:44.077286 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-11-26T06:52:44.083262 #1] INFO -- :
I, [2021-11-26T06:52:44.083740 #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, [2021-11-26T06:52:44.089092 #1] INFO -- :
I, [2021-11-26T06:52:44.089478 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2021-11-26T06:52:44.094099 #1] INFO -- :
I, [2021-11-26T06:52:44.094465 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-11-26T06:52:44.098926 #1] INFO -- :
I, [2021-11-26T06:52:44.099365 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2021-11-26T06:52:44.105025 #1] INFO -- :
I, [2021-11-26T06:52:44.105495 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-11-26T06:52:44.110184 #1] INFO -- :
I, [2021-11-26T06:52:44.110625 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-11-26T06:52:45.223197 #1] INFO -- :
I, [2021-11-26T06:52:45.223947 #1] INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-11-26T06:52:45.230468 #1] INFO -- :
I, [2021-11-26T06:52:45.232168 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-11-26T06:52:45.232978 #1] INFO -- : > cd /var/www/discourse/plugins && mkdir -p plugins
I, [2021-11-26T06:52:45.236941 #1] INFO -- :
I, [2021-11-26T06:52:45.237422 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-11-26T06:52:46.093281 #1] INFO -- :
I, [2021-11-26T06:52:46.093843 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bbcode-color.git
Cloning into 'discourse-bbcode-color'...
I, [2021-11-26T06:52:46.369317 #1] INFO -- :
I, [2021-11-26T06:52:46.369898 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/gdpelican/babble.git
Cloning into 'babble'...
I, [2021-11-26T06:52:46.809597 #1] INFO -- :
I, [2021-11-26T06:52:46.810476 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-11-26T06:52:46.818623 #1] INFO -- :
I, [2021-11-26T06:52:46.819407 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-11-26T06:52:46.823768 #1] INFO -- :
I, [2021-11-26T06:52:46.824358 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2021-11-26T06:52:46.827596 #1] INFO -- :
I, [2021-11-26T06:52:46.828601 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2021-11-26T06:52:46.829282 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2021-11-26T06:52:46.829912 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-11-26T06:52:46.830533 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2021-11-26T06:52:46.831060 #1] INFO -- : > echo "done configuring web"
I, [2021-11-26T06:52:46.833318 #1] INFO -- : done configuring web
I, [2021-11-26T06:52:46.833822 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-11-26T06:52:47.425921 #1] INFO -- : Successfully installed bundler-2.2.26
1 gem installed
I, [2021-11-26T06:52:47.426522 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-11-26T06:52:53.805479 #1] INFO -- :
I, [2021-11-26T06:52:53.806274 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[已弃用] `--deployment` 标志已弃用,因为它依赖于跨 bundler 调用进行记忆,而 bundler 在以后的版本中将不再这样做。请改用 `bundle config set --local deployment 'true'`,并停止使用此标志
[已弃用] `--without` 标志已弃用,因为它依赖于跨 bundler 调用进行记忆,而 bundler 在以后的版本中将不再这样做