フォーラムがダウンし、再構築中にdb:migrateエラーが発生しました

残念ながら、問題が再発しました。アップグレード後、./launcher start app でサイトを起動することはできますが、半分しか動作していないようです。ユーザーはユーザー名とパスワードでのログインができず、他のログイン方法でのみログインできます。また、ユーザーのプロフィールカードを表示しようとしても、ポップアップ表示されません。誰かがユーザーのページや自分のプロフィールページを開こうとすると、タイトルが「Oops - Error 500」の以下のエラーメッセージが表示されます。

Oops

このディスカッションフォーラムを動かしているソフトウェアで予期しない問題が発生しました。ご不便をおかけして申し訳ありません。

エラーに関する詳細情報はログに記録され、自動通知が生成されました。確認いたします。

これ以上の対応は必要ありません。ただし、エラー状態が継続する場合は、エラーを再現する手順など、追加の詳細をサイトのフィードバックカテゴリに投稿してください。

今回は Web インターフェースからアップグレードも試みました。他のいくつかのもの(Docker Manager や公式プラグインなど)のアップグレードには成功し、管理者ログでアップグレードの結果を確認することもできました。
しかし、Discourse インスタンスのアップグレードを試みると、依然として失敗し、ログは以下のようになりました:

********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
Cycling Unicorn, to free up memory
Restarting unicorn pid: 52
Waiting for Unicorn to reload.
Waiting for Unicorn to reload..
Waiting for Unicorn to reload...
Waiting for Unicorn to reload....
Waiting for Unicorn to reload.....
Waiting for Unicorn to reload......
Waiting for Unicorn to reload.......
Waiting for Unicorn to reload........
Waiting for Unicorn to reload.........
Waiting for Unicorn to reload..........
Waiting for Unicorn to reload...........
Waiting for Unicorn to reload............
Waiting for Unicorn to reload.............
Waiting for Unicorn to reload..............
Waiting for Unicorn to reload...............
Stopping 3 Unicorn worker(s), to free up memory
Stopping job queue to reclaim memory, master pid is 22756
$ cd /var/www/discourse && git fetch --tags --force && git reset --hard HEAD@{upstream}
From https://github.com/discourse/discourse
 * [new tag]           v1.1.0.beta6b  -> v1.1.0.beta6b
 * [new tag]           v1.1.0.beta7   -> v1.1.0.beta7
 * [new tag]           v1.1.0.beta8   -> v1.1.0.beta8
 * [new tag]           v1.1.1         -> v1.1.1
 * [new tag]           v1.1.2         -> v1.1.2
 * [new tag]           v1.1.3         -> v1.1.3
 * [new tag]           v1.2.0         -> v1.2.0
 * [new tag]           v1.2.0.beta1   -> v1.2.0.beta1
 * [new tag]           v1.2.0.beta2   -> v1.2.0.beta2
 * [new tag]           v1.2.0.beta3   -> v1.2.0.beta3
 * [new tag]           v1.2.0.beta4   -> v1.2.0.beta4
 * [new tag]           v1.2.0.beta5   -> v1.2.0.beta5
 * [new tag]           v1.2.0.beta6   -> v1.2.0.beta6
 * [new tag]           v1.2.0.beta7   -> v1.2.0.beta7
 * [new tag]           v1.2.0.beta8   -> v1.2.0.beta8
 * [new tag]           v1.2.0.beta9   -> v1.2.0.beta9
 * [new tag]           v1.2.1         -> v1.2.1
 * [new tag]           v1.2.2         -> v1.2.2
 * [new tag]           v1.2.3         -> v1.2.3
 * [new tag]           v1.2.4         -> v1.2.4
 * [new tag]           v1.3.0         -> v1.3.0
 * [new tag]           v1.3.0.beta1   -> v1.3.0.beta1
 * [new tag]           v1.3.0.beta10  -> v1.3.0.beta10
 * [new tag]           v1.3.0.beta11  -> v1.3.0.beta11
 * [new tag]           v1.3.0.beta2   -> v1.3.0.beta2
 * [new tag]           v1.3.0.beta3   -> v1.3.0.beta3
 * [new tag]           v1.3.0.beta4   -> v1.3.0.beta4
 * [new tag]           v1.3.0.beta5   -> v1.3.0.beta5
 * [new tag]           v1.3.0.beta6   -> v1.3.0.beta6
 * [new tag]           v1.3.0.beta7   -> v1.3.0.beta7
 * [new tag]           v1.3.0.beta8   -> v1.3.0.beta8
 * [new tag]           v1.3.0.beta9   -> v1.3.0.beta9
 * [new tag]           v1.3.1         -> v1.3.1
 * [new tag]           v1.3.2         -> v1.3.2
 * [new tag]           v1.3.3         -> v1.3.3
 * [new tag]           v1.3.4         -> v1.3.4
 * [new tag]           v1.3.5         -> v1.3.5
 * [new tag]           v1.4.0         -> v1.4.0
 * [new tag]           v1.4.0.beta1   -> v1.4.0.beta1
 * [new tag]           v1.4.0.beta10  -> v1.4.0.beta10
 * [new tag]           v1.4.0.beta11  -> v1.4.0.beta11
 * [new tag]           v1.4.0.beta12  -> v1.4.0.beta12
 * [new tag]           v1.4.0.beta2   -> v1.4.0.beta2
 * [new tag]           v1.4.0.beta3   -> v1.4.0.beta3
 * [new tag]           v1.4.0.beta4   -> v1.4.0.beta4
 * [new tag]           v1.4.0.beta5   -> v1.4.0.beta5
 * [new tag]           v1.4.0.beta6   -> v1.4.0.beta6
 * [new tag]           v1.4.0.beta7   -> v1.4.0.beta7
 * [new tag]           v1.4.0.beta8   -> v1.4.0.beta8
 * [new tag]           v1.4.0.beta9   -> v1.4.0.beta9
 * [new tag]           v1.4.1         -> v1.4.1
 * [new tag]           v1.4.2         -> v1.4.2
 * [new tag]           v1.4.3         -> v1.4.3
 * [new tag]           v1.4.4         -> v1.4.4
 * [new tag]           v1.4.5         -> v1.4.5
 * [new tag]           v1.4.6         -> v1.4.6
 * [new tag]           v1.4.7         -> v1.4.7
 * [new tag]           v1.5.0         -> v1.5.0
 * [new tag]           v1.5.0.beta1   -> v1.5.0.beta1
 * [new tag]           v1.5.0.beta10  -> v1.5.0.beta10
 * [new tag]           v1.5.0.beta11  -> v1.5.0.beta11
 * [new tag]           v1.5.0.beta12  -> v1.5.0.beta12
 * [new tag]           v1.5.0.beta13  -> v1.5.0.beta13
 * [new tag]           v1.5.0.beta13b -> v1.5.0.beta13b
 * [new tag]           v1.5.0.beta14  -> v1.5.0.beta14
 * [new tag]           v1.5.0.beta2   -> v1.5.0.beta2
 * [new tag]           v1.5.0.beta3   -> v1.5.0.beta3
 * [new tag]           v1.5.0.beta4   -> v1.5.0.beta4
 * [new tag]           v1.5.0.beta5   -> v1.5.0.beta5
 * [new tag]           v1.5.0.beta6   -> v1.5.0.beta6
 * [new tag]           v1.5.0.beta7   -> v1.5.0.beta7
 * [new tag]           v1.5.0.beta8   -> v1.5.0.beta8
 * [new tag]           v1.5.0.beta9   -> v1.5.0.beta9
 * [new tag]           v1.5.1         -> v1.5.1
 * [new tag]           v1.5.17        -> v1.5.17
 * [new tag]           v1.5.2         -> v1.5.2
 * [new tag]           v1.5.22        -> v1.5.22
 * [new tag]           v1.5.3         -> v1.5.3
 * [new tag]           v1.5.4         -> v1.5.4
 * [new tag]           v1.6.0         -> v1.6.0
 * [new tag]           v1.6.0.beta1   -> v1.6.0.beta1
 * [new tag]           v1.6.0.beta10  -> v1.6.0.beta10
 * [new tag]           v1.6.0.beta11  -> v1.6.0.beta11
 * [new tag]           v1.6.0.beta12  -> v1.6.0.beta12
 * [new tag]           v1.6.0.beta2   -> v1.6.0.beta2
 * [new tag]           v1.6.0.beta3   -> v1.6.0.beta3
 * [new tag]           v1.6.0.beta4   -> v1.6.0.beta4
 * [new tag]           v1.6.0.beta5   -> v1.6.0.beta5
 * [new tag]           v1.6.0.beta6   -> v1.6.0.beta6
 * [new tag]           v1.6.0.beta7   -> v1.6.0.beta7
 * [new tag]           v1.6.0.beta8   -> v1.6.0.beta8
 * [new tag]           v1.6.0.beta9   -> v1.6.0.beta9
 * [new tag]           v1.6.1         -> v1.6.1
 * [new tag]           v1.6.10        -> v1.6.10
 * [new tag]           v1.6.2         -> v1.6.2
 * [new tag]           v1.6.3         -> v1.6.3
 * [new tag]           v1.6.4         -> v1.6.4
 * [new tag]           v1.6.5         -> v1.6.5
 * [new tag]           v1.6.6         -> v1.6.6
 * [new tag]           v1.6.7         -> v1.6.7
 * [new tag]           v2.2.0.beta1   -> v2.2.0.beta1
 * [new tag]           v2.2.0.beta10  -> v2.2.0.beta10
 * [new tag]           v2.2.0.beta2   -> v2.2.0.beta2
 * [new tag]           v2.2.0.beta3   -> v2.2.0.beta3
 * [new tag]           v2.2.0.beta4   -> v2.2.0.beta4
 * [new tag]           v2.2.0.beta5   -> v2.2.0.beta5
 * [new tag]           v2.2.0.beta6   -> v2.2.0.beta6
 * [new tag]           v2.2.0.beta7   -> v2.2.0.beta7
 * [new tag]           v2.2.0.beta8   -> v2.2.0.beta8
 * [new tag]           v2.2.0.beta9   -> v2.2.0.beta9
 * [new tag]           v2.2.1         -> v2.2.1
 * [new tag]           v2.2.10        -> v2.2.10
 * [new tag]           v2.2.11        -> v2.2.11
 * [new tag]           v2.2.15        -> v2.2.15
 * [new tag]           v2.2.2         -> v2.2.2
 * [new tag]           v2.2.3         -> v2.2.3
 * [new tag]           v2.2.4         -> v2.2.4
 * [new tag]           v2.2.5         -> v2.2.5
 * [new tag]           v2.2.6         -> v2.2.6
 * [new tag]           v2.2.7         -> v2.2.7
 * [new tag]           v2.2.8         -> v2.2.8
 * [new tag]           v2.3.0         -> v2.3.0
 * [new tag]           v2.3.0.beta1   -> v2.3.0.beta1
 * [new tag]           v2.3.0.beta10  -> v2.3.0.beta10
 * [new tag]           v2.3.0.beta11  -> v2.3.0.beta11
 * [new tag]           v2.3.0.beta2   -> v2.3.0.beta2
 * [new tag]           v2.3.0.beta3   -> v2.3.0.beta3
 * [new tag]           v2.3.0.beta4   -> v2.3.0.beta4
 * [new tag]           v2.3.0.beta5   -> v2.3.0.beta5
 * [new tag]           v2.3.0.beta6   -> v2.3.0.beta6
 * [new tag]           v2.3.0.beta7   -> v2.3.0.beta7
 * [new tag]           v2.3.0.beta8   -> v2.3.0.beta8
 * [new tag]           v2.3.0.beta9   -> v2.3.0.beta9
 * [new tag]           v2.3.1         -> v2.3.1
 * [new tag]           v2.3.10        -> v2.3.10
 * [new tag]           v2.3.2         -> v2.3.2
 * [new tag]           v2.3.3         -> v2.3.3
 * [new tag]           v2.3.4         -> v2.3.4
 * [new tag]           v2.3.5         -> v2.3.5
 * [new tag]           v2.3.6         -> v2.3.6
 * [new tag]           v2.3.7         -> v2.3.7
 * [new tag]           v2.3.8         -> v2.3.8
 * [new tag]           v2.3.9         -> v2.3.9
 * [new tag]           v2.4.0         -> v2.4.0
 * [new tag]           v2.4.0.beta1   -> v2.4.0.beta1
 * [new tag]           v2.4.0.beta10  -> v2.4.0.beta10
 * [new tag]           v2.4.0.beta11  -> v2.4.0.beta11
 * [new tag]           v2.4.0.beta2   -> v2.4.0.beta2
 * [new tag]           v2.4.0.beta3   -> v2.4.0.beta3
 * [new tag]           v2.4.0.beta4   -> v2.4.0.beta4
 * [new tag]           v2.4.0.beta5   -> v2.4.0.beta5
 * [new tag]           v2.4.0.beta6   -> v2.4.0.beta6
 * [new tag]           v2.4.0.beta7   -> v2.4.0.beta7
 * [new tag]           v2.4.0.beta8   -> v2.4.0.beta8
 * [new tag]           v2.4.0.beta9   -> v2.4.0.beta9
 * [new tag]           v2.4.1         -> v2.4.1
 * [new tag]           v2.4.2         -> v2.4.2
 * [new tag]           v2.4.3         -> v2.4.3
 * [new tag]           v2.4.4         -> v2.4.4
 * [new tag]           v2.4.5         -> v2.4.5
 * [new tag]           v2.5.0         -> v2.5.0
 * [new tag]           v2.5.0.beta1   -> v2.5.0.beta1
 * [new tag]           v2.5.0.beta2   -> v2.5.0.beta2
 * [new tag]           v2.5.0.beta3   -> v2.5.0.beta3
 * [new tag]           v2.5.0.beta4   -> v2.5.0.beta4
 * [new tag]           v2.5.0.beta5   -> v2.5.0.beta5
 * [new tag]           v2.5.0.beta6   -> v2.5.0.beta6
 * [new tag]           v2.5.0.beta7   -> v2.5.0.beta7
 * [new tag]           v2.5.1         -> v2.5.1
 * [new tag]           v2.5.2         -> v2.5.2
 * [new tag]           v2.5.3         -> v2.5.3
 * [new tag]           v2.5.4         -> v2.5.4
 * [new tag]           v2.5.5         -> v2.5.5
 * [new tag]           v2.5.6         -> v2.5.6
 * [new tag]           v2.6.0         -> v2.6.0
 * [new tag]           v2.6.0.beta1   -> v2.6.0.beta1
 * [new tag]           v2.6.0.beta2   -> v2.6.0.beta2
 * [new tag]           v2.6.0.beta3   -> v2.6.0.beta3
 * [new tag]           v2.6.0.beta4   -> v2.6.0.beta4
 * [new tag]           v2.6.0.beta5   -> v2.6.0.beta5
 * [new tag]           v2.6.0.beta6   -> v2.6.0.beta6
 * [new tag]           v2.6.1         -> v2.6.1
 * [new tag]           v2.6.2         -> v2.6.2
 * [new tag]           v2.6.3         -> v2.6.3
 * [new tag]           v2.6.4         -> v2.6.4
 * [new tag]           v2.6.5         -> v2.6.5
 * [new tag]           v2.6.6         -> v2.6.6
 * [new tag]           v2.6.7         -> v2.6.7
 * [new tag]           v2.7.0         -> v2.7.0
 * [new tag]           v2.7.0.beta1   -> v2.7.0.beta1
 * [new tag]           v2.7.0.beta2   -> v2.7.0.beta2
 * [new tag]           v2.7.0.beta3   -> v2.7.0.beta3
 * [new tag]           v2.7.0.beta4   -> v2.7.0.beta4
 * [new tag]           v2.7.0.beta5   -> v2.7.0.beta5
 * [new tag]           v2.7.0.beta6   -> v2.7.0.beta6
 * [new tag]           v2.7.0.beta7   -> v2.7.0.beta7
 * [new tag]           v2.7.1         -> v2.7.1
 * [new tag]           v2.7.2         -> v2.7.2
 * [new tag]           v2.7.3         -> v2.7.3
 * [new tag]           v2.7.4         -> v2.7.4
HEAD is now at ff6114d83f FIX: Do not add mailing list headers to group SMTP emails (#13431)
$ bundle install --deployment --jobs 4 --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
Warning: the running version of Bundler (2.2.15) is older than the version that created the lockfile (2.2.19). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.19`.
Fetching gem metadata from https://rubygems.org/............
Using rake 13.0.3
Fetching concurrent-ruby 1.1.9
Using minitest 5.14.4
Using zeitwerk 2.4.2
Using builder 3.2.4
Using erubi 1.10.0
Using racc 1.5.2
Using crass 1.0.6
Using rack 2.2.3
Using mini_mime 1.1.0
Using public_suffix 4.0.6
Using aws-eventstream 1.1.1
Using aws-partitions 1.432.0
Using jmespath 1.4.0
Using ember-source 2.18.2
Using msgpack 1.4.2
Using bundler 2.2.15
Using byebug 11.1.3
Using cbor 0.5.9.6
Using coderay 1.1.3
Using colored2 3.1.2
Using connection_pool 2.2.5
Using openssl 2.2.0
Using cppjieba_rb 0.3.3
Using diffy 3.4.0
Using method_source 1.0.0
Using chunky_png 1.4.0
Fetching execjs 2.8.1
Using thor 1.1.0
Using discourse-ember-source 3.12.2.3
Using discourse-fonts 0.0.8
Using regexp_parser 2.1.1
Using email_reply_trimmer 0.1.13
Using exifr 1.3.9
Fetching faraday-em_http 1.0.0
Fetching excon 0.82.0
Installing faraday-em_http 1.0.0
Installing execjs 2.8.1
Fetching faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Installing excon 0.82.0
Installing faraday-em_synchrony 1.0.0
Installing concurrent-ruby 1.1.9
Installing faraday-excon 1.1.0
Using faraday-net_http 1.0.1
Fetching faraday-net_http_persistent 1.1.0
Using multipart-post 2.1.1
Using ruby2_keywords 0.0.4
Using fast_blank 1.0.0
Using fast_xs 0.8.0
Fetching fastimage 2.2.4
Fetching ffi 1.15.3
Installing faraday-net_http_persistent 1.1.0
Using fspath 3.1.2
Using gc_tracer 1.5.1
Using guess_html_encoding 0.0.11
Using hana 1.3.7
Using hashie 4.1.0
Using highline 2.0.3
Installing fastimage 2.2.4
Using hkdf 0.3.0
Using htmlentities 4.3.4
Using http_accept_language 2.1.1
Fetching image_size 2.1.0
Using in_threads 1.5.4
Using progress 3.6.0
Using json 2.5.1
Using uri_template 0.7.0
Fetching jwt 2.2.3
Fetching kgio 2.11.4
Installing jwt 2.2.3
Installing image_size 2.1.0
Installing kgio 2.11.4 with native extensions
Installing ffi 1.15.3 with native extensions
Fetching libv8-node 15.14.0.1 (x86_64-linux)
Using logstash-event 1.2.02
Using logster 2.9.6
Using lru_redux 1.1.0
Using lz4-ruby 0.3.3
Using maxminddb 0.1.22
Using memory_profiler 1.0.0
Fetching redis 4.3.1
Installing redis 4.3.1
Using mini_sql 1.1.3
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Using nio4r 2.5.7
Using oauth 0.5.6
Fetching oj 3.11.6
Installing oj 3.11.6 with native extensions
Installing libv8-node 15.14.0.1 (x86_64-linux)
Using optimist 3.0.1
Using pg 1.2.3
Using r2 0.2.7
Fetching raindrops 0.19.2
Installing raindrops 0.19.2 with native extensions
Using rchardet 1.8.0
Using rubyzip 2.3.0
Using tilt 2.0.10
Using sshkey 2.0.0
Fetching stackprof 0.2.17
Installing stackprof 0.2.17 with native extensions
Using unf_ext 0.0.7.7
Using xorcist 1.1.2
Fetching nokogiri 1.11.7 (x86_64-linux)
Installing nokogiri 1.11.7 (x86_64-linux)
Using rack-test 1.1.0
Using mail 2.8.0.edge from https://github.com/discourse/mail.git (at master@5b700fc)
Using addressable 2.7.0
Using aws-sigv4 1.2.3
Fetching bootsnap 1.7.5
Installing bootsnap 1.7.5 with native extensions
Using openssl-signature_algorithm 1.1.1
Using ember-data-source 3.0.2
Using request_store 1.5.0
Fetching message_bus 3.3.6
Fetching rack-mini-profiler 2.3.2
Installing message_bus 3.3.6
Using rack-protection 2.1.0
Using pry 0.13.1
Using ecma-re-validator 0.3.0
Using barber 0.12.2
Using uglifier 4.2.0
Fetching faraday 1.4.2
Installing rack-mini-profiler 2.3.2
Installing faraday 1.4.2
Using omniauth 1.9.1
Using i18n 1.8.10
Fetching tzinfo 2.0.4
Using sprockets 3.7.2
Fetching image_optim 0.30.0
Installing tzinfo 2.0.4
Using webpush 1.1.0
Using logstash-logger 0.26.1
Using sidekiq 6.2.1
Fetching puma 5.3.2
Installing image_optim 0.30.0
Using redis-namespace 1.8.1
Using mini_racer 0.4.0
Fetching rqrcode 2.0.0
Installing puma 5.3.2 with native extensions
Installing rqrcode 2.0.0
Using unf 0.1.4
Fetching loofah 2.10.0
Installing loofah 2.10.0
Using nokogumbo 2.0.5
Using ruby-readability 0.7.0
Using aws-sdk-core 3.112.1
Using css_parser 1.9.0
Using cose 1.2.0
Using json_schemer 0.2.18
Using pry-byebug 3.9.0
Using pry-rails 0.3.9
Using omniauth-oauth 1.2.0
Using oauth2 1.4.7
Using ember-handlebars-template 0.8.0
Fetching activesupport 6.1.3.2
Installing activesupport 6.1.3.2
Using mini_scheduler 0.13.0
Using rails-html-sanitizer 1.3.0
Using sanitize 5.2.3
Using aws-sdk-kms 1.42.0
Using aws-sdk-sns 1.38.0
Using omniauth-oauth2 1.7.1
Using omniauth-twitter 1.4.0
Using rails-dom-testing 2.0.3
Using globalid 0.4.2
Fetching activemodel 6.1.3.2
Installing activemodel 6.1.3.2
Using aws-sdk-s3 1.90.0
Using omniauth-facebook 8.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Fetching actionview 6.1.3.2
Installing actionview 6.1.3.2
Fetching activejob 6.1.3.2
Using active_model_serializers 0.8.4
Fetching activerecord 6.1.3.2
Installing activejob 6.1.3.2
Fetching actionpack 6.1.3.2
Installing activerecord 6.1.3.2
Installing actionpack 6.1.3.2
Using actionview_precompiler 0.2.3
Using unicorn 6.0.0
Fetching actionmailer 6.1.3.2
Installing actionmailer 6.1.3.2
Fetching railties 6.1.3.2
Using sprockets-rails 3.2.2
Using seed-fu 2.3.9
Installing railties 6.1.3.2
Using jquery-rails 4.4.0
Using lograge 0.11.2
Fetching rails_failover 0.7.3
Fetching rails_multisite 3.0.0
Installing rails_multisite 3.0.0
Installing rails_failover 0.7.3
Using discourse-ember-rails 0.18.6
Using mini_suffix 0.3.2
Using rbtrace 0.4.14
Using sassc 2.0.1
Using sassc-rails 2.1.2
Bundle complete! 126 Gemfile dependencies, 169 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`
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
$ bundle exec rake plugin:pull_compatible_all
discourse-tooltips is already at latest compatible version
discourse-characters-required is already at latest compatible version
discourse-user-notes is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-push-notifications is already at latest compatible version
docker_manager is already at latest compatible version
discourse-checklist is already at latest compatible version
discourse-whos-online is already at latest compatible version
discourse-telegram-notifications is already at latest compatible version
discourse-yearly-review is already at latest compatible version
discourse-plugin-linkedin-auth is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-bcc is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-canned-replies is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-assign is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-footnote is already at latest compatible version
$ SKIP_POST_DEPLOYMENT_MIGRATIONS=1 bundle exec rake multisite:migrate

--------------------------------------------------------------------------------
1 migrations failed!

Failed to migrate default
#<StandardError: An error has occurred, this and all later migrations canceled:

ERROR:  unsupported Unicode escape sequence
DETAIL:  \u0000 cannot be converted to text.
CONTEXT:  JSON data, line 1: {"raw":...
>
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:209:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:64:in `query_single'
/var/www/discourse/db/migrate/20210426193009_move_approved_queued_posts_topic_and_post_data.rb:5:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:9:in `block in exec_migration'
/usr/local/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/usr/local/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:850:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:849:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1037:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:310:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:308:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1086:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1061:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/tasks/database_tasks.rb:237:in `migrate'
/var/www/discourse/lib/tasks/db.rake:184:in `block (2 levels) in <main>'
/var/www/discourse/lib/tasks/db.rake:148:in `block (3 levels) in execute_concurently'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rails_multisite-3.0.0/lib/rails_multisite/connection_management.rb:80:in `with_connection'
/var/www/discourse/lib/tasks/db.rake:146:in `block (2 levels) in execute_concurently'

Multisite migrator is running using 1 threads

Migrating default
== 20210426193009 MoveApprovedQueuedPostsTopicAndPostData: migrating ==========
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:196:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:100:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/command.rb:46:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
bin/rails:17:in `<main>'
Spinning up 3 Unicorn worker(s) that were stopped initially

何かアイデアはありますか?