Fehler bei "./discourse rebuild app" wegen Theme-Fehler

Ich bin mir nicht sicher, was passiert ist, aber als ich heute versuchte, den Befehl ./discourse rebuild app zu verwenden, schlug das Update fehl und mein Forum ist offline. Das ist mir noch nie zuvor passiert. Bitte helft mir.

root@huey:/var/discourse# ./launcher rebuild app
Stelle sicher, dass der Launcher aktuell ist
Hole Origin
Launcher ist auf dem neuesten Stand
Stoppe alten Container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
Bereits auf dem neuesten Stand.
Hinweis: Überprüfe 'v1.0.3'.

Du befindest dich im 'detached HEAD'-Zustand. Du kannst dich umsehen, experimentelle
Änderungen vornehmen und diese committen, und du kannst alle Commits, die du in diesem
Zustand erstellst, durch einen weiteren Checkout verwerfen, ohne dass dies Auswirkungen auf andere Branches hat.

Wenn du einen neuen Branch erstellen möchtest, um die von dir erstellten Commits zu behalten, kannst
du dies (jetzt oder später) tun, indem du -b mit dem checkout-Befehl erneut verwendest. Beispiel:

  git checkout -b <neuer-branch-name>

HEAD is now at d1db030 cut a new version
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'
[VERALTET] Die Option `--deployment` ist veraltet, da sie darauf basiert, dass sie über mehrere Bundler-Aufrufe hinweg erinnert wird, was Bundler in zukünftigen Versionen nicht mehr tun wird. Verwenden Sie stattdessen bitte `bundle config set --local deployment 'true'` und lassen Sie diese Option weg.
[VERALTET] Die Option `--without` ist veraltet, da sie darauf basiert, dass sie über mehrere Bundler-Aufrufe hinweg erinnert wird, was Bundler in zukünftigen Versionen nicht mehr tun wird.

Es scheint ein Problem mit der Alternative Logo-Theme-Komponente zu geben.

Jemand anderes hatte hier ein Problem damit:

Es besteht die Möglichkeit, dass Sie ./launcher start app ausführen, die Theme-Komponente in Ihren Admin-Einstellungen löschen und dann erneut versuchen, ein Update durchzuführen. Der OP im anderen Thema musste jedoch letztendlich eine frische Installation durchführen und ein Backup wiederherstellen.

Kein Glück. Ich konnte die App nicht mit dem Befehl ./launcher start app ODER ./launcher enter app starten oder betreten.

Sie gibt diesen Fehler aus:

Unable to find image 'local_discourse/app:latest' locally

docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

See 'docker run --help'.

Entschuldigung, die erste Version meines Beitrags war nutzlos, da man die App nicht betreten kann.

Die Lösung scheint eine Neuinstallation und die Wiederherstellung eines Backups zu sein, falls Sie eines haben.

Wenn es zu alt ist, würde ich zuerst ein paar Dinge versuchen:

service docker restart
systemctl restart docker
cd /var/discourse
./launcher destroy app
./launcher start app

Aber die seltenen Male, die ich Docker-Probleme hatte, habe ich mich für eine Neuinstallation entschieden, es kann knifflig sein.

Hmm. Hast du eine Bereinigung durchgeführt? (Aber es spielt jetzt keine große Rolle mehr, warum du den alten Container nicht starten kannst.)

Es sollte eine Möglichkeit geben, defekte Themes beim Neuerstellen zu deaktivieren. Ich habe dein Betreff geändert, um auf dieses Problem aufmerksam zu machen.

Es wäre vielleicht möglich, einen Container nur mit Postgres zu erstellen, dann das Theme mit SQL zu entfernen, dann die Web-Vorlage wieder einzufügen und dann neu zu erstellen.

Ich konnte dieses Problem beheben, indem ich die folgenden Schritte ausgeführt habe:

  • Bearbeiten Sie containers/app.yml, um alle Vorlagendienste außer postgres auszukommentieren
  • Führen Sie ./launcher rebuild app dann ./launcher enter app aus
  • Sobald Sie drin sind, wechsle ich in die Postgres-Konsole su - postgres dann psql
  • Sobald Sie in Postgres sind, führe ich \\c discourse dann SELECT * FROM themes aus und finde heraus, dass das fehlerhafte Alternative Logo-Theme die ID 11 hat. Als nächstes lösche ich es mit DELETE FROM themes WHERE id=11 und beende die Konsole mit \\q
  • Verlassen Sie den Container mit exit, kommentieren Sie dann alle Vorlagen in containers/app.yaml aus und führen Sie den Rebuild erneut durch