В моем обновлении произошла ошибка
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Пожалуйста, помогите мне это исправить.ead to false
HEAD is now at df6d323b Version bump to v2.8.14 (#19755)
I, [2023-01-18T11:18:29.324667 #1] INFO – :
I, [2023-01-18T11:18:29.324810 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp
I, [2023-01-18T11:18:29.329146 #1] INFO – :
I, [2023-01-18T11:18:29.329240 #1] INFO – : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-01-18T11:18:29.331975 #1] INFO – :
I, [2023-01-18T11:18:29.332054 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-01-18T11:18:29.334617 #1] INFO – :
I, [2023-01-18T11:18:29.334694 #1] INFO – : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-01-18T11:18:29.337361 #1] INFO – :
I, [2023-01-18T11:18:29.337437 #1] INFO – : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-01-18T11:18:29.339653 #1] INFO – :
I, [2023-01-18T11:18:29.339743 #1] INFO – : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-01-18T11:18:29.342106 #1] INFO – :
I, [2023-01-18T11:18:29.342186 #1] INFO – : > cd /var/www/discourse && bash -c “touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log”
I, [2023-01-18T11:18:29.345650 #1] INFO – :
I, [2023-01-18T11:18:29.345730 #1] INFO – : > cd /var/www/discourse && bash -c “ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log”
I, [2023-01-18T11:18:29.349292 #1] INFO – :
I, [2023-01-18T11:18:29.349372 #1] INFO – : > cd /var/www/discourse && bash -c “mkdir -p /shared/{uploads,backups}”
I, [2023-01-18T11:18:29.352971 #1] INFO – :
I, [2023-01-18T11:18:29.353049 #1] INFO – : > cd /var/www/discourse && bash -c “ln -s /shared/{uploads,backups} /var/www/discourse/public”
I, [2023-01-18T11:18:29.358592 #1] INFO – :
I, [2023-01-18T11:18:29.358652 #1] INFO – : > cd /var/www/discourse && bash -c “mkdir -p /shared/tmp/{backups,restores}”
I, [2023-01-18T11:18:29.363552 #1] INFO – :
I, [2023-01-18T11:18:29.363646 #1] INFO – : > cd /var/www/discourse && bash -c “ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp”
I, [2023-01-18T11:18:29.366699 #1] INFO – :
I, [2023-01-18T11:18:29.366777 #1] INFO – : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-01-18T11:18:33.708398 #1] INFO – :
I, [2023-01-18T11:18:33.708756 #1] INFO – : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-01-18T11:18:33.715004 #1] INFO – :
I, [2023-01-18T11:18:33.715422 #1] INFO – : Замена # redis на sv start redis || exit 1 в /etc/service/unicorn/run
I, [2023-01-18T11:18:33.716174 #1] INFO – : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.719419 #1] INFO – :
I, [2023-01-18T11:18:33.719666 #1] INFO – : > rm /etc/nginx/sites-enabled/default
I, [2023-01-18T11:18:33.722278 #1] INFO – :
I, [2023-01-18T11:18:33.722514 #1] INFO – : > mkdir -p /var/nginx/cache
I, [2023-01-18T11:18:33.727597 #1] INFO – :
I, [2023-01-18T11:18:33.728065 #1] INFO – : Замена pid /run/nginx.pid; на daemon off; в /etc/nginx/nginx.conf
I, [2023-01-18T11:18:33.728726 #1] INFO – : Замена (?m-ix:upstream[^}]+}) на upstream discourse { server 127.0.0.1:3000; } в /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.729351 #1] INFO – : Замена (?-mix:server_name.+$) на server_name _ ; в /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.730009 #1] INFO – : Замена (?-mix:client_max_body_size.+$) на client_max_body_size $upload_size ; в /etc/nginx/conf.d/discourse.conf
I, [2023-01-18T11:18:33.730628 #1] INFO – : Замена (?-mix:worker_connections.+$) на worker_connections $nginx_worker_connections ; в /etc/nginx/nginx.conf
I, [2023-01-18T11:18:33.731145 #1] INFO – : > echo “done configuring web”
I, [2023-01-18T11:18:33.733596 #1] INFO – : done configuring web
I, [2023-01-18T11:18:33.734116 #1] INFO – : > cd /var/www/discourse && gem install bundler --conservative -v $(awk ‘/BUNDLED WITH/ { getline; gsub(/ /,“”); print $0 }’ Gemfile.lock)
I, [2023-01-18T11:18:34.406959 #1] INFO – : Successfully installed bundler-2.3.22
1 gem installed
I, [2023-01-18T11:18:34.407093 #1] INFO – : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} +
I, [2023-01-18T11:18:55.018256 #1] INFO – :
I, [2023-01-18T11:18:55.018583 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘yarn install --production --frozen-lockfile && yarn cache clean’
warning Resolution field “lodash@4.17.21” is incompatible with requested version “lodash@4.17.15”
warning " > @mixer/parallel-prettier@2.0.1" has unmet peer dependency “prettier@^2.0.0”.
I, [2023-01-18T11:19:28.037591 #1] INFO – : yarn install v1.22.19
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
[5/5] Building fresh packages…
$ yarn --cwd app/assets/javascripts/discourse
yarn install v1.22.19
[1/4] Resolving packages…
[2/4] Fetching packages…
[3/4] Linking dependencies…
[4/4] Building fresh packages…
success Saved lockfile.
Done in 17.10s.
Done in 30.36s.
yarn cache v1.22.19
success Cleared cache.
Done in 2.33s.
При обновлении произошла ошибка
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Пожалуйста, помогите мне это исправить..
1: msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/msgpack-1.4.2.gemspec
Using r2 0.2.7
1: r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/r2-0.2.7.gemspec
Using raindrops 0.20.0
1: raindrops (0.20.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/raindrops-0.20.0.gemspec
Using rchardet 1.8.0
1: rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rchardet-1.8.0.gemspec
Using rexml 3.2.5
1: rexml (3.2.5) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rexml-3.2.5.gemspec
Using rinku 2.0.6
1: rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rinku-2.0.6.gemspec
Fetching rotp 6.2.0
Installing rotp 6.2.0
1: rotp (6.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rotp-6.2.0.gemspec
Using rqrcode_core 1.2.0
1: rqrcode_core (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode_core-1.2.0.gemspec
Fetching rtlit 0.0.5
Installing rtlit 0.0.5
1: rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rtlit-0.0.5.gemspec
Using rubyzip 2.3.2
1: rubyzip (2.3.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rubyzip-2.3.2.gemspec
Fetching tilt 2.0.10
Installing tilt 2.0.10
1: tilt (2.0.10) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/tilt-2.0.10.gemspec
Using sshkey 2.0.0
1: sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sshkey-2.0.0.gemspec
Fetching stackprof 0.2.17
0: cppjieba_rb (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cppjieba_rb-0.3.3.gemspec
Fetching unf_ext 0.0.8
Installing stackprof 0.2.17 with native extensions
Building native extensions. This could take a while…
Installing unf_ext 0.0.8 with native extensions
Building native extensions. This could take a while…
0: unf_ext (0.0.8) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf_ext-0.0.8.gemspec
Fetching xorcist 1.1.2
Installing xorcist 1.1.2 with native extensions
Building native extensions. This could take a while…
1: stackprof (0.2.17) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/stackprof-0.2.17.gemspec
Fetching nokogiri 1.13.4 (x86_64-linux)
Installing nokogiri 1.13.4 (x86_64-linux)
0: xorcist (1.1.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/xorcist-1.1.2.gemspec
Using mail 2.8.0.edge from GitHub - discourse/mail: A Really Ruby Mail Library · GitHub (at main@5b700fc)
0: mail (2.8.0.edge) from /var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
Fetching aws-sigv4 1.4.0
Installing aws-sigv4 1.4.0
0: aws-sigv4 (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sigv4-1.4.0.gemspec
Fetching addressable 2.8.0
Installing addressable 2.8.0
0: addressable (2.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/addressable-2.8.0.gemspec
Fetching i18n 1.8.11
1: nokogiri (1.13.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/nokogiri-1.13.4-x86_64-linux.gemspec
Fetching tzinfo 2.0.4
Installing i18n 1.8.11
0: i18n (1.8.11) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/i18n-1.8.11.gemspec
Using uglifier 4.2.0
0: uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/uglifier-4.2.0.gemspec
Using rack-test 2.0.2
0: rack-test (2.0.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-test-2.0.2.gemspec
Using sprockets 3.7.2
0: sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-3.7.2.gemspec
Fetching request_store 1.5.0
Installing tzinfo 2.0.4
1: tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/tzinfo-2.0.4.gemspec
Fetching message_bus 4.0.0
Installing request_store 1.5.0
0: request_store (1.5.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/request_store-1.5.0.gemspec
Fetching rack-mini-profiler 2.3.3
Installing message_bus 4.0.0
1: message_bus (4.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/message_bus-4.0.0.gemspec
Fetching rack-protection 2.1.0
Installing rack-mini-profiler 2.3.3
Installing rack-protection 2.1.0
0: rack-mini-profiler (2.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-mini-profiler-2.3.3.gemspec
Fetching openssl 2.2.1
1: rack-protection (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rack-protection-2.1.0.gemspec
Fetching pry 0.13.1
Installing openssl 2.2.1 with native extensions
Installing pry 0.13.1
Building native extensions. This could take a while…
1: pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-0.13.1.gemspec
Fetching barber 0.12.2
Installing barber 0.12.2
1: barber (0.12.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/barber-0.12.2.gemspec
Fetching ember-data-source 3.0.2
Installing ember-data-source 3.0.2
1: ember-data-source (3.0.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ember-data-source-3.0.2.gemspec
Using ecma-re-validator 0.4.0
1: ecma-re-validator (0.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ecma-re-validator-0.4.0.gemspec
Fetching faraday-multipart 1.0.3
Installing faraday-multipart 1.0.3
1: faraday-multipart (1.0.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-multipart-1.0.3.gemspec
Using mini_suffix 0.3.3
1: mini_suffix (0.3.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_suffix-0.3.3.gemspec
Using sassc 2.0.1
1: sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-2.0.1.gemspec
Fetching omniauth 1.9.1
Installing omniauth 1.9.1
1: omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-1.9.1.gemspec
Fetching image_optim 0.31.1
Installing image_optim 0.31.1
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove config.assets.image_optim = false if you are not going to use that gem
1: image_optim (0.31.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/image_optim-0.31.1.gemspec
Fetching mini_racer 0.6.1
Installing mini_racer 0.6.1 with native extensions
Building native extensions. This could take a while…
2: pg (1.2.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pg-1.2.3.gemspec
Using logstash-logger 0.26.1
2: logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/logstash-logger-0.26.1.gemspec
Using webpush 1.1.0
2: webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/webpush-1.1.0.gemspec
Fetching sidekiq 6.3.1
Installing sidekiq 6.3.1
2: sidekiq (6.3.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sidekiq-6.3.1.gemspec
Fetching redis-namespace 1.8.1
Installing redis-namespace 1.8.1
2: redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/redis-namespace-1.8.1.gemspec
Fetching net-http 0.2.2
Installing net-http 0.2.2
2: net-http (0.2.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-http-0.2.2.gemspec
Fetching puma 5.5.2
Installing puma 5.5.2 with native extensions
Building native extensions. This could take a while…
1: mini_racer (0.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_racer-0.6.1.gemspec
Fetching bootsnap 1.9.4
Installing bootsnap 1.9.4 with native extensions
Building native extensions. This could take a while…
1: bootsnap (1.9.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/bootsnap-1.9.4.gemspec
Using rbtrace 0.4.14
1: rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rbtrace-0.4.14.gemspec
Using unicorn 6.1.0
1: unicorn (6.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unicorn-6.1.0.gemspec
Using rss 0.2.9
1: rss (0.2.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rss-0.2.9.gemspec
Fetching rqrcode 2.1.0
Installing rqrcode 2.1.0
1: rqrcode (2.1.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode-2.1.0.gemspec
Using unf 0.1.4
1: unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf-0.1.4.gemspec
Fetching aws-sdk-core 3.121.2
Installing aws-sdk-core 3.121.2
1: aws-sdk-core (3.121.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-core-3.121.2.gemspec
Fetching css_parser 1.11.0
Installing css_parser 1.11.0
1: css_parser (1.11.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/css_parser-1.11.0.gemspec
Fetching loofah 2.13.0
Installing loofah 2.13.0
1: loofah (2.13.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/loofah-2.13.0.gemspec
Using ruby-readability 0.7.0
1: ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ruby-readability-0.7.0.gemspec
Using sanitize 6.0.0
1: sanitize (6.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sanitize-6.0.0.gemspec
Fetching activesupport 6.1.6.1
Installing activesupport 6.1.6.1
1: activesupport (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activesupport-6.1.6.1.gemspec
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
1: pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-byebug-3.9.0.gemspec
Using pry-rails 0.3.9
1: pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-rails-0.3.9.gemspec
Fetching ember-handlebars-template 0.8.0
Installing ember-handlebars-template 0.8.0
1: ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ember-handlebars-template-0.8.0.gemspec
Fetching json_schemer 0.2.18
Installing json_schemer 0.2.18
1: json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/json_schemer-0.2.18.gemspec
Fetching faraday 1.9.3
Installing faraday 1.9.3
1: faraday (1.9.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-1.9.3.gemspec
Using omniauth-oauth 1.2.0
1: omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth-1.2.0.gemspec
Fetching mini_scheduler 0.13.0
Installing mini_scheduler 0.13.0
1: mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_scheduler-0.13.0.gemspec
Fetching aws-sdk-kms 1.44.0
Installing aws-sdk-kms 1.44.0
1: aws-sdk-kms (1.44.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-kms-1.44.0.gemspec
Fetching aws-sdk-sns 1.46.0
Installing aws-sdk-sns 1.46.0
1: aws-sdk-sns (1.46.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-sns-1.46.0.gemspec
Fetching rails-html-sanitizer 1.4.3
Installing rails-html-sanitizer 1.4.3
1: rails-html-sanitizer (1.4.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-html-sanitizer-1.4.3.gemspec
Using rails-dom-testing 2.0.3
1: rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-dom-testing-2.0.3.gemspec
Using globalid 1.0.0
1: globalid (1.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/globalid-1.0.0.gemspec
Fetching activemodel 6.1.6.1
Installing activemodel 6.1.6.1
1: activemodel (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activemodel-6.1.6.1.gemspec
Fetching oauth2 1.4.7
Installing oauth2 1.4.7
1: oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth2-1.4.7.gemspec
Using omniauth-twitter 1.4.0
1: omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-twitter-1.4.0.gemspec
Fetching aws-sdk-s3 1.96.1
Installing aws-sdk-s3 1.96.1
1: aws-sdk-s3 (1.96.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-s3-1.96.1.gemspec
Fetching actionview 6.1.6.1
Installing actionview 6.1.6.1
1: actionview (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview-6.1.6.1.gemspec
Fetching activejob 6.1.6.1
Installing activejob 6.1.6.1
1: activejob (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activejob-6.1.6.1.gemspec
Using active_model_serializers 0.8.4
1: active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/active_model_serializers-0.8.4.gemspec
Fetching activerecord 6.1.6.1
Installing activerecord 6.1.6.1
1: activerecord (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activerecord-6.1.6.1.gemspec
Fetching omniauth-oauth2 1.7.2
Installing omniauth-oauth2 1.7.2
1: omniauth-oauth2 (1.7.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth2-1.7.2.gemspec
Fetching actionpack 6.1.6.1
Installing actionpack 6.1.6.1
1: actionpack (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionpack-6.1.6.1.gemspec
Using actionview_precompiler 0.2.3
1: actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview_precompiler-0.2.3.gemspec
Fetching seed-fu 2.3.9
Installing seed-fu 2.3.9
1: seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/seed-fu-2.3.9.gemspec
Using omniauth-facebook 9.0.0
1: omniauth-facebook (9.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-facebook-9.0.0.gemspec
Using omniauth-github 1.4.0
1: omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-github-1.4.0.gemspec
Using omniauth-google-oauth2 0.8.2
1: omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Fetching actionmailer 6.1.6.1
Installing actionmailer 6.1.6.1
1: actionmailer (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionmailer-6.1.6.1.gemspec
Fetching railties 6.1.6.1
Installing railties 6.1.6.1
1: railties (6.1.6.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/railties-6.1.6.1.gemspec
Using sprockets-rails 3.4.2
1: sprockets-rails (3.4.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-rails-3.4.2.gemspec
Fetching jquery-rails 4.4.0
Installing jquery-rails 4.4.0
2: puma (5.5.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/puma-5.5.2.gemspec
Fetching lograge 0.11.2
1: jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/jquery-rails-4.4.0.gemspec
Fetching rails_failover 0.7.3
Installing lograge 0.11.2
Installing rails_failover 0.7.3
2: lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/lograge-0.11.2.gemspec
Fetching rails_multisite 4.0.0
1: rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_failover-0.7.3.gemspec
Using sassc-rails 2.1.2
1: sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-rails-2.1.2.gemspec
Fetching discourse-ember-rails 0.18.6
Installing rails_multisite 4.0.0
Installing discourse-ember-rails 0.18.6
2: rails_multisite (4.0.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_multisite-4.0.0.gemspec
1: discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/discourse-ember-rails-0.18.6.gemspec
3: oj (3.13.2) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oj-3.13.2.gemspec
0: openssl (2.2.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-2.2.1.gemspec
Fetching openssl-signature_algorithm 1.1.1
Installing openssl-signature_algorithm 1.1.1
2: openssl-signature_algorithm (1.1.1) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
Fetching cose 1.2.0
Installing cose 1.2.0
1: cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cose-1.2.0.gemspec
Bundle complete! 128 Gemfile dependencies, 178 gems now installed.
Gems in the groups ‘test’ and ‘development’ were not installed.
Bundled gems are installed into ./vendor/bundle
Post-install message from image_optim:
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove config.assets.image_optim = false if you are not going to use that gem
I, [2023-01-18T11:20:08.795503 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all’
I, [2023-01-18T11:20:10.866531 #1] INFO – :
I, [2023-01-18T11:20:10.866729 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
rake aborted!
LoadError: cannot load such file – net/pop
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:93:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/lib/validators/pop3_polling_enabled_setting_validator.rb:3:in ’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:424:in block in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in block in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:13:in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:402:in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:558:in load_missing_constant' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:213:in const_missing’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/inflector/methods.rb:274:in const_get' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/inflector/methods.rb:274:in constantize’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/string/inflections.rb:74:in constantize' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/object/try.rb:15:in public_send’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/object/try.rb:15:in try' /var/www/discourse/lib/site_settings/type_supervisor.rb:114:in load_setting’
/var/www/discourse/lib/site_setting_extension.rb:170:in block in setting' /var/www/discourse/lib/site_setting_extension.rb:127:in synchronize’
/var/www/discourse/lib/site_setting_extension.rb:127:in setting' /var/www/discourse/app/models/site_setting.rb:12:in block in load_settings’
/var/www/discourse/lib/site_settings/yaml_loader.rb:22:in block (2 levels) in load' /var/www/discourse/lib/site_settings/yaml_loader.rb:13:in each’
/var/www/discourse/lib/site_settings/yaml_loader.rb:13:in block in load' /var/www/discourse/lib/site_settings/yaml_loader.rb:12:in each_key’
/var/www/discourse/lib/site_settings/yaml_loader.rb:12:in load' /var/www/discourse/app/models/site_setting.rb:11:in load_settings’
/var/www/discourse/app/models/site_setting.rb:16:in <class:SiteSetting>' /var/www/discourse/app/models/site_setting.rb:3:in ’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:424:in block in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in block in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:14:in block in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies/interlock.rb:13:in loading’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:39:in load_interlock' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:402:in require_or_load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:558:in load_missing_constant' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:213:in const_missing’
/var/www/discourse/config/initializers/004-message_bus.rb:122:in <main>' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:60:in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:60:in load' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in block in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in load’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:681:in block in load_config_initializer' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/notifications.rb:205:in instrument’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:680:in load_config_initializer' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:634:in block (2 levels) in class:Engine’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:633:in each' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/engine.rb:633:in block in class:Engine’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in instance_exec' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in run’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:61:in block in run_initializers' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:50:in each’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:50:in tsort_each_child' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:60:in run_initializers’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:391:in initialize!' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in public_send’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in method_missing' /var/www/discourse/config/environment.rb:7:in ’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in block in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:88:in register' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in require_with_bootsnap_lfi’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.9.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:367:in require_environment!’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-6.1.6.1/lib/rails/application.rb:533:in block in run_tasks_blocks' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>’
/usr/local/bin/bundle:25:in load' /usr/local/bin/bundle:25:in ’
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2023-01-18T11:20:12.608443 #1] INFO – :
I, [2023-01-18T11:20:12.608716 #1] INFO – : Terminating async processes
I, [2023-01-18T11:20:12.608751 #1] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 18
18:signal-handler (1674040812) Received SIGTERM scheduling shutdown…
18:M 18 Jan 2023 11:20:12.679 # User requested shutdown…
18:M 18 Jan 2023 11:20:12.679 * Saving the final RDB snapshot before exiting.
18:M 18 Jan 2023 11:20:12.699 * DB saved on disk
18:M 18 Jan 2023 11:20:12.699 # Redis is now ready to exit, bye bye…
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 1708 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn’
exec failed with the params {“cd”=>“$home”, “hook”=>“db_migrate”, “cmd”=>[“su discourse -c ‘bundle exec rake db:migrate’”]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
59c311db4c225fcfa1107d6c9ec0baef05d68d5f07bee3bb0257b3be2c06c688
Сначала я подумал, что проблема в Redis, но, судя по информации из других тем на этом форуме, это сообщение об ошибке появляется всегда.
45:M 18 Jan 2023 11:18:22.218 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
45:M 18 Jan 2023 11:18:22.218 # Failed listening on port 6379 (TCP), aborting.
Так что единственная другая ошибка, которую я вижу, это:
I, [2023-01-18T11:20:10.866729 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
rake aborted!
LoadError: cannot load such file – net/pop
Я попробовал удалить все плагины из файла app.yml, но ошибка осталась прежней.
Буду благодарен за любые подсказки, что еще может быть не так.
Спасибо,
Ян