Upgrade error for v3.2.0.beta3

Hi everyone,

I’ve got error during upgrade from v3.2.0.beta2-dev to v3.2.0.beta3 (please see log below). Nginx wrote: " 502 Bad Gateway".

Docker Update has done succesfully. I launch the upgrade processing through Discourse user interface. No problems with the update previously. I’ve two-container installed on AWS. Please pitch me any thought about. Thanks.

Upgrade log
Updating files:  14% (593/4196)
Updating files:  15% (630/4196)
Updating files:  16% (672/4196)
Updating files:  17% (714/4196)
Updating files:  18% (756/4196)
Updating files:  19% (798/4196)
Updating files:  20% (840/4196)
Updating files:  21% (882/4196)
Updating files:  22% (924/4196)
Updating files:  23% (966/4196)
Updating files:  24% (1008/4196)
Updating files:  25% (1049/4196)
Updating files:  26% (1091/4196)
Updating files:  27% (1133/4196)
Updating files:  28% (1175/4196)
Updating files:  29% (1217/4196)
Updating files:  30% (1259/4196)
Updating files:  31% (1301/4196)
Updating files:  32% (1343/4196)
Updating files:  33% (1385/4196)
Updating files:  34% (1427/4196)
Updating files:  35% (1469/4196)
Updating files:  36% (1511/4196)
Updating files:  37% (1553/4196)
Updating files:  38% (1595/4196)
Updating files:  39% (1637/4196)
Updating files:  40% (1679/4196)
Updating files:  41% (1721/4196)
Updating files:  42% (1763/4196)
Updating files:  43% (1805/4196)
Updating files:  44% (1847/4196)
Updating files:  45% (1889/4196)
Updating files:  46% (1931/4196)
Updating files:  47% (1973/4196)
Updating files:  48% (2015/4196)
Updating files:  49% (2057/4196)
Updating files:  50% (2098/4196)
Updating files:  51% (2140/4196)
Updating files:  52% (2182/4196)
Updating files:  53% (2224/4196)
Updating files:  54% (2266/4196)
Updating files:  55% (2308/4196)
Updating files:  56% (2350/4196)
Updating files:  57% (2392/4196)
Updating files:  58% (2434/4196)
Updating files:  59% (2476/4196)
Updating files:  60% (2518/4196)
Updating files:  61% (2560/4196)
Updating files:  62% (2602/4196)
Updating files:  63% (2644/4196)
Updating files:  64% (2686/4196)
Updating files:  65% (2728/4196)
Updating files:  66% (2770/4196)
Updating files:  66% (2781/4196)
Updating files:  67% (2812/4196)
Updating files:  68% (2854/4196)
Updating files:  69% (2896/4196)
Updating files:  70% (2938/4196)
Updating files:  71% (2980/4196)
Updating files:  72% (3022/4196)
Updating files:  73% (3064/4196)
Updating files:  74% (3106/4196)
Updating files:  75% (3147/4196)
Updating files:  76% (3189/4196)
Updating files:  77% (3231/4196)
Updating files:  78% (3273/4196)
Updating files:  79% (3315/4196)
Updating files:  80% (3357/4196)
Updating files:  81% (3399/4196)
Updating files:  82% (3441/4196)
Updating files:  83% (3483/4196)
Updating files:  84% (3525/4196)
Updating files:  85% (3567/4196)
Updating files:  86% (3609/4196)
Updating files:  87% (3651/4196)
Updating files:  88% (3693/4196)
Updating files:  89% (3735/4196)
Updating files:  90% (3777/4196)
Updating files:  91% (3819/4196)
Updating files:  92% (3861/4196)
Updating files:  93% (3903/4196)
Updating files:  94% (3945/4196)
Updating files:  95% (3987/4196)
Updating files:  96% (4029/4196)
Updating files:  96% (4055/4196)
Updating files:  97% (4071/4196)
Updating files:  98% (4113/4196)
Updating files:  99% (4155/4196)
Updating files: 100% (4196/4196)
Updating files: 100% (4196/4196), done.
HEAD is now at cdbe0f74e FIX: Load highlightjs bundle via CDN (#24335)
$ bundle install --retry 3 --jobs 4
Fetching gem metadata from https://rubygems.org/.........
Fetching rake 13.1.0
Installing rake 13.1.0
Using concurrent-ruby 1.2.2
Using minitest 5.20.0
Using builder 3.2.4
Using erubi 1.12.0
Using crass 1.0.6
Using rack 2.2.8
Fetching racc 1.7.3
Fetching date 3.3.4
Using mini_mime 1.1.5
Fetching timeout 0.4.1
Using public_suffix 5.0.3
Using aws-eventstream 1.2.0
Using aws-partitions 1.583.0
Using jmespath 1.6.2
Fetching base64 0.2.0
Installing timeout 0.4.1
Installing base64 0.2.0
Installing racc 1.7.3 with native extensions
Installing date 3.3.4 with native extensions
Using bundler 2.4.13
Using byebug 11.1.3
Using cbor 0.5.9.6
Fetching cgi 0.4.0
Using msgpack 1.7.2
Using chunky_png 1.4.0
Using coderay 1.1.3
Using colored2 4.0.0
Using connection_pool 2.4.1
Using openssl 3.2.0
Using cppjieba_rb 0.4.2
Fetching google-protobuf 3.25.0 (x86_64-linux)
Installing cgi 0.4.0 with native extensions
Installing google-protobuf 3.25.0 (x86_64-linux)
Using diffy 3.4.2
Using digest 3.1.1
Using discourse-fonts 0.0.9
Using email_reply_trimmer 0.1.13
Fetching excon 0.104.0
Installing excon 0.104.0
Using execjs 2.9.1
Using exifr 1.4.0
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using fast_blank 1.0.1
Using fast_xs 0.8.0
Using fastimage 2.2.7
Fetching ffi 1.16.3
Installing ffi 1.16.3 with native extensions
Using gc_tracer 1.5.1
Using guess_html_encoding 0.0.11
Using hana 1.3.7
Using hashie 5.0.0
Using fspath 3.1.2
Using highline 2.1.0
Using hkdf 1.0.0
Using http_accept_language 2.1.1
Using image_size 3.3.0
Using htmlentities 4.3.4
Using in_threads 1.6.0
Using json 2.6.3
Fetching regexp_parser 2.8.2
Using progress 3.6.0
Using unf_ext 0.0.8.2
Using jwt 2.7.1
Using kgio 2.11.4
Using libv8-node 18.16.0.0 (x86_64-linux)
Using method_source 1.0.0
Fetching thor 1.3.0
Installing thor 1.3.0
Installing regexp_parser 2.8.2
Using zeitwerk 2.6.12
Using logstash-event 1.2.02
Fetching logster 2.13.1
Using lru_redux 1.1.0
Using lz4-ruby 0.3.3
Using maxminddb 0.1.22
Using memory_profiler 1.0.1
Using redis 4.8.1
Using mini_sql 1.5.0
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Fetching uri 0.13.0
Installing uri 0.13.0
Installing logster 2.13.1
Using nio4r 2.5.9
Using version_gem 1.1.3
Using oj 3.16.1
Using optimist 3.1.0
Fetching pg 1.5.4
Installing pg 1.5.4 with native extensions
Using raindrops 0.20.1
Using rchardet 1.8.0
Using rexml 3.2.6
Using rinku 2.0.6
Using rotp 6.3.0
Using rqrcode_core 1.2.0
Using rubyzip 2.3.2
Using sshkey 3.0.0
Using stackprof 0.2.25
Using i18n 1.14.1
Using tzinfo 2.0.6
Using rack-test 2.1.0
Using addressable 2.8.5
Using aws-sigv4 1.5.0
Using request_store 1.5.1
Using message_bus 4.3.8
Using rack-mini-profiler 3.1.1
Using rack-protection 3.1.0
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching bootsnap 1.17.0
Installing bootsnap 1.17.0 with native extensions
Using openssl-signature_algorithm 1.3.0
Using sass-embedded 1.66.1 (x86_64-linux-gnu)
Using uglifier 4.2.0
Using faraday 2.7.11
Using nokogiri 1.15.4 (x86_64-linux)
Using omniauth 1.9.2
Using image_optim 0.31.3
Using unf 0.1.4
Using web-push 3.0.0
Using mini_racer 0.8.0
Using pry 0.14.2
Using logstash-logger 0.26.1
Fetching sidekiq 6.5.12
Installing sidekiq 6.5.12
Using redis-namespace 1.11.0
Fetching net-http 0.4.0
Installing net-http 0.4.0
Using puma 6.4.0
Using oauth-tty 1.0.5
Using snaky_hash 2.0.1
Using unicorn 6.1.0
Using rss 0.3.0
Using rqrcode 2.2.0
Using activesupport 7.0.7
Using tzinfo-data 1.2023.3
Using aws-sdk-core 3.130.2
Using css_parser 1.16.0
Using net-pop 0.1.2
Using net-smtp 0.4.0
Using cose 1.3.0
Fetching dartsass-ruby 3.0.2
Installing dartsass-ruby 3.0.2
Fetching loofah 2.21.4
Installing loofah 2.21.4
Using faraday-retry 2.2.0
Using simpleidn 0.2.1
Using oauth2 1.4.11
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Using rtlcss 0.2.1
Using ruby-readability 0.7.0
Using sanitize 6.1.0
Using mini_scheduler 0.16.0
Using oauth 1.1.0
Using rails-dom-testing 2.2.0
Using globalid 1.2.1
Using activemodel 7.0.7
Using aws-sdk-kms 1.56.0
Using aws-sdk-sns 1.53.0
Using rails-html-sanitizer 1.6.0
Using json_schemer 2.0.0
Using omniauth-oauth2 1.7.3
Using omniauth-oauth 1.2.0
Using activejob 7.0.7
Using actionview 7.0.7
Using active_model_serializers 0.8.4
Using activerecord 7.0.7
Using aws-sdk-s3 1.114.0
Using omniauth-facebook 9.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Using omniauth-twitter 1.4.0
Using actionpack 7.0.7
Using actionview_precompiler 0.3.0
Using discourse-seed-fu 2.3.12
Using railties 7.0.7
Using sprockets-rails 3.4.2
Fetching lograge 0.14.0
Installing lograge 0.14.0
Using rails_failover 2.0.1
Using rails_multisite 5.0.0
Using mini_suffix 0.3.3
Using rbtrace 0.4.14
Fetching net-imap 0.4.4
Installing net-imap 0.4.4
Using mail 2.8.1
Using actionmailer 7.0.7
Bundle complete! 135 Gemfile dependencies, 171 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
$ yarn install
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @glint/environment-ember-loose@1.1.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > @glint/environment-ember-template-imports@1.1.0" has unmet peer dependency "ember-template-imports@^3.0.0".
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] Resolving packages...
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
[2/4] Fetching packages...
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse > @ember/legacy-built-in-components@0.5.0" has incorrect peer dependency "ember-source@>= 4.8".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-83b5554f-ca68-4316-8a9e-be955280d701 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
[4/4] Building fresh packages...
$ ./run-patch-package
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@1.1.2 ✔
ember-source@3.28.12 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
virtual-dom@2.1.1 ✔
Done in 41.42s.
Done in 88.40s.
$ LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all
docker_manager is already at latest compatible version
$ SKIP_POST_DEPLOYMENT_MIGRATIONS=1 bundle exec rake multisite:migrate
Multisite migrator is running using 1 threads

Migrating default
Seeding default
*** Bundling assets. This will take a while *** 
$ bundle exec rake themes:update assets:precompile
Checking 'Discourse Kanban' for 'default'... up to date
Node.js heap_size_limit (487.0) is less than 1024MB. Setting --max-old-space-size=1024.
Node.js heap_size_limit (487.0) is less than 2048MB. Disabling Webpack parallelization with JOBS=0 to conserve memory.
yarn run v1.22.19
$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build
Building
Environment: development
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
building...
...[ConfigLoader]
...[Babel: @embroider/macros > applyPatches]
...[Babel: discourse-widget-hbs > applyPatches]
...[Babel: ember-source > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: truth-helpers > applyPatches]
...[Babel: ember-tracked-storage-polyfill > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: @ember/test-helpers > applyPatches]
...[Babel: @ember/test-waiters > applyPatches]
...[Babel: @embroider/util > applyPatches]
...[Babel: ember-destroyable-polyfill > applyPatches]
...[Babel: @glimmer/component > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-this-fallback > applyPatches]
...[Babel: ember-cached-decorator-polyfill > applyPatches]
...[Babel: ember-exam > applyPatches]
...[Babel: ember-functions-as-helper-polyfill > applyPatches]
...[Babel: ember-on-resize-modifier > applyPatches]
...[Babel: ember-router-service-refresh-polyfill > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]

You should try a command line rebuild.