Failing rebuild

I have done everything I could

I used to have Ubuntu 14.04 on my server. I upgraded it sequentially to Ubuntu 20.04

Upgraded Ruby to 3.2.0

Updated all Gems, and even run Bundle install successfully after a few tries

But still my rebuild app is failing at


Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1001 exit 1>

=== Here is the full log if anyone can help me ====

 ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
2.0.20230222-0048: Pulling from discourse/base
Digest: sha256:6a7dd0755c6832e1ecfc8cc980f27836b69b4162d6ff1b6a3e4e382a3b854803
Status: Image is up to date for discourse/base:2.0.20230222-0048
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-03-12T09:23:45.582702 #1]  INFO -- : Reading from stdin
I, [2023-03-12T09:23:45.588627 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2023-03-12T09:23:45.676392 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

........

I, [2023-03-12T09:23:52.289964 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-03-12T09:23:52.345460 #1]  INFO -- : ALTER SCHEMA

I, [2023-03-12T09:23:52.346045 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-03-12T09:23:52.418226 #1]  INFO -- : CREATE EXTENSION

I, [2023-03-12T09:23:52.418663 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-03-12T09:23:52.469508 #1]  INFO -- : CREATE EXTENSION

I, [2023-03-12T09:23:52.469966 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-03-12T09:23:52.523130 #1]  INFO -- : CREATE EXTENSION

I, [2023-03-12T09:23:52.523588 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-03-12T09:23:52.574187 #1]  INFO -- : CREATE EXTENSION

I, [2023-03-12T09:23:52.574697 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2023-03-12T09:23:52.579344 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2023-03-12T09:23:52.694116 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2023-03-12T09:23:52.696669 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2023-03-12T09:23:52.697044 #1]  INFO -- : > echo postgres installed!
I, [2023-03-12T09:23:52.698822 #1]  INFO -- : postgres installed!

I, [2023-03-12T09:23:52.702821 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2023-03-12T09:23:52.706746 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2023-03-12T09:23:52.710688 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2023-03-12T09:23:52.712640 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.713472 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.715182 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-03-12T09:23:52.717485 #1]  INFO -- : 
I, [2023-03-12T09:23:52.718124 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.718856 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.720355 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.721962 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.723364 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-03-12T09:23:52.724625 #1]  INFO -- : > echo redis installed
I, [2023-03-12T09:23:52.726494 #1]  INFO -- : redis installed

I, [2023-03-12T09:23:52.726987 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-03-12T09:23:52.732778 #1]  INFO -- : logfile ""

I, [2023-03-12T09:23:52.733183 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-03-12T09:23:52.734367 #1]  INFO -- : > sleep 10
102:C 12 Mar 2023 09:23:52.758 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
102:C 12 Mar 2023 09:23:52.758 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=102, just started
102:C 12 Mar 2023 09:23:52.758 # Configuration loaded
102:M 12 Mar 2023 09:23:52.759 * monotonic clock: POSIX clock_gettime
102:M 12 Mar 2023 09:23:52.760 * Running mode=standalone, port=6379.
102:M 12 Mar 2023 09:23:52.760 # Server initialized
102:M 12 Mar 2023 09:23:52.760 # 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.
102:M 12 Mar 2023 09:23:52.761 # WARNING Your system is configured to use the 'xen' clocksource which might lead to degraded performance. Check the result of the [slow-clocksource] system check: run 'redis-server --check-system' to check if the system's clocksource isn't degrading performance.
102:M 12 Mar 2023 09:23:52.761 * Loading RDB produced by version 7.0.7
102:M 12 Mar 2023 09:23:52.761 * RDB age 487 seconds
102:M 12 Mar 2023 09:23:52.762 * RDB memory usage when created 18.23 Mb
102:M 12 Mar 2023 09:23:52.815 * Done loading RDB, keys loaded: 14205, keys expired: 0.
102:M 12 Mar 2023 09:23:52.815 * DB loaded from disk: 0.054 seconds
102:M 12 Mar 2023 09:23:52.815 * Ready to accept connections
I, [2023-03-12T09:24:02.737389 #1]  INFO -- : 
I, [2023-03-12T09:24:02.737590 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-03-12T09:24:02.741466 #1]  INFO -- : thpoff is installed!

I, [2023-03-12T09:24:02.741588 #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-03-12T09:24:02.818900 #1]  INFO -- : 
I, [2023-03-12T09:24:02.819491 #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-03-12T09:24:02.897249 #1]  INFO -- : 
I, [2023-03-12T09:24:02.897878 #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-03-12T09:24:02.976784 #1]  INFO -- : 
I, [2023-03-12T09:24:02.977383 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-03-12T09:24:02.979687 #1]  INFO -- : 
I, [2023-03-12T09:24:02.982284 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2023-03-12T09:24:02.986273 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2023-03-12T09:24:02.990213 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2023-03-12T09:24:02.994184 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2023-03-12T09:24:02.998103 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2023-03-12T09:24:03.002194 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2023-03-12T09:24:03.002665 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-03-12T09:24:03.003171 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-03-12T09:24:03.005237 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
129:C 12 Mar 2023 09:24:03.013 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
129:C 12 Mar 2023 09:24:03.017 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=129, just started
129:C 12 Mar 2023 09:24:03.018 # Configuration loaded
129:M 12 Mar 2023 09:24:03.018 * monotonic clock: POSIX clock_gettime
129:M 12 Mar 2023 09:24:03.019 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
129:M 12 Mar 2023 09:24:03.019 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (32914/32914), done.
I, [2023-03-12T09:24:07.800951 #1]  INFO -- : HEAD is now at dc9af489 DEV: Remove use of redesigned_user_page_nav_enabled prop client side 2 (#20388)

I, [2023-03-12T09:24:07.801512 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-03-12T09:24:07.993606 #1]  INFO -- : 
I, [2023-03-12T09:24:07.994279 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git remote set-branches --add origin main
I, [2023-03-12T09:24:08.004496 #1]  INFO -- : 
I, [2023-03-12T09:24:08.005032 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git remote set-branches origin tests-passed
I, [2023-03-12T09:24:08.015632 #1]  INFO -- : 
I, [2023-03-12T09:24:08.016070 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u 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, [2023-03-12T09:24:10.929942 #1]  INFO -- : 
I, [2023-03-12T09:24:10.931336 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2023-03-12T09:24:12.007881 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2023-03-12T09:24:12.008406 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-03-12T09:24:12.011565 #1]  INFO -- : 
I, [2023-03-12T09:24:12.011915 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-03-12T09:24:12.015078 #1]  INFO -- : 
I, [2023-03-12T09:24:12.015418 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-03-12T09:24:12.018131 #1]  INFO -- : 
I, [2023-03-12T09:24:12.018464 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-03-12T09:24:12.021067 #1]  INFO -- : 
I, [2023-03-12T09:24:12.021395 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-03-12T09:24:12.026114 #1]  INFO -- : 
I, [2023-03-12T09:24:12.026428 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2023-03-12T09:24:12.029007 #1]  INFO -- : 
I, [2023-03-12T09:24:12.029310 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-03-12T09:24:12.040679 #1]  INFO -- : 
I, [2023-03-12T09:24:12.041133 #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-03-12T09:24:12.045992 #1]  INFO -- : 
I, [2023-03-12T09:24:12.046297 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2023-03-12T09:24:12.050305 #1]  INFO -- : 
I, [2023-03-12T09:24:12.050612 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-03-12T09:24:12.054342 #1]  INFO -- : 
I, [2023-03-12T09:24:12.054640 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2023-03-12T09:24:12.060957 #1]  INFO -- : 
I, [2023-03-12T09:24:12.061272 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-03-12T09:24:12.065100 #1]  INFO -- : 
I, [2023-03-12T09:24:12.065405 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-03-12T09:24:14.155783 #1]  INFO -- : 
I, [2023-03-12T09:24:14.156300 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-03-12T09:24:14.164858 #1]  INFO -- : 
I, [2023-03-12T09:24:14.165825 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-03-12T09:24:14.166527 #1]  INFO -- : > cd /var/www/discourse/plugins && mkdir -p plugins
I, [2023-03-12T09:24:14.169176 #1]  INFO -- : 
I, [2023-03-12T09:24:14.169504 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-03-12T09:24:16.031849 #1]  INFO -- : 
I, [2023-03-12T09:24:16.032773 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2023-03-12T09:24:16.877304 #1]  INFO -- : 
I, [2023-03-12T09:24:16.877860 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-sitemap
Cloning into 'discourse-sitemap'...
I, [2023-03-12T09:24:17.652808 #1]  INFO -- : 
I, [2023-03-12T09:24:17.653505 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-03-12T09:24:17.661575 #1]  INFO -- : 
I, [2023-03-12T09:24:17.662153 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-03-12T09:24:17.665924 #1]  INFO -- : 
I, [2023-03-12T09:24:17.666421 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2023-03-12T09:24:17.670361 #1]  INFO -- : 
I, [2023-03-12T09:24:17.671573 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-03-12T09:24:17.672223 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-03-12T09:24:17.672756 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-03-12T09:24:17.673657 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-03-12T09:24:17.674518 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-03-12T09:24:17.674961 #1]  INFO -- : > echo "done configuring web"
I, [2023-03-12T09:24:17.676763 #1]  INFO -- : done configuring web

I, [2023-03-12T09:24:17.677270 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-03-12T09:24:18.885515 #1]  INFO -- : Successfully installed bundler-2.4.4
1 gem installed

I, [2023-03-12T09:24:18.886073 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-03-12T09:24:25.268640 #1]  INFO -- : 
I, [2023-03-12T09:24:25.269346 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --production --frozen-lockfile && yarn cache clean'
warning " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-01152f14-74be-449e-ad8b-601884c2eeb3 > discourse > @uppy/xhr-upload@3.1.0" has incorrect peer dependency "@uppy/core@^3.0.6".
I, [2023-03-12T09:25:26.309678 #1]  INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ yarn --cwd app/assets/javascripts/discourse $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 53.89s.
Done in 54.70s.
yarn cache v1.22.19
success Cleared cache.
Done in 5.73s.

I, [2023-03-12T09:25:26.319471 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development'`, and stop using this flag
I, [2023-03-12T09:26:05.011913 #1]  INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.4.4
Frozen, using resolution from the lockfile
The definition is missing ["pg-1.4.6", "rack-2.2.6.3", "puma-6.1.1", "faraday-retry-2.1.0", "msgpack-1.6.1", "concurrent-ruby-1.2.2", "minitest-5.18.0", "raindrops-0.20.1", "google-protobuf-3.22.1-x86_64-linux"]
HTTP GET https://index.rubygems.org/versions
HTTP 416 Range Not Satisfiable https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK https://index.rubygems.org/versions
Fetching gem metadata from https://rubygems.org/
Looking up gems ["actionmailer", "actionpack", "actionview", "actionview_precompiler", "active_model_serializers", "activejob", "activemodel", "activerecord", "activesupport", "addressable", "annotate", "ast", "aws-eventstream", "aws-partitions", "aws-sdk-core", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sns", "aws-sigv4", "better_errors", "binding_of_caller", "bootsnap", "builder", "bullet", "byebug", "capybara", "cbor", "certified", "cgi", "chunky_png", "coderay", "colored2", "concurrent-ruby", "connection_pool", "cose", "cppjieba_rb", "crack", "crass", "css_parser", "dartsass-ruby", "dartsass-sprockets", "date", "debug_inspector", "diff-lcs", "diffy", "digest", "discourse-fonts", "discourse-seed-fu", "discourse_dev_assets", "docile", "ecma-re-validator", "email_reply_trimmer", "erubi", "excon", "execjs", "exifr", "fabrication", "faker", "fakeweb", "faraday", "faraday-net_http", "faraday-retry", "fast_blank", "fast_xs", "fastimage", "ffi", "fspath", "gc_tracer", "globalid", "google-protobuf", "guess_html_encoding", "hana", "hashdiff", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "i18n", "image_optim", "image_size", "in_threads", "jmespath", "json", "json-schema", "json_schemer", "jwt", "kgio", "libv8-node", "listen", "literate_randomizer", "lograge", "logstash-event", "logstash-logger", "logster", "loofah", "lru_redux", "lz4-ruby", "matrix", "maxminddb", "memory_profiler", "message_bus", "method_source", "mini_mime", "mini_portile2", "mini_racer", "mini_scheduler", "mini_sql", "mini_suffix", "minitest", "mocha", "msgpack", "multi_json", "multi_xml", "mustache", "net-http", "net-imap", "net-pop", "net-protocol", "net-smtp", "nio4r", "nokogiri", "oauth", "oauth-tty", "oauth2", "oj", "omniauth", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-oauth2", "omniauth-twitter", "openssl", "openssl-signature_algorithm", "optimist", "parallel", "parallel_tests", "parser", "pg", "prettier_print", "progress", "pry", "pry-byebug", "pry-rails", "public_suffix", "puma", "racc", "rack", "rack-mini-profiler", "rack-protection", "rack-test", "rails-dom-testing", "rails-html-sanitizer", "rails_failover", "rails_multisite", "railties", "rainbow", "raindrops", "rake", "rb-fsevent", "rb-inotify", "rbtrace", "rchardet", "redis", "redis-namespace", "regexp_parser", "request_store", "rexml", "rinku", "rotp", "rqrcode", "rqrcode_core", "rspec", "rspec-core", "rspec-expectations", "rspec-html-matchers", "rspec-mocks", "rspec-rails", "rspec-support", "rss", "rswag-specs", "rtlcss", "rubocop", "rubocop-ast", "rubocop-capybara", "rubocop-discourse", "rubocop-rspec", "ruby-prof", "ruby-progressbar", "ruby-readability", "ruby2_keywords", "rubyzip", "sanitize", "sass-embedded", "selenium-webdriver", "shoulda-matchers", "sidekiq", "simplecov", "simplecov-html", "simplecov_json_formatter", "snaky_hash", "sprockets-rails", "sshkey", "stackprof", "syntax_tree", "syntax_tree-disable_ternary", "test-prof", "thor", "tilt", "timeout", "tzinfo", "tzinfo-data", "uglifier", "unf", "unf_ext", "unicode-display_width", "unicorn", "uniform_notifier", "uri", "uri_template", "version_gem", "web-push", "webdrivers", "webmock", "webrick", "websocket", "xorcist", "xpath", "yaml-lint", "yard", "zeitwerk"]
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP 206 Partial Content https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/faraday-retry
HTTP 206 Partial Content https://index.rubygems.org/info/faraday-retry
HTTP GET https://index.rubygems.org/info/google-protobuf
HTTP 206 Partial Content https://index.rubygems.org/info/google-protobuf
HTTP GET https://index.rubygems.org/info/logster
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/minitest
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/msgpack
HTTP 206 Partial Content https://index.rubygems.org/info/msgpack
HTTP GET https://index.rubygems.org/info/parser
HTTP 206 Partial Content https://index.rubygems.org/info/parser
HTTP GET https://index.rubygems.org/info/pg
HTTP 206 Partial Content https://index.rubygems.org/info/pg
HTTP GET https://index.rubygems.org/info/prettier_print
HTTP 206 Partial Content https://index.rubygems.org/info/prettier_print
HTTP GET https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/puma
HTTP GET https://index.rubygems.org/info/rack
HTTP 206 Partial Content https://index.rubygems.org/info/rack
HTTP GET https://index.rubygems.org/info/raindrops
HTTP 206 Partial Content https://index.rubygems.org/info/raindrops
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
HTTP GET https://index.rubygems.org/info/rubocop-ast
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop-ast
HTTP GET https://index.rubygems.org/info/rubocop-rspec
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop-rspec
HTTP GET https://index.rubygems.org/info/ruby-prof
HTTP 206 Partial Content https://index.rubygems.org/info/ruby-prof
HTTP GET https://index.rubygems.org/info/ruby-prof
HTTP 200 OK https://index.rubygems.org/info/ruby-prof
HTTP GET https://index.rubygems.org/info/ruby-progressbar
HTTP 206 Partial Content https://index.rubygems.org/info/ruby-progressbar
HTTP GET https://index.rubygems.org/info/sass-embedded
HTTP 206 Partial Content https://index.rubygems.org/info/sass-embedded
HTTP GET https://index.rubygems.org/info/syntax_tree
HTTP 206 Partial Content https://index.rubygems.org/info/syntax_tree
Looking up gems ["mail", "text-format", "erubis", "rack-mount", "rack-cache", "sprockets", "journey", "rails-deprecated_sanitizer", "jsonapi", "case_transform", "jsonapi-renderer", "activemodel-globalid", "bcrypt-ruby", "arel", "activerecord-deprecated_finders", "memcache-client", "thread_safe", "jamespath", "http-2", "aws-crt", "rouge", "snappy", "columnize", "debugger-linecache", "slop", "rb-readline", "culerity", "database_cleaner", "mime-types", "celerity", "functional-ruby", "ref", "safe_yaml", "rdoc", "pastel", "tty-pager", "tty-screen", "tty-tree", "rcov", "multipart-post", "faraday-excon", "faraday-net_http_persistent", "faraday-em_http", "faraday-em_synchrony", "faraday-httpclient", "faraday-patron", "faraday-rack", "faraday-multipart", "rake-compiler", "rb-appscript", "xattr", "ffi-xattr", "termios", "json_pure", "rdf", "rb-fchange", "rb-kqueue", "celluloid", "celluloid-io", "ruby_dep", "stud", "eventmachine", "thin", "ruby_parser", "net-ftp", "libv8", "metaclass", "strscan", "io-wait", "hoe", "weakling", "mini_portile", "pkg-config", "ruby-hmac", "faraday-middleware", "httpauth", "rash_alt", "bigdecimal", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "ipaddr", "sexp_processor", "win32console", "spoon", "pry-doc", "escape_utils", "rails", "rack-ssl", "trollop", "redis-client", "base32", "webrat", "rspec-collection_matchers", "term-ansicolor", "backports", "powerpack", "astrolabe", "tins", "jaro_winkler", "psych", "hpricot", "nokogumbo", "childprocess", "libwebsocket", "bourne", "compass", "sass", "sprockets-sass", "sinatra", "slim", "lockfile", "therubyracer", "archive-zip", "zip", "net_http_ssl_fix"]
HTTP GET https://index.rubygems.org/info/slop
HTTP 206 Partial Content https://index.rubygems.org/info/slop
HTTP GET https://index.rubygems.org/info/database_cleaner
HTTP 206 Partial Content https://index.rubygems.org/info/database_cleaner
HTTP GET https://index.rubygems.org/info/ruby_parser
HTTP 206 Partial Content https://index.rubygems.org/info/ruby_parser
HTTP GET https://index.rubygems.org/info/bigdecimal
HTTP 206 Partial Content https://index.rubygems.org/info/bigdecimal
HTTP GET https://index.rubygems.org/info/redis-client
HTTP 206 Partial Content https://index.rubygems.org/info/redis-client
HTTP GET https://index.rubygems.org/info/backports
HTTP 206 Partial Content https://index.rubygems.org/info/backports
HTTP GET https://index.rubygems.org/info/slim
HTTP 206 Partial Content https://index.rubygems.org/info/slim
Looking up gems ["treetop", "tlsmail", "text-hyphen", "abstract", "multimap", "hike", "jsonapi-parser", "bcrypt", "ZenTest", "RubyInline", "atomic", "snappy-jars", "ruby_core_source", "debugger-ruby_core_source", "cucumber", "database_cleaner-active_record", "mime-types-data", "equatable", "tty-color", "tty-which", "verse", "strings", "net-http-persistent", "httpclient", "patron", "spruz", "link_header", "hamster", "win32-api", "timers", "facter", "bundler", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "metriks", "daemons", "ParseTree", "time", "rubyforge", "gemcutter", "rack-openid", "ruby-openid-apps-discovery", "restclient", "rest-client", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "curses", "sync", "jar-dependencies", "stringio", "haml", "fssm", "compass-core", "compass-import-once", "sass-listen", "sprockets-helpers", "mongrel", "mustermann", "temple", "io-like"]
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
Looking up gems ["facets", "polyglot", "archive-tar-minitar", "gherkin", "multi_test", "cucumber-core", "gherkin3", "cucumber-wire", "event-bus", "cucumber-expressions", "cucumber-formatter-dots", "cucumber-gherkin", "cucumber-html-formatter", "cucumber-cucumber-expressions", "cucumber-messages", "sys-uname", "cucumber-create-meta", "cucumber-ci-environment", "database_cleaner-core", "unicode_utils", "strings-ansi", "test-unit", "hitimes", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "celluloid-gems", "coveralls", "dotenv-deployment", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "SexpProcessor", "net-scp", "ruby-openid", "netrc", "http-cookie", "http-accept", "macaddr", "log4r", "rails-observers", "activemodel-serializers-xml", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "marcel", "mimemagic", "ruby-maven", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "tool"]
Looking up gems ["minitar", "minitar-cli", "c21e", "cucumber-tag_expressions", "cucumber-tag-expressions", "os", "protobuf-cucumber", "power_assert", "configuration", "mkrf", "libxml-ruby", "ffi-win32-extensions", "colorize", "roauth", "net-ssh", "ruby-yadis", "domain_name", "sqlite3", "systemu", "coffee-script", "hiredis", "websocket-extensions", "maven-tools", "ruby-maven-libs"]
HTTP GET https://index.rubygems.org/info/net-ssh
HTTP 206 Partial Content https://index.rubygems.org/info/net-ssh
HTTP GET https://index.rubygems.org/info/sqlite3
HTTP 206 Partial Content https://index.rubygems.org/info/sqlite3
Looking up gems ["powerbar", "middleware", "pattern-match", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "coffee-script-source", "virtus"]
Looking up gems ["ansi", "descendants_tracker", "axiom-types", "coercible", "equalizer"]
Looking up gems ["ice_nine", "adamantium"]
Looking up gems ["memoizable"]
Using rake 13.0.6
0:  rake (13.0.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rake-13.0.6.gemspec
Fetching concurrent-ruby 1.2.2
Fetching minitest 5.18.0
Using builder 3.2.4
2:  builder (3.2.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/builder-3.2.4.gemspec
Using erubi 1.12.0
2:  erubi (1.12.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/erubi-1.12.0.gemspec
Using racc 1.6.2
2:  racc (1.6.2) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/racc-1.6.2.gemspec
Using crass 1.0.6
2:  crass (1.0.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/crass-1.0.6.gemspec
Fetching rack 2.2.6.3
Using mini_mime 1.1.2
1:  mini_mime (1.1.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mini_mime-1.1.2.gemspec
Using date 3.3.3
1:  date (3.3.3) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/date-3.3.3.gemspec
Using timeout 0.3.2
1:  timeout (0.3.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/timeout-0.3.2.gemspec
Using public_suffix 5.0.1
1:  public_suffix (5.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/public_suffix-5.0.1.gemspec
Using aws-eventstream 1.2.0
1:  aws-eventstream (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-eventstream-1.2.0.gemspec
Using aws-partitions 1.583.0
1:  aws-partitions (1.583.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-partitions-1.583.0.gemspec
Using jmespath 1.6.2
1:  jmespath (1.6.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/jmespath-1.6.2.gemspec
Fetching msgpack 1.6.1
Installing minitest 5.18.0
Installing rack 2.2.6.3
Installing msgpack 1.6.1 with native extensions
Installing concurrent-ruby 1.2.2
3:  minitest (5.18.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/minitest-5.18.0.gemspec
Using bundler 2.4.4
3:  bundler (2.4.4) from /usr/local/lib/ruby/gems/3.2.0/specifications/bundler-2.4.4.gemspec
Using byebug 11.1.3
3:  byebug (11.1.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/byebug-11.1.3.gemspec
Using cbor 0.5.9.6
3:  cbor (0.5.9.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/cbor-0.5.9.6.gemspec
Using cgi 0.3.6
3:  cgi (0.3.6) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/cgi-0.3.6.gemspec
Using chunky_png 1.4.0
3:  chunky_png (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/chunky_png-1.4.0.gemspec
Using coderay 1.1.3
3:  coderay (1.1.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/coderay-1.1.3.gemspec
Using colored2 3.1.2
3:  colored2 (3.1.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/colored2-3.1.2.gemspec
Using connection_pool 2.3.0
3:  connection_pool (2.3.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/connection_pool-2.3.0.gemspec
Using openssl 3.1.0
3:  openssl (3.1.0) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/openssl-3.1.0.gemspec
Using cppjieba_rb 0.4.2
3:  cppjieba_rb (0.4.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/cppjieba_rb-0.4.2.gemspec
Fetching google-protobuf 3.22.1 (x86_64-linux)
Building native extensions. This could take a while...
2:  rack (2.2.6.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rack-2.2.6.3.gemspec
Using method_source 1.0.0
2:  method_source (1.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/method_source-1.0.0.gemspec
Using thor 1.2.1
2:  thor (1.2.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/thor-1.2.1.gemspec
Using zeitwerk 2.6.7
2:  zeitwerk (2.6.7) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/zeitwerk-2.6.7.gemspec
Using tilt 2.1.0
2:  tilt (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/tilt-2.1.0.gemspec
Using diffy 3.4.2
2:  diffy (3.4.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/diffy-3.4.2.gemspec
Using digest 3.1.1
2:  digest (3.1.1) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/digest-3.1.1.gemspec
Using discourse-fonts 0.0.9
2:  discourse-fonts (0.0.9) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/discourse-fonts-0.0.9.gemspec
Using regexp_parser 2.7.0
2:  regexp_parser (2.7.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/regexp_parser-2.7.0.gemspec
Using email_reply_trimmer 0.1.13
2:  email_reply_trimmer (0.1.13) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/email_reply_trimmer-0.1.13.gemspec
Using excon 0.99.0
2:  excon (0.99.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/excon-0.99.0.gemspec
Using execjs 2.8.1
2:  execjs (2.8.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/execjs-2.8.1.gemspec
Using exifr 1.3.10
2:  exifr (1.3.10) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/exifr-1.3.10.gemspec
Using faraday-net_http 3.0.2
2:  faraday-net_http (3.0.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/faraday-net_http-3.0.2.gemspec
Using ruby2_keywords 0.0.5
2:  ruby2_keywords (0.0.5) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/ruby2_keywords-0.0.5.gemspec
Using fast_blank 1.0.1
2:  fast_blank (1.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/fast_blank-1.0.1.gemspec
Using fast_xs 0.8.0
2:  fast_xs (0.8.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/fast_xs-0.8.0.gemspec
Using fastimage 2.2.6
2:  fastimage (2.2.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/fastimage-2.2.6.gemspec
Using ffi 1.15.5
2:  ffi (1.15.5) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/ffi-1.15.5.gemspec
Using fspath 3.1.2
2:  fspath (3.1.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/fspath-3.1.2.gemspec
Using gc_tracer 1.5.1
2:  gc_tracer (1.5.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/gc_tracer-1.5.1.gemspec
Using guess_html_encoding 0.0.11
2:  guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/guess_html_encoding-0.0.11.gemspec
Using hana 1.3.7
2:  hana (1.3.7) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/hana-1.3.7.gemspec
Using hashie 5.0.0
2:  hashie (5.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/hashie-5.0.0.gemspec
Using highline 2.1.0
2:  highline (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/highline-2.1.0.gemspec
Using hkdf 1.0.0
2:  hkdf (1.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/hkdf-1.0.0.gemspec
Using htmlentities 4.3.4
2:  htmlentities (4.3.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/htmlentities-4.3.4.gemspec
Using http_accept_language 2.1.1
2:  http_accept_language (2.1.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/http_accept_language-2.1.1.gemspec
Using image_size 3.2.0
2:  image_size (3.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/image_size-3.2.0.gemspec
Using in_threads 1.6.0
2:  in_threads (1.6.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/in_threads-1.6.0.gemspec
Using progress 3.6.0
2:  progress (3.6.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/progress-3.6.0.gemspec
Using json 2.6.3
2:  json (2.6.3) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/json-2.6.3.gemspec
Using uri_template 0.7.0
2:  uri_template (0.7.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/uri_template-0.7.0.gemspec
Using jwt 2.7.0
2:  jwt (2.7.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/jwt-2.7.0.gemspec
Using kgio 2.11.4
2:  kgio (2.11.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/kgio-2.11.4.gemspec
Using libv8-node 16.10.0.0 (x86_64-linux)
2:  libv8-node (16.10.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/libv8-node-16.10.0.0-x86_64-linux.gemspec
Using logstash-event 1.2.02
2:  logstash-event (1.2.02) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/logstash-event-1.2.02.gemspec
Using logster 2.11.4
2:  logster (2.11.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/logster-2.11.4.gemspec
Using lru_redux 1.1.0
2:  lru_redux (1.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/lru_redux-1.1.0.gemspec
Using lz4-ruby 0.3.3
2:  lz4-ruby (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/lz4-ruby-0.3.3.gemspec
Using maxminddb 0.1.22
2:  maxminddb (0.1.22) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/maxminddb-0.1.22.gemspec
Using memory_profiler 1.0.1
2:  memory_profiler (1.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/memory_profiler-1.0.1.gemspec
Using redis 4.8.1
2:  redis (4.8.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/redis-4.8.1.gemspec
Using mini_sql 1.4.0
2:  mini_sql (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mini_sql-1.4.0.gemspec
Using multi_json 1.15.0
2:  multi_json (1.15.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/multi_json-1.15.0.gemspec
Using multi_xml 0.6.0
2:  multi_xml (0.6.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/multi_xml-0.6.0.gemspec
Using mustache 1.1.1
2:  mustache (1.1.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mustache-1.1.1.gemspec
Using uri 0.12.0
2:  uri (0.12.0) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/uri-0.12.0.gemspec
Using nio4r 2.5.8
2:  nio4r (2.5.8) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/nio4r-2.5.8.gemspec
Using version_gem 1.1.1
2:  version_gem (1.1.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/version_gem-1.1.1.gemspec
Using oj 3.13.14
2:  oj (3.13.14) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/oj-3.13.14.gemspec
Using optimist 3.0.1
2:  optimist (3.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/optimist-3.0.1.gemspec
Fetching pg 1.4.6
Installing google-protobuf 3.22.1 (x86_64-linux)
0:  concurrent-ruby (1.2.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/concurrent-ruby-1.2.2.gemspec
Fetching raindrops 0.20.1
Installing pg 1.4.6 with native extensions
Installing raindrops 0.20.1 with native extensions
3:  google-protobuf (3.22.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/google-protobuf-3.22.1-x86_64-linux.gemspec
Using rchardet 1.8.0
3:  rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rchardet-1.8.0.gemspec
Using rexml 3.2.5
3:  rexml (3.2.5) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rexml-3.2.5.gemspec
Using rinku 2.0.6
Building native extensions. This could take a while...
3:  rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rinku-2.0.6.gemspec
Using rotp 6.2.2
3:  rotp (6.2.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rotp-6.2.2.gemspec
Using rqrcode_core 1.2.0
3:  rqrcode_core (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rqrcode_core-1.2.0.gemspec
Using rubyzip 2.3.2
3:  rubyzip (2.3.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rubyzip-2.3.2.gemspec
Using sshkey 2.0.0
3:  sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/sshkey-2.0.0.gemspec
Using stackprof 0.2.23
3:  stackprof (0.2.23) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/stackprof-0.2.23.gemspec
Using unf_ext 0.0.8.2
3:  unf_ext (0.0.8.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/unf_ext-0.0.8.2.gemspec
Using webrick 1.7.0
3:  webrick (1.7.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/webrick-1.7.0.gemspec
Using xorcist 1.1.3
3:  xorcist (1.1.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/xorcist-1.1.3.gemspec
Using nokogiri 1.14.2 (x86_64-linux)
3:  nokogiri (1.14.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/nokogiri-1.14.2-x86_64-linux.gemspec
Building native extensions. This could take a while...
Using mail 2.8.0.edge from https://github.com/discourse/mail.git (at main@5b700fc)
3:  mail (2.8.0.edge) from /var/www/discourse/vendor/bundle/ruby/3.2.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
Using net-protocol 0.2.1
3:  net-protocol (0.2.1) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/net-protocol-0.2.1.gemspec
Using addressable 2.8.1
3:  addressable (2.8.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/addressable-2.8.1.gemspec
Using aws-sigv4 1.5.0
3:  aws-sigv4 (1.5.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-sigv4-1.5.0.gemspec
Using openssl-signature_algorithm 1.3.0
3:  openssl-signature_algorithm (1.3.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/openssl-signature_algorithm-1.3.0.gemspec
Using rack-test 2.0.2
3:  rack-test (2.0.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rack-test-2.0.2.gemspec
Using request_store 1.5.1
3:  request_store (1.5.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/request_store-1.5.1.gemspec
Using message_bus 4.3.2
3:  message_bus (4.3.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/message_bus-4.3.2.gemspec
Using rack-mini-profiler 3.0.0
3:  rack-mini-profiler (3.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rack-mini-profiler-3.0.0.gemspec
Using rack-protection 3.0.5
3:  rack-protection (3.0.5) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rack-protection-3.0.5.gemspec
Using pry 0.14.2
3:  pry (0.14.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/pry-0.14.2.gemspec
Using ecma-re-validator 0.4.0
3:  ecma-re-validator (0.4.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/ecma-re-validator-0.4.0.gemspec
Using faraday 2.7.4
3:  faraday (2.7.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/faraday-2.7.4.gemspec
Using image_optim 0.31.3
3:  image_optim (0.31.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/image_optim-0.31.3.gemspec
Using mini_suffix 0.3.3
3:  mini_suffix (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mini_suffix-0.3.3.gemspec
Using omniauth 1.9.2
3:  omniauth (1.9.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/omniauth-1.9.2.gemspec
Using uglifier 4.2.0
3:  uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/uglifier-4.2.0.gemspec
Using logstash-logger 0.26.1
3:  logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/logstash-logger-0.26.1.gemspec
Using mini_racer 0.6.3
3:  mini_racer (0.6.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mini_racer-0.6.3.gemspec
Using web-push 3.0.0
3:  web-push (3.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/web-push-3.0.0.gemspec
Using sidekiq 6.5.8
3:  sidekiq (6.5.8) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/sidekiq-6.5.8.gemspec
Using net-http 0.3.2
3:  net-http (0.3.2) from /usr/local/lib/ruby/gems/3.2.0/specifications/default/net-http-0.3.2.gemspec
Using oauth-tty 1.0.5
3:  oauth-tty (1.0.5) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/oauth-tty-1.0.5.gemspec
Using snaky_hash 2.0.1
3:  snaky_hash (2.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/snaky_hash-2.0.1.gemspec
Fetching puma 6.1.1
Installing puma 6.1.1 with native extensions
Building native extensions. This could take a while...
3:  puma (6.1.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/puma-6.1.1.gemspec
Using redis-namespace 1.10.0
3:  redis-namespace (1.10.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/redis-namespace-1.10.0.gemspec
Using i18n 1.12.0
3:  i18n (1.12.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/i18n-1.12.0.gemspec
Using tzinfo 2.0.6
3:  tzinfo (2.0.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/tzinfo-2.0.6.gemspec
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
3:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/bundler/gems/sprockets-f4d3dae71ef2/sprockets.gemspec
Using sass-embedded 1.58.3 (x86_64-linux-gnu)
3:  sass-embedded (1.58.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/sass-embedded-1.58.3-x86_64-linux-gnu.gemspec
Using rss 0.2.9
3:  rss (0.2.9) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rss-0.2.9.gemspec
Using rqrcode 2.1.2
3:  rqrcode (2.1.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rqrcode-2.1.2.gemspec
Using unf 0.1.4
3:  unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/unf-0.1.4.gemspec
Using loofah 2.19.1
3:  loofah (2.19.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/loofah-2.19.1.gemspec
Using ruby-readability 0.7.0
3:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/ruby-readability-0.7.0.gemspec
Using sanitize 6.0.1
3:  sanitize (6.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/sanitize-6.0.1.gemspec
Using net-imap 0.3.4
3:  net-imap (0.3.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/net-imap-0.3.4.gemspec
Using net-pop 0.1.2
3:  net-pop (0.1.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/net-pop-0.1.2.gemspec
Using net-smtp 0.3.3
3:  net-smtp (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/net-smtp-0.3.3.gemspec
Using aws-sdk-core 3.130.2
3:  aws-sdk-core (3.130.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-sdk-core-3.130.2.gemspec
Using css_parser 1.14.0
3:  css_parser (1.14.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/css_parser-1.14.0.gemspec
Using cose 1.3.0
3:  cose (1.3.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/cose-1.3.0.gemspec
Using pry-byebug 3.10.1
3:  pry-byebug (3.10.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/pry-byebug-3.10.1.gemspec
Using pry-rails 0.3.9
3:  pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/pry-rails-0.3.9.gemspec
Using json_schemer 0.2.23
3:  json_schemer (0.2.23) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/json_schemer-0.2.23.gemspec
Fetching faraday-retry 2.1.0
Installing faraday-retry 2.1.0
3:  faraday-retry (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/faraday-retry-2.1.0.gemspec
Using oauth2 1.4.11
3:  oauth2 (1.4.11) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/oauth2-1.4.11.gemspec
Using rtlcss 0.2.0
3:  rtlcss (0.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rtlcss-0.2.0.gemspec
Using mini_scheduler 0.15.0
3:  mini_scheduler (0.15.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/mini_scheduler-0.15.0.gemspec
Using oauth 1.1.0
3:  oauth (1.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/oauth-1.1.0.gemspec
Using activesupport 7.0.4.1
3:  activesupport (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/activesupport-7.0.4.1.gemspec
Using tzinfo-data 1.2022.7
3:  tzinfo-data (1.2022.7) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/tzinfo-data-1.2022.7.gemspec
Using rails-html-sanitizer 1.5.0
3:  rails-html-sanitizer (1.5.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rails-html-sanitizer-1.5.0.gemspec
Using dartsass-ruby 3.0.1
3:  dartsass-ruby (3.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/dartsass-ruby-3.0.1.gemspec
Using aws-sdk-kms 1.56.0
3:  aws-sdk-kms (1.56.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-sdk-kms-1.56.0.gemspec
Using aws-sdk-sns 1.53.0
3:  aws-sdk-sns (1.53.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-sdk-sns-1.53.0.gemspec
Using omniauth-oauth2 1.7.3
3:  omniauth-oauth2 (1.7.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/omniauth-oauth2-1.7.3.gemspec
Using rails-dom-testing 2.0.3
3:  rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rails-dom-testing-2.0.3.gemspec
Using globalid 1.1.0
3:  globalid (1.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/globalid-1.1.0.gemspec
Using activemodel 7.0.4.1
3:  activemodel (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/activemodel-7.0.4.1.gemspec
Using omniauth-oauth 1.2.0
3:  omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/omniauth-oauth-1.2.0.gemspec
Using actionview 7.0.4.1
3:  actionview (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/actionview-7.0.4.1.gemspec
Using activejob 7.0.4.1
3:  activejob (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/activejob-7.0.4.1.gemspec
Using active_model_serializers 0.8.4
3:  active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/active_model_serializers-0.8.4.gemspec
Using activerecord 7.0.4.1
3:  activerecord (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/activerecord-7.0.4.1.gemspec
Using aws-sdk-s3 1.114.0
3:  aws-sdk-s3 (1.114.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/aws-sdk-s3-1.114.0.gemspec
Using omniauth-facebook 9.0.0
3:  omniauth-facebook (9.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/omniauth-facebook-9.0.0.gemspec
Using omniauth-github 1.4.0
3:  omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.2.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/3.2.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Using omniauth-twitter 1.4.0
3:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/omniauth-twitter-1.4.0.gemspec
Using actionpack 7.0.4.1
3:  actionpack (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/actionpack-7.0.4.1.gemspec
Using actionview_precompiler 0.2.3
3:  actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/actionview_precompiler-0.2.3.gemspec
Using discourse-seed-fu 2.3.12
3:  discourse-seed-fu (2.3.12) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/discourse-seed-fu-2.3.12.gemspec
Using actionmailer 7.0.4.1
3:  actionmailer (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/actionmailer-7.0.4.1.gemspec
Using railties 7.0.4.1
3:  railties (7.0.4.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/railties-7.0.4.1.gemspec
Using sprockets-rails 3.4.2
3:  sprockets-rails (3.4.2) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/sprockets-rails-3.4.2.gemspec
Using lograge 0.12.0
3:  lograge (0.12.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/lograge-0.12.0.gemspec
Using rails_failover 0.8.1
3:  rails_failover (0.8.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rails_failover-0.8.1.gemspec
Using rails_multisite 4.0.1
3:  rails_multisite (4.0.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rails_multisite-4.0.1.gemspec
Using dartsass-sprockets 3.0.0
3:  dartsass-sprockets (3.0.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/dartsass-sprockets-3.0.0.gemspec
1:  msgpack (1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/msgpack-1.6.1.gemspec
Using bootsnap 1.16.0
3:  bootsnap (1.16.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/bootsnap-1.16.0.gemspec
Using rbtrace 0.4.14
1:  rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/rbtrace-0.4.14.gemspec
0:  raindrops (0.20.1) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/raindrops-0.20.1.gemspec
Using unicorn 6.1.0
3:  unicorn (6.1.0) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/unicorn-6.1.0.gemspec
2:  pg (1.4.6) from /var/www/discourse/vendor/bundle/ruby/3.2.0/specifications/pg-1.4.6.gemspec
Bundle complete! 137 Gemfile dependencies, 175 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2023-03-12T09:26:05.015572 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-03-12T09:26:09.046716 #1]  INFO -- : discourse-adplugin is already at latest compatible version
discourse-sitemap is already at latest compatible version
docker_manager is already at latest compatible version

I, [2023-03-12T09:26:09.047362 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2023-03-12 09:26:14.215 UTC [1014] discourse@discourse ERROR:  duplicate key value violates unique constraint "index_tags_on_name"
2023-03-12 09:26:14.215 UTC [1014] discourse@discourse DETAIL:  Key (name)=(カタカナ) already exists.
2023-03-12 09:26:14.215 UTC [1014] discourse@discourse STATEMENT:  UPDATE tags t
  SET public_topic_count = x.topic_count
  FROM (
    SELECT
      COUNT(topics.id) AS topic_count,
      tags.id AS tag_id
    FROM tags
    INNER JOIN topic_tags ON tags.id = topic_tags.tag_id
    INNER JOIN topics ON topics.id = topic_tags.topic_id AND topics.deleted_at IS NULL AND topics.archetype != 'private_message'
    INNER JOIN categories ON categories.id = topics.category_id AND NOT categories.read_restricted
    GROUP BY tags.id
  ) x
  WHERE x.tag_id = t.id
  AND x.topic_count <> t.public_topic_count;
  
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_tags_on_name"
DETAIL:  Key (name)=(カタカナ) already exists.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/migrate/20230118020114_add_public_topic_count_to_tags.rb:7:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.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 `<main>'

Caused by:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_tags_on_name"
DETAIL:  Key (name)=(カタカナ) already exists.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/migrate/20230118020114_add_public_topic_count_to_tags.rb:7:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.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 `<main>'

Caused by:
PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_tags_on_name"
DETAIL:  Key (name)=(カタカナ) already exists.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.0.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/migrate/20230118020114_add_public_topic_count_to_tags.rb:7:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.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 `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I, [2023-03-12T09:26:14.250008 #1]  INFO -- : == 20230118020114 AddPublicTopicCountToTags: migrating ========================
-- add_column(:tags, :public_topic_count, :integer, {:default=>0, :null=>false})
   -> 0.0225s
-- execute("UPDATE tags t\nSET public_topic_count = x.topic_count\nFROM (\n  SELECT\n    COUNT(topics.id) AS topic_count,\n    tags.id AS tag_id\n  FROM tags\n  INNER JOIN topic_tags ON tags.id = topic_tags.tag_id\n  INNER JOIN topics ON topics.id = topic_tags.topic_id AND topics.deleted_at IS NULL AND topics.archetype != 'private_message'\n  INNER JOIN categories ON categories.id = topics.category_id AND NOT categories.read_restricted\n  GROUP BY tags.id\n) x\nWHERE x.tag_id = t.id\nAND x.topic_count <> t.public_topic_count;\n")

I, [2023-03-12T09:26:14.250781 #1]  INFO -- : Terminating async processes
I, [2023-03-12T09:26:14.251035 #1]  INFO -- : Sending INT to 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: 41
I, [2023-03-12T09:26:14.251281 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 102
2023-03-12 09:26:14.251 UTC [41] LOG:  received fast shutdown request
102:signal-handler (1678613174) Received SIGTERM scheduling shutdown...
2023-03-12 09:26:14.261 UTC [41] LOG:  aborting any active transactions
2023-03-12 09:26:14.265 UTC [41] LOG:  background worker "logical replication launcher" (PID 50) exited with exit code 1
2023-03-12 09:26:14.266 UTC [45] LOG:  shutting down
2023-03-12 09:26:14.298 UTC [41] LOG:  database system is shut down
102:M 12 Mar 2023 09:26:14.344 # User requested shutdown...
102:M 12 Mar 2023 09:26:14.344 * Saving the final RDB snapshot before exiting.
102:M 12 Mar 2023 09:26:14.431 * DB saved on disk
102:M 12 Mar 2023 09:26:14.431 # 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 1001 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.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.
21badb2e6d5735194b60728c0a2a53ff53b055e3929e3777a946f1bf3f10235e

====

An early help will be highly appreciable

Thanks in advance

Ash

If you can, launch a

./launcher restart app

If your forum is back online, delete the tag カタカナ
And rebuild again

This tag seems to be duplicated in your db, the easiest way is to delete this tag, rebuild an recreate it after

3 Likes

I had another site in the past couple of weeks that had a number of duplicate tags. I rebuilt the index repeatedly until I finally renamed all of the duplicate tags so that the index rebuild completed.

I wonder if there is another bug in discourse or postgres that’s allowing that to happen.

Thanks Steven

I am not that lucky though

I can not start or restart the app any more :frowning:

./launcher restart app

x86_64 arch detected.

  • /usr/bin/docker stop -t 30 app

app

starting up existing container

  • /usr/bin/docker start app

Error response from daemon: driver failed programming external connectivity on endpoint app (686beeee0906be83d16d18d5da088174e4c0c9e5c36d5251accfcd8f049cc761): Error starting userland proxy: listen tcp 0.0.0.0:5432: bind: address already in use

Error: failed to start containers: app

Is there any other way that I can delete the tag in database? I have pgadmin but I am not sure if I can connect it to discourse db when the app is not running

Looks like you have another postgres running?

But usually you’d not have postgres with an open port but maybe you did that to be able to pgadmin?

Hi Jay

That helped. I found the running Postgres PID and killed it

I was then able to start the app normally

Post this I entered into Postgres console and fixed the duplicate tag names. There were two

Rebuilt the app and everything went just fine. My instance of discourse is now up and running with latest Discourse version

Thank you so much Jay & Steven. You both came in like a saviour :slight_smile:

Cheers!

Ash

2 Likes