Fehlgeschlagenes Upgrade von Discourse v2.8.13 auf v2.8.14

Hallo,
Ich teste das Upgrade auf Discourse Version 2.8.14 in der Pre-Production-Umgebung.

Dabei schlägt der rebuild-Befehl jedoch immer fehl.

./launcher rebuild app

x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
2.0.20221221-0050: Pulling from discourse/base
Digest: sha256:7ac6489e34a0f40f32457bffaa331940a98447b46451a6a1279a79868ee5420b
Status: Image is up to date for discourse/base:2.0.20221221-0050
docker.io/discourse/base:2.0.20221221-0050
/usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-01-18T11:18:11.920439 #1]  INFO -- : Reading from stdin
I, [2023-01-18T11:18:11.929809 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2023-01-18T11:18:11.935298 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2023-01-18T11:18:11.939278 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2023-01-18T11:18:11.939444 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.939960 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.941140 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-01-18T11:18:11.943098 #1]  INFO -- :
I, [2023-01-18T11:18:11.943358 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.943761 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.944922 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.945895 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.946656 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-01-18T11:18:11.947614 #1]  INFO -- : > echo redis installed
I, [2023-01-18T11:18:11.950991 #1]  INFO -- : redis installed

I, [2023-01-18T11:18:11.951195 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-01-18T11:18:11.954969 #1]  INFO -- : logfile ""

I, [2023-01-18T11:18:11.955086 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-01-18T11:18:11.956391 #1]  INFO -- : > sleep 10
18:C 18 Jan 2023 11:18:11.961 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
18:C 18 Jan 2023 11:18:11.961 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=18, just started
18:C 18 Jan 2023 11:18:11.961 # Configuration loaded
18:M 18 Jan 2023 11:18:11.961 * monotonic clock: POSIX clock_gettime
18:M 18 Jan 2023 11:18:11.962 * Running mode=standalone, port=6379.
18:M 18 Jan 2023 11:18:11.962 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
18:M 18 Jan 2023 11:18:11.962 # Server initialized
18:M 18 Jan 2023 11:18:11.962 # 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.
18:M 18 Jan 2023 11:18:11.962 * Loading RDB produced by version 7.0.7
18:M 18 Jan 2023 11:18:11.962 * RDB age 103 seconds
18:M 18 Jan 2023 11:18:11.962 * RDB memory usage when created 3.91 Mb
18:M 18 Jan 2023 11:18:11.969 * Done loading RDB, keys loaded: 1308, keys expired: 0.
18:M 18 Jan 2023 11:18:11.969 * DB loaded from disk: 0.007 seconds
18:M 18 Jan 2023 11:18:11.969 * Ready to accept connections
I, [2023-01-18T11:18:21.958625 #1]  INFO -- :
I, [2023-01-18T11:18:21.958993 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-01-18T11:18:21.963915 #1]  INFO -- : thpoff is installed!

I, [2023-01-18T11:18:21.964068 #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, [2023-01-18T11:18:22.027891 #1]  INFO -- :
I, [2023-01-18T11:18:22.028141 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2023-01-18T11:18:22.114503 #1]  INFO -- :
I, [2023-01-18T11:18:22.114714 #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, [2023-01-18T11:18:22.176337 #1]  INFO -- :
I, [2023-01-18T11:18:22.176805 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-01-18T11:18:22.180033 #1]  INFO -- :
I, [2023-01-18T11:18:22.183187 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2023-01-18T11:18:22.187920 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2023-01-18T11:18:22.193369 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2023-01-18T11:18:22.201334 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2023-01-18T11:18:22.205651 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2023-01-18T11:18:22.211288 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2023-01-18T11:18:22.211394 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-01-18T11:18:22.213123 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
45:C 18 Jan 2023 11:18:22.217 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
45:C 18 Jan 2023 11:18:22.217 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=45, just started
45:C 18 Jan 2023 11:18:22.217 # Configuration loaded
45:M 18 Jan 2023 11:18:22.218 * monotonic clock: POSIX clock_gettime
45:M 18 Jan 2023 11:18:22.218 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
45:M 18 Jan 2023 11:18:22.218 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (32637/32637), done.
I, [2023-01-18T11:18:24.148050 #1]  INFO -- : HEAD is now at e775ed1c DEV: Properly include spec examples (#19532)

I, [2023-01-18T11:18:24.148211 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2023-01-18T11:18:24.247576 #1]  INFO -- :
I, [2023-01-18T11:18:24.247954 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2023-01-18T11:18:24.253033 #1]  INFO -- :
I, [2023-01-18T11:18:24.253276 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin df6d323bd187746e254538c81ed29181efc2abe3
I, [2023-01-18T11:18:24.257952 #1]  INFO -- :
I, [2023-01-18T11:18:24.258065 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin df6d323bd187746e254538c81ed29181efc2abe3
From https://github.com/discourse/discourse
 * branch              df6d323bd187746e254538c81ed29181efc2abe3 -> FETCH_HEAD
I, [2023-01-18T11:18:28.596388 #1]  INFO -- :
I, [2023-01-18T11:18:28.596526 #1]  INFO -- : > cd /var/www/discourse && git checkout df6d323bd187746e254538c81ed29181efc2abe3
Hinweis: Wechsel zu 'df6d323bd187746e254538c81ed29181efc2abe3'.

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 machst, verwerfen, ohne dass dies Auswirkungen
auf irgendwelche Branches hat, indem du zu einem Branch zurückwechselst.

Wenn du einen neuen Branch erstellen möchtest, um die Commits zu behalten, die
du erstellst, kannst du dies tun (jetzt oder später), indem du -c mit dem
switch-Befehl verwendest. Beispiel:

  git switch -c <new-branch-name>

Oder mache diese Operation mit:

  git switch -

Schalte diesen Hinweis aus, indem du die Konfigurationsvariable advice.detachedHead to false

HEAD ist jetzt bei df6d323b Version bump to v2.8.14 (#19755)
I, [2023-01-18T11:18:29.324667 #1]  INFO -- :
I, [2023-01-18T11:18:29.324810 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-01-18T11:18:29.329146 #1]  INFO -- :
I, [2023-01-18T11:18:29.329240 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-01-18T11:18:29.331975 #1]  INFO -- :
I, [2023-01-18T11:18:29.332054 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-01-18T11:18:29.334617 #1]  INFO -- :
I, [2023-01-18T11:18:29.334694 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-01-18T11:18:29.337361 #1]  INFO -- :
I, [2023-01-18T11:18:29.337437 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-01-18T11:18:29.339653 #1]  INFO -- :
I, [2023-01-18T11:18:29.339743 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2023-01-18T11:18:29.342106 #1]  INFO -- :
I, [2023-01-18T11:18:29.342186 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-01-18T11:18:29.345650 #1]  INFO -- :
I, [2023-01-18T11:18:29.345730 #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, [2023-01-18T11:18:29.349292 #1]  INFO -- :
I, [2023-01-18T11:18:29.349372 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2023-01-18T11:18:29.352971 #1]  INFO -- :
I, [2023-01-18T11:18:29.353049 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-01-18T11:18:29.358592 #1]  INFO -- :
I, [2023-01-18T11:18:29.358652 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2023-01-18T11:18:29.363552 #1]  INFO -- :
I, [2023-01-18T11:18:29.363646 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-01-18T11:18:29.366699 #1]  INFO -- :
I, [2023-01-18T11:18:29.366777 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-01-18T11:18:33.708398 #1]  INFO -- :
I, [2023-01-18T11:18:33.708756 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-01-18T11:18:33.715004 #1]  INFO -- :
I, [2023-01-18T11:18:33.715422 #1]  INFO -- : Ersetze # redis mit sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-01-18T11:18:33.716174 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.719419 #1]  INFO -- :
I, [2023-01-18T11:18:33.719666 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-01-18T11:18:33.722278 #1]  INFO -- :
I, [2023-01-18T11:18:33.722514 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2023-01-18T11:18:33.727597 #1]  INFO -- :
I, [2023-01-18T11:18:33.728065 #1]  INFO -- : Ersetze pid /run/nginx.pid; mit daemon off; in /etc/nginx/nginx.conf
I, [2023-01-18T11:18:33.728726 #1]  INFO -- : Ersetze (?m-ix:upstream[^\}]+\}) mit upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.729351 #1]  INFO -- : Ersetze (?-mix:server_name.+$) mit server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.730009 #1]  INFO -- : Ersetze (?-mix:client_max_body_size.+$) mit client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.730628 #1]  INFO -- : Ersetze (?-mix:worker_connections.+$) mit worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-01-18T11:18:33.731145 #1]  INFO -- : > echo "Web-Konfiguration abgeschlossen"
I, [2023-01-18T11:18:33.733596 #1]  INFO -- : Web-Konfiguration abgeschlossen

I, [2023-01-18T11:18:33.734116 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-01-18T11:18:34.406959 #1]  INFO -- : Successfully installed bundler-2.3.22
1 gem installiert

I, [2023-01-18T11:18:34.407093 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-01-18T11:18:55.018256 #1]  INFO -- :
I, [2023-01-18T11:18:55.018583 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --production --frozen-lockfile && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
warning " > @mixer/parallel-prettier@2.0.1" has unmet peer dependency "prettier@^2.0.0".
I, [2023-01-18T11:19:28.037591 #1]  INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts/discourse
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 17.10s.
Done in 30.36s.
yarn cache v1.22.19
success Cleared cache.
Done in 2.33s.

Bei meinem Update ist ein Fehler aufgetreten

```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })

Bitte helfen Sie mir, ihn zu beheben..
1: msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/msgpack-1.4.2.gemspec
Using r2 0.2.7
1: r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/r2-0.2.7.gemspec
Using raindrops 0.20.0
1: raindrops (0.20.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/raindrops-0.20.0.gemspec
Using rchardet 1.8.0
1: rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rchardet-1.8.0.gemspec
Using rexml 3.2.5
1: rexml (3.2.5) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rexml-3.2.5.gemspec
Using rinku 2.0.6
1: rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rinku-2.0.6.gemspec
Fetching rotp 6.2.0
Installing rotp 6.2.0
1: rotp (6.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rotp-6.2.0.gemspec
Using rqrcode_core 1.2.0
1: rqrcode_core (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode_core-1.2.0.gemspec
Fetching rtlit 0.0.5
Installing rtlit 0.0.5
1: rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rtlit-0.0.5.gemspec
Using rubyzip 2.3.2
1: rubyzip (2.3.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rubyzip-2.3.2.gemspec
Fetching tilt 2.0.10
Installing tilt 2.0.10
1: tilt (2.0.10) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/tilt-2.0.10.gemspec
Using sshkey 2.0.0
1: sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sshkey-2.0.0.gemspec
Fetching stackprof 0.2.17
0: cppjieba_rb (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cppjieba_rb-0.3.3.gemspec
Fetching unf_ext 0.0.8
Installing stackprof 0.2.17 with native extensions
Building native extensions. This could take a while…
Installing unf_ext 0.0.8 with native extensions
Building native extensions. This could take a while…
0: unf_ext (0.0.8) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf_ext-0.0.8.gemspec
Fetching xorcist 1.1.2
Installing xorcist 1.1.2 with native extensions
Building native extensions. This could take a while…
1: stackprof (0.2.17) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/stackprof-0.2.17.gemspec
Fetching nokogiri 1.13.4 (x86_64-linux)
Installing nokogiri 1.13.4 (x86_64-linux)
0: xorcist (1.1.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/xorcist-1.1.2.gemspec
Using mail 2.8.0.edge from GitHub - discourse/mail: A Really Ruby Mail Library · GitHub (at main@5b700fc)
0: mail (2.8.0.edge) from /var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
Fetching aws-sigv4 1.4.0
Installing aws-sigv4 1.4.0
0: aws-sigv4 (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sigv4-1.4.0.gemspec
Fetching addressable 2.8.0
Installing addressable 2.8.0
0: addressable (2.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/addressable-2.8.0.gemspec
Fetching i18n 1.8.11
1: nokogiri (1.13.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/nokogiri-1.13.4-x86_64-linux.gemspec
Fetching tzinfo 2.0.4
Installing i18n 1.8.11
0: i18n (1.8.11) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/i18n-1.8.11.gemspec
Using uglifier 4.2.0
0: uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/uglifier-4.2.0.gemspec
Using rack-test 2.0.2
0: rack-test (2.0.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-test-2.0.2.gemspec
Using sprockets 3.7.2
0: sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-3.7.2.gemspec
Fetching request_store 1.5.0
Installing tzinfo 2.0.4
1: tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/tzinfo-2.0.4.gemspec
Fetching message_bus 4.0.0
Installing request_store 1.5.0
0: request_store (1.5.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/request_store-1.5.0.gemspec
Fetching rack-mini-profiler 2.3.3
Installing message_bus 4.0.0
1: message_bus (4.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/message_bus-4.0.0.gemspec
Fetching rack-protection 2.1.0
Installing rack-mini-profiler 2.3.3
Installing rack-protection 2.1.0
0: rack-mini-profiler (2.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-mini-profiler-2.3.3.gemspec
Fetching openssl 2.2.1
1: rack-protection (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-protection-2.1.0.gemspec
Fetching pry 0.13.1
Installing openssl 2.2.1 with native extensions
Installing pry 0.13.1
Building native extensions. This could take a while…
1: pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-0.13.1.gemspec
Fetching barber 0.12.2
Installing barber 0.12.2
1: barber (0.12.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/barber-0.12.2.gemspec
Fetching ember-data-source 3.0.2
Installing ember-data-source 3.0.2
1: ember-data-source (3.0.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ember-data-source-3.0.2.gemspec
Using ecma-re-validator 0.4.0
1: ecma-re-validator (0.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ecma-re-validator-0.4.0.gemspec
Fetching faraday-multipart 1.0.3
Installing faraday-multipart 1.0.3
1: faraday-multipart (1.0.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-multipart-1.0.3.gemspec
Using mini_suffix 0.3.3
1: mini_suffix (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_suffix-0.3.3.gemspec
Using sassc 2.0.1
1: sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-2.0.1.gemspec
Fetching omniauth 1.9.1
Installing omniauth 1.9.1
1: omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-1.9.1.gemspec
Fetching image_optim 0.31.1
Installing image_optim 0.31.1
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove config.assets.image_optim = false if you are not going to use that gem
1: image_optim (0.31.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/image_optim-0.31.1.gemspec
Fetching mini_racer 0.6.1
Installing mini_racer 0.6.1 with native extensions
Building native extensions. This could take a while…
2: pg (1.2.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pg-1.2.3.gemspec
Using logstash-logger 0.26.1
2: logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/logstash-logger-0.26.1.gemspec
Using webpush 1.1.0
2: webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/webpush-1.1.0.gemspec
Fetching sidekiq 6.3.1
Installing sidekiq 6.3.1
2: sidekiq (6.3.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sidekiq-6.3.1.gemspec
Fetching redis-namespace 1.8.1
Installing redis-namespace 1.8.1
2: redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/redis-namespace-1.8.1.gemspec
Fetching net-http 0.2.2
Installing net-http 0.2.2
2: net-http (0.2.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-http-0.2.2.gemspec
Fetching puma 5.5.2
Installing puma 5.5.2 with native extensions
Building native extensions. This could take a while…
1: mini_racer (0.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_racer-0.6.1.gemspec
Fetching bootsnap 1.9.4
Installing bootsnap 1.9.4 with native extensions
Building native extensions. This could take a while…
1: bootsnap (1.9.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/bootsnap-1.9.4.gemspec
Using rbtrace 0.4.14
1: rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rbtrace-0.4.14.gemspec
Using unicorn 6.1.0
1: unicorn (6.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unicorn-6.1.0.gemspec
Using rss 0.2.9
1: rss (0.2.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rss-0.2.9.gemspec
Fetching rqrcode 2.1.0
Installing rqrcode 2.1.0
1: rqrcode (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode-2.1.0.gemspec
Using unf 0.1.4
1: unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf-0.1.4.gemspec
Fetching aws-sdk-core 3.121.2
Installing aws-sdk-core 3.121.2
1: aws-sdk-core (3.121.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-core-3.121.2.gemspec
Fetching css_parser 1.11.0
Installing css_parser 1.11.0
1: css_parser (1.11.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/css_parser-1.11.0.gemspec
Fetching loofah 2.13.0
Installing loofah 2.13.0
1: loofah (2.13.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/loofah-2.13.0.gemspec
Using ruby-readability 0.7.0
1: ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ruby-readability-0.7.0.gemspec
Using sanitize 6.0.0
1: sanitize (6.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sanitize-6.0.0.gemspec
Fetching activesupport 6.1.6.1
Installing activesupport 6.1.6.1
1: activesupport (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activesupport-6.1.6.1.gemspec
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
1: pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-byebug-3.9.0.gemspec
Using pry-rails 0.3.9
1: pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-rails-0.3.9.gemspec
Fetching ember-handlebars-template 0.8.0
Installing ember-handlebars-template 0.8.0
1: ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ember-handlebars-template-0.8.0.gemspec
Fetching json_schemer 0.2.18
Installing json_schemer 0.2.18
1: json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/json_schemer-0.2.18.gemspec
Fetching faraday 1.9.3
Installing faraday 1.9.3
1: faraday (1.9.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-1.9.3.gemspec
Using omniauth-oauth 1.2.0
1: omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth-1.2.0.gemspec
Fetching mini_scheduler 0.13.0
Installing mini_scheduler 0.13.0
1: mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_scheduler-0.13.0.gemspec
Fetching aws-sdk-kms 1.44.0
Installing aws-sdk-kms 1.44.0
1: aws-sdk-kms (1.44.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-kms-1.44.0.gemspec
Fetching aws-sdk-sns 1.46.0
Installing aws-sdk-sns 1.46.0
1: aws-sdk-sns (1.46.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-sns-1.46.0.gemspec
Fetching rails-html-sanitizer 1.4.3
Installing rails-html-sanitizer 1.4.3
1: rails-html-sanitizer (1.4.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-html-sanitizer-1.4.3.gemspec
Using rails-dom-testing 2.0.3
1: rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-dom-testing-2.0.3.gemspec
Using globalid 1.0.0
1: globalid (1.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/globalid-1.0.0.gemspec
Fetching activemodel 6.1.6.1
Installing activemodel 6.1.6.1
1: activemodel (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activemodel-6.1.6.1.gemspec
Fetching oauth2 1.4.7
Installing oauth2 1.4.7
1: oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth2-1.4.7.gemspec
Using omniauth-twitter 1.4.0
1: omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-twitter-1.4.0.gemspec
Fetching aws-sdk-s3 1.96.1
Installing aws-sdk-s3 1.96.1
1: aws-sdk-s3 (1.96.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-s3-1.96.1.gemspec
Fetching actionview 6.1.6.1
Installing actionview 6.1.6.1
1: actionview (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview-6.1.6.1.gemspec
Fetching activejob 6.1.6.1
Installing activejob 6.1.6.1
1: activejob (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activejob-6.1.6.1.gemspec
Using active_model_serializers 0.8.4
1: active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/active_model_serializers-0.8.4.gemspec
Fetching activerecord 6.1.6.1
Installing activerecord 6.1.6.1
1: activerecord (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activerecord-6.1.6.1.gemspec
Fetching omniauth-oauth2 1.7.2
Installing omniauth-oauth2 1.7.2
1: omniauth-oauth2 (1.7.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth2-1.7.2.gemspec
Fetching actionpack 6.1.6.1
Installing actionpack 6.1.6.1
1: actionpack (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionpack-6.1.6.1.gemspec
Using actionview_precompiler 0.2.3
1: actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview_precompiler-0.2.3.gemspec
Fetching seed-fu 2.3.9
Installing seed-fu 2.3.9
1: seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/seed-fu-2.3.9.gemspec
Using omniauth-facebook 9.0.0
1: omniauth-facebook (9.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-facebook-9.0.0.gemspec
Using omniauth-github 1.4.0
1: omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-github-1.4.0.gemspec
Using omniauth-google-oauth2 0.8.2
1: omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Fetching actionmailer 6.1.6.1
Installing actionmailer 6.1.6.1
1: actionmailer (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionmailer-6.1.6.1.gemspec
Fetching railties 6.1.6.1
Installing railties 6.1.6.1
1: railties (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/railties-6.1.6.1.gemspec
Using sprockets-rails 3.4.2
1: sprockets-rails (3.4.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-rails-3.4.2.gemspec
Fetching jquery-rails 4.4.0
Installing jquery-rails 4.4.0
2: puma (5.5.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/puma-5.5.2.gemspec
Fetching lograge 0.11.2
1: jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/jquery-rails-4.4.0.gemspec
Fetching rails_failover 0.7.3
Installing lograge 0.11.2
Installing rails_failover 0.7.3
2: lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/lograge-0.11.2.gemspec
Fetching rails_multisite 4.0.0
1: rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_failover-0.7.3.gemspec
Using sassc-rails 2.1.2
1: sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-rails-2.1.2.gemspec
Fetching discourse-ember-rails 0.18.6
Installing rails_multisite 4.0.0
Installing discourse-ember-rails 0.18.6
2: rails_multisite (4.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_multisite-4.0.0.gemspec
1: discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/discourse-ember-rails-0.18.6.gemspec
3: oj (3.13.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oj-3.13.2.gemspec
0: openssl (2.2.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-2.2.1.gemspec
Fetching openssl-signature_algorithm 1.1.1
Installing openssl-signature_algorithm 1.1.1
2: openssl-signature_algorithm (1.1.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
Fetching cose 1.2.0
Installing cose 1.2.0
1: cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cose-1.2.0.gemspec
Bundle complete! 128 Gemfile dependencies, 178 gems now installed.
Gems in the groups ‘test’ and ‘development’ were not installed.
Bundled gems are installed into ./vendor/bundle
Post-install message from image_optim:
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove config.assets.image_optim = false if you are not going to use that gem

I, [2023-01-18T11:20:08.795503 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all’
I, [2023-01-18T11:20:10.866531 #1] INFO – :
I, [2023-01-18T11:20:10.866729 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
rake aborted!
LoadError: cannot load such file – net/pop
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:93:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/lib/validators/pop3_polling_enabled_setting_validator.rb:3:in
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:424:in block in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in block in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:13:in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:402:in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:558:in load_missing_constant' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:213:in const_missing’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/inflector/methods.rb:274:in const_get' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/inflector/methods.rb:274:in constantize’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/string/inflections.rb:74:in constantize' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/object/try.rb:15:in public_send’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/object/try.rb:15:in try' /var/www/discourse/lib/site_settings/type_supervisor.rb:114:in load_setting’
/var/www/discourse/lib/site_setting_extension.rb:170:in block in setting' /var/www/discourse/lib/site_setting_extension.rb:127:in synchronize’
/var/www/discourse/lib/site_setting_extension.rb:127:in setting' /var/www/discourse/app/models/site_setting.rb:12:in block in load_settings’
/var/www/discourse/lib/site_settings/yaml_loader.rb:22:in block (2 levels) in load' /var/www/discourse/lib/site_settings/yaml_loader.rb:13:in each’
/var/www/discourse/lib/site_settings/yaml_loader.rb:13:in block in load' /var/www/discourse/lib/site_settings/yaml_loader.rb:12:in each_key’
/var/www/discourse/lib/site_settings/yaml_loader.rb:12:in load' /var/www/discourse/app/models/site_setting.rb:11:in load_settings’
/var/www/discourse/app/models/site_setting.rb:16:in <class:SiteSetting>' /var/www/discourse/app/models/site_setting.rb:3:in
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:424:in block in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in block in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:13:in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:402:in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:558:in load_missing_constant' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:213:in const_missing’
/var/www/discourse/config/initializers/004-message_bus.rb:122:in <main>' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:60:in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:60:in load' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in block in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:681:in block in load_config_initializer' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:205:in instrument’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:680:in load_config_initializer' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:634:in block (2 levels) in class:Engine
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:633:in each' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:633:in block in class:Engine
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in instance_exec' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in run’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:61:in block in run_initializers' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:50:in each’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:50:in tsort_each_child' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:60:in run_initializers’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:391:in initialize!' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in public_send’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in method_missing' /var/www/discourse/config/environment.rb:7:in
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:367:in require_environment!’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:533:in block in run_tasks_blocks' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>’
/usr/local/bin/bundle:25:in load' /usr/local/bin/bundle:25:in
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2023-01-18T11:20:12.608443 #1] INFO – :
I, [2023-01-18T11:20:12.608716 #1] INFO – : Terminating async processes
I, [2023-01-18T11:20:12.608751 #1] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 18
18:signal-handler (1674040812) Received SIGTERM scheduling shutdown…
18:M 18 Jan 2023 11:20:12.679 # User requested shutdown…
18:M 18 Jan 2023 11:20:12.679 * Saving the final RDB snapshot before exiting.
18:M 18 Jan 2023 11:20:12.699 * DB saved on disk
18:M 18 Jan 2023 11:20:12.699 # Redis is now ready to exit, bye bye…

FAILED

Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 1708 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“db_migrate”, “cmd”=>[“su discourse -c ‘bundle exec rake db:migrate’”]}
bootstrap failed with exit code 1
** 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.
59c311db4c225fcfa1107d6c9ec0baef05d68d5f07bee3bb0257b3be2c06c688

Ich dachte zunächst, es läge an Redis, aber nach Informationen aus anderen Themen in diesem Forum scheint diese Fehlermeldung immer vorhanden zu sein.

45:M 18 Jan 2023 11:18:22.218 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
45:M 18 Jan 2023 11:18:22.218 # Failed listening on port 6379 (TCP), aborting.

Der einzige andere Fehler, den ich sehe, ist:

I, [2023-01-18T11:20:10.866729 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
rake aborted!
LoadError: cannot load such file – net/pop

Ich habe versucht, alle Plugins aus der Datei app.yml zu entfernen, aber der Fehler bleibt derselbe.

Ich wäre dankbar für jeden Hinweis, was noch falsch sein könnte.

Danke,
Jan

Sie können keine älteren, nicht unterstützten Versionen (< 3.0) von Stable verwenden, da diese Ruby 3.1 nicht unterstützen.

Wenn Sie dies wirklich tun möchten, müssen Sie discourse_docker an den Commit 1de36f6 anheften, dies geschieht jedoch auf eigene Gefahr.

Danke. Das hat mein Problem gelöst.