今朝、UI経由でアップグレードを試みましたが失敗したため、再構築を試みましたが、これも失敗しました。すべてのプラグインを無効化しましたが、依然として失敗します。
ログを確認したところ、データベースが破損しているように見えます。他に考えられる原因はありますか?
I, [2021-06-30T18:10:17.952185 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-30 18:10:18.088 UTC [68] postgres@postgres ERROR: database "discourse" already exists
2021-06-30 18:10:18.088 UTC [68] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2021-06-30T18:10:18.091429 #1] INFO -- :
I, [2021-06-30T18:10:18.092062 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-30 18:10:18.210 UTC [79] postgres@discourse ERROR: role "discourse" already exists
2021-06-30 18:10:18.210 UTC [79] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
完全なログ
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
From https://github.com/discourse/pups
17f04ec..e0ff889 master -> origin/master
* [new tag] v1.1.1 -> v1.1.1
* [new tag] v1.1.0 -> v1.1.0
Updating 17f04ec..e0ff889
Fast-forward
.github/workflows/ci.yml | 29 ++++++
.github/workflows/lint.yml | 27 +++++
.rubocop.yml | 3 +
Gemfile | 2 +
Guardfile | 4 +-
README.md | 21 ++++
Rakefile | 14 +--
bin/pups | 8 +-
lib/pups.rb | 32 ++++--
lib/pups/cli.rb | 92 ++++++++++-------
lib/pups/command.rb | 25 +++--
lib/pups/config.rb | 240 +++++++++++++++++++++++--------------------
lib/pups/docker.rb | 69 +++++++++++++
lib/pups/exec_command.rb | 182 ++++++++++++++++----------------
lib/pups/file_command.rb | 60 +++++------
lib/pups/merge_command.rb | 94 ++++++++---------
lib/pups/replace_command.rb | 70 +++++++------
lib/pups/runit.rb | 47 +++++----
lib/pups/version.rb | 4 +-
pups.gemspec | 37 ++++---
test/cli_test.rb | 102 +++++++++++++++---
test/config_test.rb | 215 ++++++++++++++++++++++++++++----------
test/docker_test.rb | 157 ++++++++++++++++++++++++++++
test/exec_command_test.rb | 62 ++++++-----
test/file_command_test.rb | 17 ++-
test/merge_command_test.rb | 64 ++++++------
test/replace_command_test.rb | 86 ++++++++--------
test/test_helper.rb | 2 +
28 files changed, 1158 insertions(+), 607 deletions(-)
create mode 100644 .github/workflows/ci.yml
create mode 100644 .github/workflows/lint.yml
create mode 100644 .rubocop.yml
create mode 100644 lib/pups/docker.rb
create mode 100644 test/docker_test.rb
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 is now at d1db030 cut a new version
I, [2021-06-30T18:10:11.171423 #1] INFO -- : Loading --stdin
I, [2021-06-30T18:10:11.188039 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2021-06-30T18:10:11.242004 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2021-06-30T18:10:11.242515 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2021-06-30T18:10:11.246546 #1] INFO -- :
I, [2021-06-30T18:10:11.247454 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-06-30T18:10:11.251426 #1] INFO -- :
I, [2021-06-30T18:10:11.252143 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2021-06-30T18:10:11.255623 #1] INFO -- :
I, [2021-06-30T18:10:11.256264 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2021-06-30T18:10:11.260752 #1] INFO -- :
I, [2021-06-30T18:10:11.261505 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-06-30T18:10:11.266317 #1] INFO -- :
I, [2021-06-30T18:10:11.267122 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/06/30 18:10:11 socat[32] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-06-30T18:10:11.278874 #1] INFO -- :
I, [2021-06-30T18:10:11.279314 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-06-30T18:10:11.284187 #1] INFO -- :
I, [2021-06-30T18:10:11.284814 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-06-30T18:10:11.289693 #1] INFO -- :
I, [2021-06-30T18:10:11.290249 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:10:11.293706 #1] INFO -- :
I, [2021-06-30T18:10:11.294369 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-30T18:10:11.297689 #1] INFO -- :
I, [2021-06-30T18:10:11.305014 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2021-06-30T18:10:11.311575 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2021-06-30T18:10:11.320034 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2021-06-30T18:10:11.328515 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2021-06-30T18:10:11.329279 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-06-30T18:10:12.847204 #1] INFO -- :
I, [2021-06-30T18:10:12.847624 #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-06-30T18:10:12.851379 #1] INFO -- :
I, [2021-06-30T18:10:12.851718 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-06-30T18:10:12.902218 #1] INFO -- :
I, [2021-06-30T18:10:12.902887 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-06-30T18:10:12.907514 #1] INFO -- :
I, [2021-06-30T18:10:12.908239 #1] INFO -- : > /root/upgrade_postgres
I, [2021-06-30T18:10:12.917510 #1] INFO -- :
I, [2021-06-30T18:10:12.918194 #1] INFO -- : > rm /root/upgrade_postgres
I, [2021-06-30T18:10:12.922574 #1] INFO -- :
I, [2021-06-30T18:10:12.923911 #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-06-30T18:10:12.925138 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.926015 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.926953 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.927801 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.928766 #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-06-30T18:10:12.929636 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-06-30T18:10:12.937347 #1] INFO -- :
I, [2021-06-30T18:10:12.938427 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.939275 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-30T18:10:12.940177 #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-06-30T18:10:12.941381 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-06-30T18:10:12.942176 #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-06-30T18:10:12.943419 #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-06-30T18:10:12.947647 #1] INFO -- : > sleep 5
2021-06-30 18:10:12.997 UTC [55] LOG: starting PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-06-30 18:10:12.997 UTC [55] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-06-30 18:10:12.998 UTC [55] LOG: listening on IPv6 address "::", port 5432
2021-06-30 18:10:13.001 UTC [55] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-06-30 18:10:13.009 UTC [58] LOG: database system was shut down at 2021-06-30 18:10:00 UTC
2021-06-30 18:10:13.021 UTC [55] LOG: database system is ready to accept connections
I, [2021-06-30T18:10:17.951784 #1] INFO -- :
I, [2021-06-30T18:10:17.952185 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-30 18:10:18.088 UTC [68] postgres@postgres ERROR: database "discourse" already exists
2021-06-30 18:10:18.088 UTC [68] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2021-06-30T18:10:18.091429 #1] INFO -- :
I, [2021-06-30T18:10:18.092062 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-30 18:10:18.210 UTC [79] postgres@discourse ERROR: role "discourse" already exists
2021-06-30 18:10:18.210 UTC [79] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2021-06-30T18:10:18.212403 #1] INFO -- :
I, [2021-06-30T18:10:18.213122 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-06-30T18:10:18.304163 #1] INFO -- : GRANT
I, [2021-06-30T18:10:18.305053 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-06-30T18:10:18.394467 #1] INFO -- : ALTER SCHEMA
I, [2021-06-30T18:10:18.395154 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2021-06-30T18:10:18.502851 #1] INFO -- : CREATE EXTENSION
I, [2021-06-30T18:10:18.503667 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2021-06-30T18:10:18.597195 #1] INFO -- : CREATE EXTENSION
I, [2021-06-30T18:10:18.598031 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2021-06-30T18:10:18.696763 #1] INFO -- : CREATE EXTENSION
I, [2021-06-30T18:10:18.697534 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2021-06-30T18:10:18.778354 #1] INFO -- : CREATE EXTENSION
I, [2021-06-30T18:10:18.778943 #1] INFO -- : > sudo -u postgres psql discourse
I, [2021-06-30T18:10:18.782930 #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-06-30T18:10:18.895244 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2021-06-30T18:10:18.900039 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2021-06-30T18:10:18.900513 #1] INFO -- : > echo postgres installed!
I, [2021-06-30T18:10:18.903860 #1] INFO -- : postgres installed!
I, [2021-06-30T18:10:18.911693 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2021-06-30T18:10:18.918705 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2021-06-30T18:10:18.928631 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2021-06-30T18:10:18.930511 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.931736 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.932803 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-06-30T18:10:18.938286 #1] INFO -- :
I, [2021-06-30T18:10:18.939301 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.940356 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.941363 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.942417 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.943406 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-06-30T18:10:18.944282 #1] INFO -- : > echo redis installed
I, [2021-06-30T18:10:18.948826 #1] INFO -- : redis installed
I, [2021-06-30T18:10:18.949623 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-06-30T18:10:18.957937 #1] INFO -- : logfile ""
I, [2021-06-30T18:10:18.958871 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:10:18.962172 #1] INFO -- : > sleep 10
172:C 30 Jun 2021 18:10:18.970 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
172:C 30 Jun 2021 18:10:18.970 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=172, just started
172:C 30 Jun 2021 18:10:18.970 # Configuration loaded
172:M 30 Jun 2021 18:10:18.972 * monotonic clock: POSIX clock_gettime
172:M 30 Jun 2021 18:10:18.973 * Running mode=standalone, port=6379.
172:M 30 Jun 2021 18:10:18.974 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
172:M 30 Jun 2021 18:10:18.974 # Server initialized
172:M 30 Jun 2021 18:10:18.974 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
172:M 30 Jun 2021 18:10:18.975 * Loading RDB produced by version 6.2.3
172:M 30 Jun 2021 18:10:18.976 * RDB age 28 seconds
172:M 30 Jun 2021 18:10:18.976 * RDB memory usage when created 103.43 Mb
172:M 30 Jun 2021 18:10:19.341 * DB loaded from disk: 0.366 seconds
172:M 30 Jun 2021 18:10:19.342 * Ready to accept connections
I, [2021-06-30T18:10:28.967142 #1] INFO -- :
I, [2021-06-30T18:10:28.967394 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-06-30T18:10:28.972969 #1] INFO -- : thpoff is installed!
I, [2021-06-30T18:10:28.973312 #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-06-30T18:10:29.131042 #1] INFO -- :
I, [2021-06-30T18:10:29.131261 #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-06-30T18:10:29.248950 #1] INFO -- :
I, [2021-06-30T18:10:29.250193 #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-06-30T18:10:29.360146 #1] INFO -- :
I, [2021-06-30T18:10:29.360381 #1] INFO -- : > chown -R discourse /home/discourse
I, [2021-06-30T18:10:30.140423 #1] INFO -- :
I, [2021-06-30T18:10:30.141176 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-06-30T18:10:30.144983 #1] INFO -- :
I, [2021-06-30T18:10:30.149315 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2021-06-30T18:10:30.156035 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2021-06-30T18:10:30.162878 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2021-06-30T18:10:30.170949 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2021-06-30T18:10:30.178818 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2021-06-30T18:10:30.185297 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2021-06-30T18:10:30.185528 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-06-30T18:10:30.185884 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-30T18:10:30.189293 #1] INFO -- : > cd /var/www/discourse && git reset --hard
200:C 30 Jun 2021 18:10:30.196 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
200:C 30 Jun 2021 18:10:30.196 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=200, just started
200:C 30 Jun 2021 18:10:30.196 # Configuration loaded
200:M 30 Jun 2021 18:10:30.197 * monotonic clock: POSIX clock_gettime
200:M 30 Jun 2021 18:10:30.197 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
200:M 30 Jun 2021 18:10:30.197 # Failed listening on port 6379 (TCP), aborting.
Checking out files: 100% (28860/28860), done.
I, [2021-06-30T18:10:34.585153 #1] INFO -- : HEAD is now at 74f71503 FEATURE: Automatically timed delete stub topics after entire topic is merged into another topic (#13187)
I, [2021-06-30T18:10:34.585395 #1] INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-06-30T18:10:34.715549 #1] INFO -- :
I, [2021-06-30T18:10:34.715751 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-06-30T18:10:34.723480 #1] INFO -- :
I, [2021-06-30T18:10:34.723634 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-06-30T18:10:34.731308 #1] INFO -- :
I, [2021-06-30T18:10:34.732135 #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-06-30T18:10:38.036204 #1] INFO -- :
I, [2021-06-30T18:10:38.036386 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-06-30T18:10:39.431879 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2021-06-30T18:10:39.432099 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-06-30T18:10:39.436899 #1] INFO -- :
I, [2021-06-30T18:10:39.437503 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-06-30T18:10:39.444310 #1] INFO -- :
I, [2021-06-30T18:10:39.444491 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-06-30T18:10:39.451112 #1] INFO -- :
I, [2021-06-30T18:10:39.451852 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-06-30T18:10:39.456603 #1] INFO -- :
I, [2021-06-30T18:10:39.457371 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-06-30T18:10:39.461639 #1] INFO -- :
I, [2021-06-30T18:10:39.462420 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2021-06-30T18:10:39.466952 #1] INFO -- :
I, [2021-06-30T18:10:39.467525 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-06-30T18:10:39.473895 #1] INFO -- :
I, [2021-06-30T18:10:39.474615 #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-06-30T18:10:39.482394 #1] INFO -- :
I, [2021-06-30T18:10:39.482534 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2021-06-30T18:10:39.490178 #1] INFO -- :
I, [2021-06-30T18:10:39.490823 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-06-30T18:10:39.497749 #1] INFO -- :
I, [2021-06-30T18:10:39.498235 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2021-06-30T18:10:39.505409 #1] INFO -- :
I, [2021-06-30T18:10:39.506216 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-06-30T18:10:39.512670 #1] INFO -- :
I, [2021-06-30T18:10:39.513129 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-06-30T18:10:39.526166 #1] INFO -- :
I, [2021-06-30T18:10:39.526307 #1] INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-06-30T18:10:39.533675 #1] INFO -- :
I, [2021-06-30T18:10:39.534560 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-06-30T18:10:39.535032 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-06-30T18:10:40.766351 #1] INFO -- :
I, [2021-06-30T18:10:40.767334 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:10:40.772113 #1] INFO -- :
I, [2021-06-30T18:10:40.772965 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-06-30T18:10:40.778201 #1] INFO -- :
I, [2021-06-30T18:10:40.778968 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2021-06-30T18:10:40.783974 #1] INFO -- :
I, [2021-06-30T18:10:40.785540 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2021-06-30T18:10:40.786796 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:10:40.787559 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:10:40.788426 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2021-06-30T18:10:40.790240 #1] INFO -- : > echo "done configuring web"
I, [2021-06-30T18:10:40.794766 #1] INFO -- : done configuring web
I, [2021-06-30T18:10:40.795828 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-06-30T18:10:41.756624 #1] INFO -- : Successfully installed bundler-2.2.19
1 gem installed
アップデート中にエラーが発生しました
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
修正にご協力ください。.
3: message_bus (3.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.6.gemspec
Fetching faraday 1.4.3
Installing faraday 1.4.3
Installing nokogiri 1.11.7 (x86_64-linux)
3: faraday (1.4.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.4.3.gemspec
Using omniauth 1.9.1
3: omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
Using image_optim 0.30.0
3: image_optim (0.30.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_optim-0.30.0.gemspec
Using webpush 1.1.0
3: webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
Using logstash-logger 0.26.1
3: logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
Using mini_racer 0.4.0
3: mini_racer (0.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.4.0.gemspec
Using puma 5.3.2
3: puma (5.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.3.2.gemspec
Using sidekiq 6.2.1
3: sidekiq (6.2.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.2.1.gemspec
Using redis-namespace 1.8.1
3: redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
Using rqrcode 2.0.0
3: rqrcode (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-2.0.0.gemspec
Using unicorn 6.0.0
3: unicorn (6.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-6.0.0.gemspec
Using unf 0.1.4
3: unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
Using i18n 1.8.10
3: i18n (1.8.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.10.gemspec
Using tzinfo 2.0.4
3: tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec
Using sprockets 3.7.2
3: sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Using aws-sdk-core 3.112.1
3: aws-sdk-core (3.112.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
Using css_parser 1.9.0
3: css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
Using cose 1.2.0
3: cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Using json_schemer 0.2.18
3: json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
Using pry-byebug 3.9.0
3: pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-byebug-3.9.0.gemspec
Using pry-rails 0.3.9
3: pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Using mini_scheduler 0.13.0
3: mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
Using oauth2 1.4.7
3: oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.7.gemspec
Using omniauth-oauth 1.2.0
3: omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
Using activesupport 6.1.3.2
3: activesupport (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.3.2.gemspec
Fetching aws-sdk-kms 1.44.0
Installing aws-sdk-kms 1.44.0
3: aws-sdk-kms (1.44.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.44.0.gemspec
Using aws-sdk-sns 1.38.0
3: aws-sdk-sns (1.38.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
Using ember-handlebars-template 0.8.0
3: ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
Using omniauth-oauth2 1.7.1
3: omniauth-oauth2 (1.7.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
Using omniauth-twitter 1.4.0
3: omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Using globalid 0.4.2
3: globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
Using activemodel 6.1.3.2
3: activemodel (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.3.2.gemspec
Fetching aws-sdk-s3 1.96.1
Installing aws-sdk-s3 1.96.1
3: aws-sdk-s3 (1.96.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.96.1.gemspec
Using activejob 6.1.3.2
3: activejob (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.1.3.2.gemspec
Using active_model_serializers 0.8.4
3: active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
Using activerecord 6.1.3.2
3: activerecord (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.1.3.2.gemspec
Using omniauth-facebook 8.0.0
3: omniauth-facebook (8.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-facebook-8.0.0.gemspec
Using omniauth-github 1.4.0
3: omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
Using omniauth-google-oauth2 0.8.2
3: omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Using seed-fu 2.3.9
3: seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
ネイティブ拡張をビルドしています。これには少し時間がかかるかもしれません…
2: nokogiri (1.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.7-x86_64-linux.gemspec
Fetching loofah 2.10.0
Using rails-dom-testing 2.0.3
3: rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
Using nokogumbo 2.0.5
3: nokogumbo (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.5.gemspec
Using ruby-readability 0.7.0
3: ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
Using sanitize 5.2.3
3: sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
Installing loofah 2.10.0
2: loofah (2.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.10.0.gemspec
Using rails-html-sanitizer 1.3.0
3: rails-html-sanitizer (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
Using actionview 6.1.3.2
2: actionview (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.1.3.2.gemspec
Using actionpack 6.1.3.2
3: actionpack (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.1.3.2.gemspec
Using actionview_precompiler 0.2.3
3: actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
Using actionmailer 6.1.3.2
3: actionmailer (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.1.3.2.gemspec
Using railties 6.1.3.2
3: railties (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.1.3.2.gemspec
Using sprockets-rails 3.2.2
3: sprockets-rails (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
Using jquery-rails 4.4.0
2: jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
Using lograge 0.11.2
2: lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
Using rails_failover 0.7.3
2: rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.7.3.gemspec
Using rails_multisite 3.0.0
2: rails_multisite (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-3.0.0.gemspec
Using discourse-ember-rails 0.18.6
2: discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
0: oj (3.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.7.gemspec
1: ffi (1.15.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.3.gemspec
Using mini_suffix 0.3.2
0: mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
Using rbtrace 0.4.14
0: rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
Using sassc 2.0.1
0: sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
Using sassc-rails 2.1.2
1: sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
Bundle complete! 126 Gemfile dependencies, 169 gems now installed.
Gems in the groups ‘test’ and ‘development’ were not installed.
Bundled gems are installed into ./vendor/bundle
I, [2021-06-30T18:11:25.032747 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake plugin:pull_compatible_all’
I, [2021-06-30T18:11:28.411968 #1] INFO – : docker_managerはすでに最新互換バージョンです
I, [2021-06-30T18:11:28.412905 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
I, [2021-06-30T18:11:36.837298 #1] INFO – :
I, [2021-06-30T18:11:36.838255 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake themes:update assets:precompile’
Light Logosの更新に失敗しました
about.jsonには無効な値が含まれています:最大Discourseバージョンが無効です
/var/www/discourse/app/models/remote_theme.rb:169:in update_from_remote' /var/www/discourse/lib/tasks/themes.rake:61:in block (2 levels) in ’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in block (2 levels) in find_each' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:71:in block in find_each' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:138:in block in find_in_batches’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:245:in block in in_batches' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in loop’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:229:in in_batches' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:137:in find_in_batches’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/relation/batches.rb:70:in find_each' /var/www/discourse/lib/tasks/themes.rake:57:in block in ’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in block in execute' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:281:in execute' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:219:in block in invoke_with_call_chain’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in synchronize' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:199:in invoke_with_call_chain’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb:188:in invoke' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:160:in invoke_task’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in block (2 levels) in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in each’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:116:in block in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:125:in run_with_threads’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:110:in top_level' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:83:in block in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling' /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run’
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>' /var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in load’
/var/www/discourse/vendor/bundle/ruby/2.7.0/bin/rake:23:in <top (required)>' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in load’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:63:in kernel_load' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli/exec.rb:28:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:474:in exec' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in dispatch' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in start' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:49:in block in <top (required)>’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in with_friendly_errors' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle:37:in <top (required)>’
/usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in ’
I, [2021-06-30T18:11:46.174318 #1] INFO – : ハンバーガーリンクコンポーネントを更新しています…
カテゴリバナーを更新しています…
新しい「いいね」アイコンを更新しています…
ボタンを更新しています…
ハンバーガーテーマセレクターを更新しています…
Light Logosを更新しています…
I, [2021-06-30T18:11:46.175067 #1] INFO – : 非同期プロセスを終了しています
I, [2021-06-30T18:11:46.175133 #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 pid: 55 に INT を送信しています
I, [2021-06-30T18:11:46.175188 #1] INFO – : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 172 に TERM を送信しています
2021-06-30 18:11:46.175 UTC [55] LOG: received fast shutdown request
172:signal-handler (1625076706) Received SIGTERM scheduling shutdown…
2021-06-30 18:11:46.177 UTC [55] LOG: aborting any active transactions
2021-06-30 18:11:46.181 UTC [55] LOG: background worker “logical replication launcher” (PID 64) exited with exit code 1
2021-06-30 18:11:46.182 UTC [59] LOG: shutting down
2021-06-30 18:11:46.208 UTC [55] LOG: database system is shut down
172:M 30 Jun 2021 18:11:46.235 # User requested shutdown…
172:M 30 Jun 2021 18:11:46.235 * Saving the final RDB snapshot before exiting.
172:M 30 Jun 2021 18:11:46.825 * DB saved on disk
172:M 30 Jun 2021 18:11:46.825 # Redis is now ready to exit, bye bye…
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake themes:update assets:precompile’ failed with return #<Process::Status: pid 3753 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“assets_precompile”, “cmd”=>[“su discourse -c ‘bundle exec rake themes:update assets:precompile’”]}
06a3eaec7a931a79157477327261a44ac39732eba872e906fdbf30068b626ca2
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
root@community:/var/discourse#