Aggiornamento automatico da 2.6.0.beta5 a 2.7.0.beta3 fallito

Ciao,

L’aggiornamento del browser con un solo clic dalla versione 2.6.0.beta5 alla 2.7.0.beta3 non è andato a buon fine, generando il seguente errore:

89591216.5834941 Compressing: browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js
uglifyjs '/var/www/discourse/public/assets/_browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js' -m -c -o '/var/www/discourse/public/assets/browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js' --source-map "base='/var/www/discourse/public/assets',root='/assets',url='/assets/browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js.map'"
Parse error at _browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js:5,6
  let $buo = function () {
      ^
ERROR: Unexpected token: name «$buo», expected: punc «;»
    at JS_Parse_Error.get (eval at <anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:18:1), <anonymous>:71:23)
    at fatal (/usr/lib/node_modules/uglify-js/bin/uglifyjs:332:27)
    at run (/usr/lib/node_modules/uglify-js/bin/uglifyjs:275:9)
    at Object.<anonymous> (/usr/lib/node_modules/uglify-js/bin/uglifyjs:190:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
rake aborted!
Errno::ENOENT: No such file or directory @ rb_file_s_size - /var/www/discourse/public/assets/browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js
/var/www/discourse/lib/tasks/assets.rake:287:in `size'
/var/www/discourse/lib/tasks/assets.rake:287:in `block (4 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:178:in `block in concurrent?'
/var/www/discourse/lib/tasks/assets.rake:278:in `block (3 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:269:in `each'
/var/www/discourse/lib/tasks/assets.rake:269:in `block (2 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:178:in `concurrent?'
/var/www/discourse/lib/tasks/assets.rake:266:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:178:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:86: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.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command.rb:46:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.0/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.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
bin/rails:17:in `<main>'
Spinning up 1 Unicorn worker(s) that were stopped initially

Hai idea di quale possa essere la causa e come recuperare? La mia istanza del forum è ora inattiva.

Eseguire ./launcher rebuild app ha risolto il problema, ma sono ancora curioso di sapere di cosa si trattava l’errore.

Ho riscontrato lo stesso problema, l’aggiornamento automatico è fallito

"base='/var/www/discourse/public/assets',root='/assets',url='/assets/browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js.map'"
Errore di analisi in _browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js:5,6
  let $buo = function () {
      ^
ERRORE: Token inaspettato: nome «$buo», previsto: punteggiatura «;»
    at JS_Parse_Error.get (eval at ,<anonymous> (/usr/lib/node_modules/uglify-js/tools/node.js:18:1), <anonymous>:71:23)
    at fatal (/usr/lib/node_modules/uglify-js/bin/uglifyjs:394:27)
    at run (/usr/lib/node_modules/uglify-js/bin/uglifyjs:343:9)
    at Object.<anonymous> (/usr/lib/node_modules/uglify-js/bin/uglifyjs:259:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
rake interrotto!
Errno::ENOENT: No such file or directory @ rb_file_s_size - /var/www/discourse/public/assets/browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js
/var/www/discourse/lib/tasks/assets.rake:287:in `size'
/var/www/discourse/lib/tasks/assets.rake:287:in `block (4 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:178:in `block in concurrent?'
/var/www/discourse/lib/tasks/assets.rake:278:in `block (3 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:269:in `each'
/var/www/discourse/lib/tasks/assets.rake:269:in `block (2 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:178:in `concurrent?'
/var/www/discourse/lib/tasks/assets.rake:266:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(Vedi la traccia completa eseguendo il task con --trace)
Docker Manager: AGGIORNAMENTO FALLITO
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:178:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:86: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.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/command.rb:46:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.3.3/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/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.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `block in require'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:291:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.3/lib/active_support/dependencies.rb:324:in `require'
bin/rails:17:in `<main>'
Avvio di 2 worker Unicorn fermati inizialmente

Ho poi provato un aggiornamento manuale

cd /var/discourse
git pull
./launcher rebuild app

Tuttavia, anche questo è fallito

Arresto del vecchio container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up to date.
I, [2021-02-01T03:57:10.340028 #1]  INFO -- : Caricamento da --stdin
I, [2021-02-01T03:57:10.346332 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-02-01T03:57:10.480618 #1]  INFO -- : Generazione delle lingue (questo potrebbe richiedere un po' di tempo)...
Generazione completata.

I, [2021-02-01T03:57:10.480897 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-02-01T03:57:10.493477 #1]  INFO -- : 
I, [2021-02-01T03:57:10.497351 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-02-01T03:57:10.505016 #1]  INFO -- : 
I, [2021-02-01T03:57:10.505261 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-02-01T03:57:10.511112 #1]  INFO -- : 
I, [2021-02-01T03:57:10.511320 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-02-01T03:57:10.514104 #1]  INFO -- : 
I, [2021-02-01T03:57:10.514312 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-02-01T03:57:10.521208 #1]  INFO -- : 
I, [2021-02-01T03:57:10.521409 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres già in esecuzione, arresta il container ; exit 1
2021/02/01 03:57:10 socat[28] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-02-01T03:57:10.560364 #1]  INFO -- : 
I, [2021-02-01T03:57:10.560579 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-02-01T03:57:10.564042 #1]  INFO -- : 
I, [2021-02-01T03:57:10.564235 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-02-01T03:57:10.567599 #1]  INFO -- : 
I, [2021-02-01T03:57:10.567795 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-02-01T03:57:10.570064 #1]  INFO -- : 
I, [2021-02-01T03:57:10.570257 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-02-01T03:57:10.573775 #1]  INFO -- : 
I, [2021-02-01T03:57:10.584839 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2021-02-01T03:57:10.590204 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2021-02-01T03:57:10.596807 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2021-02-01T03:57:10.603620 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2021-02-01T03:57:10.604071 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-02-01T03:57:12.301881 #1]  INFO -- : 
I, [2021-02-01T03:57:12.302065 #1]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
I, [2021-02-01T03:57:12.304909 #1]  INFO -- : 
I, [2021-02-01T03:57:12.305008 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-02-01T03:57:12.362158 #1]  INFO -- : 
I, [2021-02-01T03:57:12.362333 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-02-01T03:57:12.364805 #1]  INFO -- : 
I, [2021-02-01T03:57:12.365012 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-02-01T03:57:12.371992 #1]  INFO -- : 
I, [2021-02-01T03:57:12.372185 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-02-01T03:57:12.375016 #1]  INFO -- : 
I, [2021-02-01T03:57:12.378157 #1]  INFO -- : Sostituzione di data_directory = '/var/lib/postgresql/13/main' con data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.378818 #1]  INFO -- : Sostituzione di (?-mix:#?listen_addresses *=.*) con listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.382268 #1]  INFO -- : Sostituzione di (?-mix:#?synchronous_commit *=.*) con synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.384348 #1]  INFO -- : Sostituzione di (?-mix:#?shared_buffers *=.*) con shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.391671 #1]  INFO -- : Sostituzione di (?-mix:#?work_mem *=.*) con work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.393787 #1]  INFO -- : Sostituzione di (?-mix:#?default_text_search_config *=.*) con default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.399270 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-02-01T03:57:12.406342 #1]  INFO -- : 
I, [2021-02-01T03:57:12.406669 #1]  INFO -- : Sostituzione di (?-mix:#?checkpoint_segments *=.*) con checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.407183 #1]  INFO -- : Sostituzione di (?-mix:#?logging_collector *=.*) con logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.409314 #1]  INFO -- : Sostituzione di (?-mix:#?log_min_duration_statement *=.*) con log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.413327 #1]  INFO -- : Sostituzione di (?-mix:^#local +replication +postgres +peer$) con local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-02-01T03:57:12.413688 #1]  INFO -- : Sostituzione di (?-mix:^host.*all.*all.*127.*$) con host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2021-02-01T03:57:12.415634 #1]  INFO -- : > 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
I, [2021-02-01T03:57:12.417471 #1]  INFO -- : > sleep 5
2021-02-01 03:57:12.672 UTC [51] LOG:  avvio di PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) su x86_64-pc-linux-gnu, compilato da gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-02-01 03:57:12.673 UTC [51] LOG:  in ascolto sull'indirizzo IPv4 "0.0.0.0", porta 5432
2021-02-01 03:57:12.673 UTC [51] LOG:  in ascolto sull'indirizzo IPv6 "::", porta 5432
2021-02-01 03:57:12.694 UTC [51] LOG:  in ascolto sulla socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2021-02-01 03:57:12.720 UTC [54] LOG:  il sistema database è stato arrestato il 2021-02-01 03:26:51 UTC
2021-02-01 03:57:12.735 UTC [51] LOG:  il sistema database è pronto ad accettare connessioni
I, [2021-02-01T03:57:17.421361 #1]  INFO -- : 
I, [2021-02-01T03:57:17.421725 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-02-01 03:57:17.626 UTC [64] postgres@postgres ERROR:  il database "discourse" esiste già
2021-02-01 03:57:17.626 UTC [64] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: errore: creazione del database fallita: ERROR:  il database "discourse" esiste già
I, [2021-02-01T03:57:17.627925 #1]  INFO -- : 
I, [2021-02-01T03:57:17.628263 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-02-01 03:57:17.769 UTC [75] postgres@discourse ERROR:  il ruolo "discourse" esiste già
2021-02-01 03:57:17.769 UTC [75] postgres@discourse STATEMENT:  create user discourse;
ERROR:  il ruolo "discourse" esiste già
I, [2021-02-01T03:57:17.771307 #1]  INFO -- : 
I, [2021-02-01T03:57:17.771661 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-02-01T03:57:17.843912 #1]  INFO -- : GRANT

I, [2021-02-01T03:57:17.844204 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-02-01T03:57:17.915357 #1]  INFO -- : ALTER SCHEMA

I, [2021-02-01T03:57:17.915670 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  l'estensione "hstore" esiste già, salto
I, [2021-02-01T03:57:18.023248 #1]  INFO -- : CREATE EXTENSION

I, [2021-02-01T03:57:18.023527 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  l'estensione "pg_trgm" esiste già, salto
I, [2021-02-01T03:57:18.095103 #1]  INFO -- : CREATE EXTENSION

I, [2021-02-01T03:57:18.095354 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  l'estensione "hstore" esiste già, salto
I, [2021-02-01T03:57:18.160897 #1]  INFO -- : CREATE EXTENSION

I, [2021-02-01T03:57:18.161179 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  l'estensione "pg_trgm" esiste già, salto
I, [2021-02-01T03:57:18.224648 #1]  INFO -- : CREATE EXTENSION

I, [2021-02-01T03:57:18.225050 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-02-01T03:57:18.231354 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2021-02-01T03:57:18.366309 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-02-01T03:57:18.371653 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2021-02-01T03:57:18.371809 #1]  INFO -- : > echo postgres installato!
I, [2021-02-01T03:57:18.374500 #1]  INFO -- : postgres installato!

I, [2021-02-01T03:57:18.381107 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2021-02-01T03:57:18.388295 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2021-02-01T03:57:18.395435 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2021-02-01T03:57:18.398096 #1]  INFO -- : Sostituzione di daemonize yes con  in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.398835 #1]  INFO -- : Sostituzione di (?-mix:^pidfile.*$) con  in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.401841 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-02-01T03:57:18.406015 #1]  INFO -- : 
I, [2021-02-01T03:57:18.406386 #1]  INFO -- : Sostituzione di (?-mix:^logfile.*$) con logfile "" in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.407064 #1]  INFO -- : Sostituzione di (?-mix:^bind .*$) con  in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.414920 #1]  INFO -- : Sostituzione di (?-mix:^dir .*$) con dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.420668 #1]  INFO -- : Sostituzione di (?-mix:^protected-mode yes) con protected-mode no in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.423159 #1]  INFO -- : Sostituzione di # io-threads 4 con io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-02-01T03:57:18.425647 #1]  INFO -- : > echo redis installato
I, [2021-02-01T03:57:18.427926 #1]  INFO -- : redis installato

I, [2021-02-01T03:57:18.428115 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-02-01T03:57:18.436816 #1]  INFO -- : logfile ""

I, [2021-02-01T03:57:18.437119 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-02-01T03:57:18.439391 #1]  INFO -- : > sleep 10
168:C 01 Feb 2021 03:57:18.468 # oO0OoO0OoO0Oo Redis è in avvio oO0OoO0OoO0Oo
168:C 01 Feb 2021 03:57:18.468 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=168, appena avviato
168:C 01 Feb 2021 03:57:18.468 # Configurazione caricata
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 6.0.9 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 168
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

168:M 01 Feb 2021 03:57:18.473 # WARNING: L'impostazione TCP backlog di 511 non può essere applicata perché /proc/sys/net/core/somaxconn è impostato sul valore inferiore di 128.
168:M 01 Feb 2021 03:57:18.473 # Server inizializzato
168:M 01 Feb 2021 03:57:18.473 # WARNING overcommit_memory è impostato a 0! Il salvataggio in background potrebbe fallire in condizioni di memoria bassa. Per risolvere questo problema aggiungi 'vm.overcommit_memory = 1' a /etc/sysctl.conf e poi riavvia o esegui il comando 'sysctl vm.overcommit_memory=1' affinché abbia effetto.
168:M 01 Feb 2021 03:57:18.473 # WARNING hai il supporto Transparent Huge Pages (THP) abilitato nel kernel. Questo creerà problemi di latenza e utilizzo della memoria con Redis. Per risolvere questo problema esegui il comando 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' come root, e aggiungilo al tuo /etc/rc.local per mantenere l'impostazione dopo un riavvio. Redis deve essere riavviato dopo che THP è disabilitato (impostato a 'madvise' o 'never').
168:M 01 Feb 2021 03:57:18.473 * Caricamento RDB prodotto dalla versione 5.0.9
168:M 01 Feb 2021 03:57:18.473 * RDB age 20 seconds
168:M 01 Feb 2021 03:57:18.473 * RDB memory usage when created 41.11 Mb
168:M 01 Feb 2021 03:57:18.592 * DB caricato da disco: 0.120 seconds
168:M 01 Feb 2021 03:57:18.592 * Pronto ad accettare connessioni
I, [2021-02-01T03:57:28.442661 #1]  INFO -- : 
I, [2021-02-01T03:57:28.443061 #1]  INFO -- : > thpoff echo "thpoff è installato!"
I, [2021-02-01T03:57:28.449163 #1]  INFO -- : thpoff è installato!

I, [2021-02-01T03:57:28.449464 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Interruzione! La mail non è configurata!"; exit 1; end'
I, [2021-02-01T03:57:28.517226 #1]  INFO -- : 
I, [2021-02-01T03:57:28.517580 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Interruzione! Il dominio non è configurato!"; exit 1; end'
I, [2021-02-01T03:57:28.583575 #1]  INFO -- : 
I, [2021-02-01T03:57:28.583927 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Interruzione! Il CDN deve avere un protocollo specificato. Una volta corretto, dovresti ribakare i tuoi post ora per correggere tutti i post."; exit 1; end'
I, [2021-02-01T03:57:28.650993 #1]  INFO -- : 
I, [2021-02-01T03:57:28.651339 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-02-01T03:57:29.262853 #1]  INFO -- : 
I, [2021-02-01T03:57:29.263228 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-02-01T03:57:29.267248 #1]  INFO -- : 
I, [2021-02-01T03:57:29.271653 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2021-02-01T03:57:29.282189 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2021-02-01T03:57:29.289964 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2021-02-01T03:57:29.297661 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2021-02-01T03:57:29.305304 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2021-02-01T03:57:29.312099 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2021-02-01T03:57:29.312348 #1]  INFO -- : Sostituzione di # postgres con sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-02-01T03:57:29.312801 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-02-01T03:57:29.315933 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
197:C 01 Feb 2021 03:57:29.322 # oO0OoO0OoO0Oo Redis è in avvio oO0OoO0OoO0Oo
197:C 01 Feb 2021 03:57:29.322 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=197, appena avviato
197:C 01 Feb 2021 03:57:29.322 # Configurazione caricata
197:M 01 Feb 2021 03:57:29.323 # Impossibile creare la socket di ascolto TCP *:6379: bind: Indirizzo già in uso
Checking out files: 100% (28296/28296), done.
I, [2021-02-01T03:57:32.940750 #1]  INFO -- : HEAD is now at c4552e9c FIX: I video autoplay devono sempre essere silenziati (#11533)

I, [2021-02-01T03:57:32.940962 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-02-01T03:57:33.036307 #1]  INFO -- : 
I, [2021-02-01T03:57:33.036509 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-02-01T03:57:33.041347 #1]  INFO -- : 
I, [2021-02-01T03:57:33.041496 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-02-01T03:57:33.049862 #1]  INFO -- : 
I, [2021-02-01T03:57:33.050014 #1]  INFO -- : > cd /var/www/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, [2021-02-01T03:57:37.375828 #1]  INFO -- : 
I, [2021-02-01T03:57:37.376029 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-02-01T03:57:38.213065 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-02-01T03:57:38.213272 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-02-01T03:57:38.217755 #1]  INFO -- : 
I, [2021-02-01T03:57:38.217929 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-02-01T03:57:38.222538 #1]  INFO -- : 
I, [2021-02-01T03:57:38.222680 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-02-01T03:57:38.227298 #1]  INFO -- : 
I, [2021-02-01T03:57:38.227490 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-02-01T03:57:38.232282 #1]  INFO -- : 
I, [2021-02-01T03:57:38.232441 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-02-01T03:57:38.238198 #1]  INFO -- : 
I, [2021-02-01T03:57:38.238338 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-02-01T03:57:38.243222 #1]  INFO -- : 
I, [2021-02-01T03:57:38.243379 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-02-01T03:57:38.250598 #1]  INFO -- : 
I, [2021-02-01T03:57:38.250751 #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, [2021-02-01T03:57:38.258022 #1]  INFO -- : 
I, [2021-02-01T03:57:38.258180 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-02-01T03:57:38.265657 #1]  INFO -- : 
I, [2021-02-01T03:57:38.265817 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-02-01T03:57:38.272929 #1]  INFO -- : 
I, [2021-02-01T03:57:38.273098 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-02-01T03:57:38.280603 #1]  INFO -- : 
I, [2021-02-01T03:57:38.280749 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-02-01T03:57:38.287851 #1]  INFO -- : 
I, [2021-02-01T03:57:38.288015 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-02-01T03:57:40.953579 #1]  INFO -- : 
I, [2021-02-01T03:57:40.953785 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-02-01T03:57:40.966001 #1]  INFO -- : 
I, [2021-02-01T03:57:40.966297 #1]  INFO -- : Sostituzione di # redis con sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-02-01T03:57:40.967215 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-02-01T03:57:43.285760 #1]  INFO -- : 
I, [2021-02-01T03:57:43.285907 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tagging.git
Cloning into 'discourse-tagging'...
I, [2021-02-01T03:57:44.377074 #1]  INFO -- : 
I, [2021-02-01T03:57:44.377269 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2021-02-01T03:57:45.676621 #1]  INFO -- : 
I, [2021-02-01T03:57:45.676797 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-oauth2-basic.git
Cloning into 'discourse-oauth2-basic'...
I, [2021-02-01T03:57:46.756584 #1]  INFO -- : 
I, [2021-02-01T03:57:46.756793 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-akismet.git
Cloning into 'discourse-akismet'...
I, [2021-02-01T03:57:47.976350 #1]  INFO -- : 
I, [2021-02-01T03:57:47.976542 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-staff-notes.git
Cloning into 'discourse-staff-notes'...
I, [2021-02-01T03:57:49.131320 #1]  INFO -- : 
I, [2021-02-01T03:57:49.131785 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.136261 #1]  INFO -- : 
I, [2021-02-01T03:57:49.136424 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-02-01T03:57:49.140052 #1]  INFO -- : 
I, [2021-02-01T03:57:49.140113 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-02-01T03:57:49.143934 #1]  INFO -- : 
I, [2021-02-01T03:57:49.144786 #1]  INFO -- : Sostituzione di pid /run/nginx.pid; con daemon off; in /etc/nginx/nginx.conf
I, [2021-02-01T03:57:49.145074 #1]  INFO -- : Sostituzione di (?m-ix:upstream[^\}]+\}) con upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.145309 #1]  INFO -- : Sostituzione di (?-mix:server_name.+$) con server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.150035 #1]  INFO -- : Sostituzione di (?-mix:client_max_body_size.+$) con client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.151963 #1]  INFO -- : > echo "configurazione web completata"
I, [2021-02-01T03:57:49.154586 #1]  INFO -- : configurazione web completata

I, [2021-02-01T03:57:49.154917 #1]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2021-02-01T03:57:54.061149 #1]  INFO -- : Aggiornamento delle gem installate
Updating bundler
Successfully installed bundler-2.2.7
Gems updated: bundler

Si è verificato un errore durante il mio aggiornamento

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

Per favore aiutami a risolverlo.

I, [2021-02-01T03:57:54.061343 #1] INFO – : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} +
I, [2021-02-01T03:57:58.171416 #1] INFO – :
I, [2021-02-01T03:57:58.171731 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle install --deployment --retry 3 --jobs 4 --verbose --without test development’
[DEPRECATED] Il flag --deployment è deprecato perché si basa sulla memorizzazione tra le invocazioni di bundler, cosa che bundler non farà più nelle versioni future. Invece, usa bundle config set --local deployment 'true' e smetti di usare questo flag
[DEPRECATED] Il flag --without è deprecato perché si basa sulla memorizzazione tra le invocazioni di bundler, cosa che bundler non farà più nelle versioni future. Invece, usa bundle config set --local without 'test development' e smetti di usare questo flag
Il tuo bundle è bloccato su msgpack (1.4.1), ma quella versione non è stata trovata in
nessuna delle sorgenti elencate nel tuo Gemfile. Se non hai cambiato le sorgenti, questo
significa che l’autore di msgpack (1.4.1) l’ha rimossa. Dovrai aggiornare il tuo
bundle a una versione diversa da msgpack (1.4.1) che non sia stata rimossa per poter
installare.
I, [2021-02-01T03:58:11.750041 #1] INFO – : Esecuzione di bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development" con bundler 2.2.7
Bloccato, utilizzo della risoluzione dal lockfile
La definizione manca di [“rake-13.0.3”, “concurrent-ruby-1.1.8”, “i18n-1.8.7”, “minitest-5.14.3”, “racc-1.5.2”, “nokogiri-1.11.1-x86_64-linux”, “loofah-2.9.0”, “msgpack-1.4.1”, “bootsnap-1.6.0”, “chunky_png-1.4.0”, “css_parser-1.8.0”, “thor-1.1.0”, “faraday-net_http-1.0.1”, “ruby2_keywords-0.0.4”, “faraday-1.3.0”, “fastimage-2.2.2”, “ffi-1.14.2”, “json-2.5.1”, “logster-2.9.5”, “sidekiq-6.1.3”, “mini_sql-1.0.1”, “mini_suffix-0.3.2”, “oauth-0.5.5”, “oj-3.11.2”, “omniauth-oauth2-1.7.1”, “omniauth-oauth-1.2.0”, “sanitize-5.2.3”, “onebox-2.2.2”, “puma-5.2.0”, “rack-mini-profiler-2.3.1”, “rqrcode_core-0.2.0”, “rqrcode-1.2.0”, “unicorn-5.8.0”]
HTTP GET https://index.rubygems.org/versions
HTTP 206 Partial Content https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK https://index.rubygems.org/versions
Recupero metadati gem da https://rubygems.org/
Ricerca gem [“rake”, “concurrent-ruby”, “i18n”, “minitest”, “thread_safe”, “tzinfo”, “zeitwerk”, “activesupport”, “builder”, “erubi”, “racc”, “nokogiri”, “rails-dom-testing”, “crass”, “loofah”, “rails-html-sanitizer”, “actionview”, “rack”, “rack-test”, “actionpack”, “globalid”, “activejob”, “mini_mime”, “mail”, “actionmailer”, “actionview_precompiler”, “activemodel”, “active_model_serializers”, “activerecord”, “public_suffix”, “addressable”, “aws-eventstream”, “aws-partitions”, “aws-sigv4”, “jmespath”, “aws-sdk-core”, “aws-sdk-kms”, “aws-sdk-s3”, “aws-sdk-sns”, “ember-source”, “execjs”, “barber”, “msgpack”, “bootsnap”, “byebug”, “cbor”, “chunky_png”, “coderay”, “colored2”, “connection_pool”, “openssl-signature_algorithm”, “cose”, “cppjieba_rb”, “css_parser”, “diffy”, “ember-data-source”, “sprockets”, “ember-handlebars-template”, “method_source”, “thor”, “railties”, “jquery-rails”, “discourse-ember-rails”, “discourse-ember-source”, “discourse-fonts”, “exifr”, “fspath”, “image_size”, “in_threads”, “progress”, “discourse_image_optim”, “email_reply_trimmer”, “excon”, “faraday-net_http”, “multipart-post”, “ruby2_keywords”, “faraday”, “fast_blank”, “fast_xs”, “fastimage”, “ffi”, “gc_tracer”, “guess_html_encoding”, “hashie”, “highline”, “hkdf”, “htmlentities”, “http_accept_language”, “json”, “jwt”, “kgio”, “libv8”, “request_store”, “lograge”, “logstash-event”, “logstash-logger”, “logster”, “lru_redux”, “lz4-ruby”, “maxminddb”, “memory_profiler”, “message_bus”, “mini_racer”, “redis”, “sidekiq”, “mini_scheduler”, “mini_sql”, “mini_suffix”, “multi_json”, “multi_xml”, “mustache”, “nio4r”, “nokogumbo”, “oauth”, “oauth2”, “oj”, “omniauth”, “omniauth-oauth2”, “omniauth-facebook”, “omniauth-github”, “omniauth-google-oauth2”, “omniauth-oauth”, “omniauth-twitter”, “sanitize”, “onebox”, “optimist”, “pg”, “pry”, “pry-byebug”, “pry-rails”, “puma”, “r2”, “rack-mini-profiler”, “rack-protection”, “rails_failover”, “rails_multisite”, “raindrops”, “rbtrace”, “rchardet”, “redis-namespace”, “rinku”, “rotp”, “rqrcode_core”, “rqrcode”, “rtlit”, “ruby-readability”, “rubyzip”, “sassc”, “sprockets-rails”, “tilt”, “sassc-rails”, “seed-fu”, “sshkey”, “stackprof”, “uglifier”, “unf_ext”, “unf”, “unicorn”, “webpush”, “xorcist”]
HTTP GET https://index.rubygems.org/info/racc
HTTP GET https://index.rubygems.org/info/loofah
HTTP 200 OK https://index.rubygems.org/info/racc
HTTP GET https://index.rubygems.org/info/i18n
HTTP GET https://index.rubygems.org/info/activesupport
HTTP 206 Partial Content https://index.rubygems.org/info/i18n
HTTP GET https://index.rubygems.org/info/activerecord
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/actionview
HTTP 206 Partial Content https://index.rubygems.org/info/loofah
HTTP GET https://index.rubygems.org/info/activemodel
HTTP GET https://index.rubygems.org/info/activejob
HTTP 206 Partial Content https://index.rubygems.org/info/activerecord
HTTP GET https://index.rubygems.org/info/actionpack
HTTP GET https://index.rubygems.org/info/tzinfo
HTTP 206 Partial Content https://index.rubygems.org/info/activemodel
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/actionmailer
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/activejob
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/msgpack
HTTP 206 Partial Content https://index.rubygems.org/info/activesupport
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP 206 Partial Content https://index.rubygems.org/info/actionview
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP 206 Partial Content https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/bootsnap
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/actionpack
HTTP 206 Partial Content https://index.rubygems.org/info/tzinfo
HTTP GET https://index.rubygems.org/info/chunky_png
HTTP 206 Partial Content https://index.rubygems.org/info/actionmailer
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
HTTP 206 Partial Content https://index.rubygems.org/info/chunky_png
HTTP 206 Partial Content https://index.rubygems.org/info/msgpack
HTTP GET https://index.rubygems.org/info/css_parser
HTTP GET https://index.rubygems.org/info/faraday-net_http
HTTP GET https://index.rubygems.org/info/thor
HTTP GET https://index.rubygems.org/info/railties
HTTP 200 OK https://index.rubygems.org/info/faraday-net_http
HTTP 206 Partial Content https://index.rubygems.org/info/bootsnap
HTTP 206 Partial Content https://index.rubygems.org/info/thor
HTTP 206 Partial Content https://index.rubygems.org/info/railties
HTTP GET https://index.rubygems.org/info/ruby2_keywords
HTTP 206 Partial Content https://index.rubygems.org/info/css_parser
HTTP GET https://index.rubygems.org/info/faraday
HTTP GET https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/ruby2_keywords
HTTP 206 Partial Content https://index.rubygems.org/info/faraday
HTTP GET https://index.rubygems.org/info/oauth
HTTP GET https://index.rubygems.org/info/json
HTTP GET https://index.rubygems.org/info/mini_suffix
HTTP GET https://index.rubygems.org/info/sidekiq
HTTP 206 Partial Content https://index.rubygems.org/info/json
HTTP GET https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/oj
HTTP GET https://index.rubygems.org/info/mini_sql
HTTP GET https://index.rubygems.org/info/omniauth-oauth
HTTP GET https://index.rubygems.org/info/omniauth-oauth2
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/sidekiq
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth-oauth2
HTTP GET https://index.rubygems.org/info/omniauth-github
HTTP GET https://index.rubygems.org/info/sanitize
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/rqrcode_core
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/rack-mini-profiler
HTTP GET https://index.rubygems.org/info/rqrcode
HTTP GET https://index.rubygems.org/info/unicorn
HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/oauth
HTTP 206 Partial Content https://index.rubygems.org/info/mini_suffix
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth-oauth
HTTP 206 Partial Content https://index.rubygems.org/info/mini_sql
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth-github
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/sanitize
HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode_core
HTTP 206 Partial Content https://index.rubygems.org/info/rack-mini-profiler
HTTP 206 Partial Content https://index.rubygems.org/info/unicorn
Ricerca gem [“rails-deprecated_sanitizer”, “atomic”, “mime-types”, “treetop”, “tlsmail”, “rspec”, “jsonapi”, “case_transform”, “jsonapi-renderer”, “json_pure”, “ember-template-compiler-source”, “handlebars-source”, “columnize”, “debugger-linecache”, “slop”, “rb-readline”, “hike”, “ruby_parser”, “arel”, “activerecord-deprecated_finders”, “activemodel-globalid”, “rails”, “bcrypt-ruby”, “hoe”, “weakling”, “mini_portile”, “mini_portile2”, “pkg-config”, “memcache-client”, “rb-appscript”, “xattr”, “ffi-xattr”, “functional-ruby”, “ref”, “rake-compiler”, “erubis”, “text-format”, “jamespath”, “http-2”, “rack-mount”, “rack-cache”, “journey”, “termios”, “stud”, “eventmachine”, “thin”, “faraday-middleware”, “httpauth”, “snappy”, “rack-ssl”, “rdoc”, “win32console”, “yard”, “spoon”, “pry-doc”, “escape_utils”, “trollop”, “base32”, “listen”, “sass”, “bundler”, “therubyracer”, “bigdecimal”, “celluloid”, “compass”, “sprockets-sass”, “sinatra”, “slim”, “oa-core”, “oa-oauth”, “oa-openid”, “oa-basic”, “oa-enterprise”, “oa-more”, “ruby-hmac”, “moneta”, “opengraph_parser”, “verbal_expressions”, “hexpress”, “pdf-reader”, “hpricot”]
HTTP GET https://index.rubygems.org/info/rails
HTTP GET https://index.rubygems.org/info/json_pure
HTTP 206 Partial Content https://index.rubygems.org/info/rails
HTTP GET https://index.rubygems.org/info/ruby_parser
HTTP 206 Partial Content https://index.rubygems.org/info/json_pure
HTTP 206 Partial Content https://index.rubygems.org/info/ruby_parser
HTTP GET https://index.rubygems.org/info/hoe
HTTP GET https://index.rubygems.org/info/bundler
HTTP GET https://index.rubygems.org/info/snappy
HTTP 206 Partial Content https://index.rubygems.org/info/hoe
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
HTTP GET https://index.rubygems.org/info/listen
HTTP GET https://index.rubygems.org/info/pdf-reader
HTTP GET https://index.rubygems.org/info/http-2
HTTP 206 Partial Content https://index.rubygems.org/info/snappy
HTTP GET https://index.rubygems.org/info/yard
HTTP 206 Partial Content https://index.rubygems.org/info/listen
HTTP 206 Partial Content https://index.rubygems.org/info/http-2
HTTP 206 Partial Content https://index.rubygems.org/info/yard
HTTP 206 Partial Content https://index.rubygems.org/info/pdf-reader
Ricerca gem [“facets”, “polyglot”, “rspec-core”, “rspec-expectations”, “rspec-mocks”, “ruby_core_source”, “debugger-ruby_core_source”, “bcrypt”, “jsonapi-parser”, “multimap”, “metriks”, “mime-types-data”, “daemons”, “text-hyphen”, “ZenTest”, “RubyInline”, “restclient”, “rest-client”, “abstract”, “net-ldap”, “rubyntlm”, “pyu-ruby-sasl”, “uuid”, “XMLCanonicalizer”, “temple”, “sass-listen”, “curses”, “haml”, “fssm”, “compass-core”, “compass-import-once”, “rb-fsevent”, “rb-inotify”, “mongrel”, “backports”, “mustermann”, “rack-openid”, “ruby-openid-apps-discovery”, “timers”, “facter”, “celluloid-essentials”, “celluloid-extras”, “celluloid-fsm”, “celluloid-pool”, “celluloid-supervision”, “dotenv”, “nenv”, “rspec-logsplit”, “sprockets-helpers”, “spruz”, “activeresource”, “actionwebservice”, “actioncable”, “activestorage”, “actionmailbox”, “actiontext”, “ParseTree”, “sexp_processor”, “rubyforge”, “gemcutter”, “snappy-jars”, “rb-fchange”, “rb-kqueue”, “celluloid-io”, “ruby_dep”, “Ascii85”, “ruby-rc4”, “hashery”, “afm”, “ttfunk”]
HTTP GET https://index.rubygems.org/info/rspec-expectations
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-expectations
HTTP GET https://index.rubygems.org/info/rspec-mocks
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-mocks
HTTP GET https://index.rubygems.org/info/backports
HTTP GET https://index.rubygems.org/info/rubyntlm
HTTP GET https://index.rubygems.org/info/rspec-core
HTTP GET https://index.rubygems.org/info/facter
HTTP 206 Partial Content https://index.rubygems.org/info/backports
HTTP GET https://index.rubygems.org/info/actiontext
HTTP 206 Partial Content https://index.rubygems.org/info/facter
HTTP 206 Partial Content https://index.rubygems.org/info/rubyntlm
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-core
HTTP GET https://index.rubygems.org/info/actioncable
HTTP GET https://index.rubygems.org/info/sexp_processor
HTTP 206 Partial Content https://index.rubygems.org/info/actiontext
HTTP GET https://index.rubygems.org/info/activestorage
HTTP 206 Partial Content https://index.rubygems.org/info/actioncable
HTTP 206 Partial Content https://index.rubygems.org/info/sexp_processor
HTTP GET https://index.rubygems.org/info/actionmailbox
HTTP GET https://index.rubygems.org/info/ttfunk
HTTP 206 Partial Content https://index.rubygems.org/info/activestorage
HTTP 206 Partial Content https://index.rubygems.org/info/actionmailbox
HTTP 206 Partial Content https://index.rubygems.org/info/ttfunk
Ricerca gem [“archive-tar-minitar”, “netrc”, “http-cookie”, “http-accept”, “hitimes”, “rbtree”, “faraday_middleware”, “yajl-ruby”, “avl_tree”, “macaddr”, “cgi_multipart_eof_fix”, “fastthread”, “gem_plugin”, “ruby-openid”, “coveralls”, “rubocop”, “dotenv-deployment”, “tool”, “log4r”, “rails-observers”, “activemodel-serializers-xml”, “celluloid-gems”, “SexpProcessor”, “win32-api”, “net-scp”, “blankslate”, “diff-lcs”, “rspec-support”, “coffee-rails”, “em-hiredis”, “faye-websocket”, “websocket-driver”, “CFPropertyList”, “sys-admin”, “win32-dir”, “windows-api”, “windows-pr”, “win32-security”, “hocon”, “marcel”, “mimemagic”]
HTTP GET https://index.rubygems.org/info/rspec-support
HTTP GET https://index.rubygems.org/info/rbtree
HTTP GET https://index.rubygems.org/info/rubocop
HTTP GET https://index.rubygems.org/info/sys-admin
HTTP 206 Partial Content https://index.rubygems.org/info/rspec-support
HTTP 206 Partial Content https://index.rubygems.org/info/rbtree
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/sys-admin
Ricerca gem [“systemu”, “ruby-yadis”, “minitar”, “minitar-cli”, “domain_name”, “sqlite3”, “configuration”, “mkrf”, “libxml-ruby”, “colorize”, “simplecov”, “term-ansicolor”, “tins”, “test-unit”, “net-ssh”, “roauth”, “ffi-win32-extensions”, “websocket-extensions”, “coffee-script”, “hiredis”, “rainbow”, “parser”, “powerpack”, “ruby-progressbar”, “astrolabe”, “unicode-display_width”, “parallel”, “jaro_winkler”, “psych”, “rexml”, “rubocop-ast”, “regexp_parser”]
HTTP GET https://index.rubygems.org/info/test-unit
HTTP GET https://index.rubygems.org/info/tins
HTTP GET https://index.rubygems.org/info/ruby-progressbar
HTTP GET https://index.rubygems.org/info/regexp_parser
HTTP GET https://index.rubygems.org/info/unicode-display_width
HTTP GET https://index.rubygems.org/info/simplecov
HTTP GET https://index.rubygems.org/info/parser
HTTP 206 Partial Content https://index.rubygems.org/info/tins
HTTP 206 Partial Content https://index.rubygems.org/info/ruby-progressbar
HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
HTTP GET https://index.rubygems.org/info/psych
HTTP 206 Partial Content https://index.rubygems.org/info/unicode-display_width
HTTP 206 Partial Content https://index.rubygems.org/info/simplecov
HTTP GET https://index.rubygems.org/info/rubocop-ast
HTTP 206 Partial Content https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/parser
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop-ast
HTTP 206 Partial Content https://index.rubygems.org/info/psych
Ricerca gem [“needle”, “jruby-pageant”, “bcrypt_pbkdf”, “rbnacl”, “rbnacl-libsodium”, “coffee-script-source”, “powerbar”, “simplecov-html”, “docile”, “lockfile”, “simplecov_json_formatter”, “sync”, “power_assert”, “ast”, “strscan”, “jar-dependencies”]
HTTP GET https://index.rubygems.org/info/power_assert
HTTP GET https://index.rubygems.org/info/bcrypt_pbkdf
HTTP GET https://index.rubygems.org/info/docile
HTTP GET https://index.rubygems.org/info/ast
HTTP 206 Partial Content https://index.rubygems.org/info/power_assert
HTTP 206 Partial Content https://index.rubygems.org/info/bcrypt_pbkdf
HTTP 206 Partial Content https://index.rubygems.org/info/docile
HTTP 206 Partial Content https://index.rubygems.org/info/ast
Ricerca gem [“ansi”, “ruby-maven”, “pattern-match”]
Ricerca gem [“maven-tools”, “ruby-maven-libs”]
Ricerca gem [“virtus”]
Ricerca gem [“descendants_tracker”, “axiom-types”, “coercible”, “equalizer”]
Ricerca gem [“ice_nine”, “adamantium”]
Ricerca gem [“memoizable”]
Bundler::GemNotFound: Il tuo bundle è bloccato su msgpack (1.4.1), ma quella versione non è stata trovata in nessuna delle sorgenti elencate nel tuo Gemfile. Se non hai cambiato le sorgenti, questo significa che l’autore di msgpack (1.4.1) l’ha rimossa. Dovrai aggiornare il tuo bundle a una versione diversa da msgpack (1.4.1) che non sia stata rimossa per poter installare.
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/definition.rb:180:in rescue in specs' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/definition.rb:174:in specs’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/definition.rb:163:in resolve_remotely!' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/installer.rb:289:in resolve_if_needed’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/installer.rb:83:in block in run' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/process_lock.rb:12:in block in lock’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/process_lock.rb:9:in open' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/process_lock.rb:9:in lock’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/installer.rb:72:in run' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/installer.rb:24:in install’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/cli/install.rb:64:in run' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/cli.rb:259:in block in install’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/settings.rb:115:in temporary' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/cli.rb:258:in install’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/cli.rb:30:in dispatch’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/cli.rb:24:in start’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/exe/bundle:49:in block in <top (required)>' /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/lib/bundler/friendly_errors.rb:130:in with_friendly_errors’
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.7/exe/bundle:37:in <top (required)>' /usr/local/bin/bundle:23:in load’
/usr/local/bin/bundle:23:in `’

I, [2021-02-01T03:58:11.750542 #1] INFO – : Terminazione dei processi asincroni
I, [2021-02-01T03:58:11.750621 #1] INFO – : Invio di INT a 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: 51
I, [2021-02-01T03:58:11.750764 #1] INFO – : Invio di TERM a exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 168
2021-02-01 03:58:11.750 UTC [51] LOG: richiesta di arresto rapido ricevuta
168:signal-handler (1612151891) Segnale SIGTERM ricevuto, pianificazione arresto…
2021-02-01 03:58:11.758 UTC [51] LOG: annullamento di eventuali transazioni attive
2021-02-01 03:58:11.760 UTC [51] LOG: worker di background “logical replication launcher” (PID 60) terminato con codice di uscita 1
2021-02-01 03:58:11.760 UTC [55] LOG: arresto in corso
168:M 01 Feb 2021 03:58:11.797 # Arresto richiesto dall’utente…
168:M 01 Feb 2021 03:58:11.797 * Salvataggio dell’ultimo snapshot RDB prima dell’uscita.
2021-02-01 03:58:11.856 UTC [51] LOG: sistema database arrestato
168:M 01 Feb 2021 03:58:13.745 * DB salvato su disco
168:M 01 Feb 2021 03:58:13.745 # Redis è pronto per uscire, arrivederci…

FALLITO

Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle install --deployment --retry 3 --jobs 4 --verbose --without test development’ fallito con ritorno #<Process::Status: pid 392 exit 7>
Posizione del fallimento: /pups/lib/pups/exec_command.rb:112:in `spawn’
exec fallito con i parametri {“cd”=>“$home”, “hook”=>“bundle_exec”, “cmd”=>[“su discourse -c ‘bundle install --deployment --retry 3 --jobs 4 --verbose --without test development’”]}
eb0b52e906b32d9975663e5c4ea8fcd101c0ea3a8bd481fb7a2a70fe79116fc6
** BOOTSTRAP FALLITO ** scorri verso l’alto e cerca messaggi di errore precedenti, potrebbero essercene più di uno.
./discourse-doctor può aiutare a diagnosticare il problema.
openener@h79-143-80-210:/var/discourse$


L'errore sembra essere

`createdb: errore: creazione del database fallita: ERRORE:  il database "discourse" esiste già`

Qualche idea su come risolvere? Il mio sito è attualmente offline. Funzionava perfettamente prima di eseguire l'aggiornamento basato sul web :grimacing:

Sembra che l'errore di creazione del database che ho sperimentato sia simile al post qui sotto. È preoccupante che l'unica via d'uscita sia stata quella di ricostruire da un backup?  

https://meta.discourse.org/t/problem-upgrading-discourse/122382/5

Successo! Sono riuscito a far funzionare il mio sito disattivando tutti i plugin

#          - git clone https://github.com/discourse/docker_manager.git
#          - git clone https://github.com/discourse/discourse-tagging.git
#          - git clone https://github.com/discourse/discourse-solved.git
#          - git clone https://github.com/discourse/discourse-oauth2-basic.git
#          - git clone https://github.com/discourse/discourse-akismet.git
#          - git clone https://github.com/discourse/discourse-staff-notes.git

Poi ho eseguito la ricostruzione.

È strano che questo abbia causato il problema, dato che penso di utilizzare solo plugin ufficiali. Non ho ancora capito quale plugin abbia causato il problema. Posso rimandare la ricerca a domani, ora ho bisogno di dormire :sleeping:

No, non è quello il motivo.

Il problema è

L’autore di msgpack lo ha rimosso, quindi @tgxworld ha risolto questo problema tramite

https://github.com/discourse/discourse/commit/7e4dad3c565a6839f4a0e0e8ef1e4c86e639f3f7

Grazie, è una buona notizia che il problema sia stato risolto.

Quindi dovrei poter riattivare i miei plugin e ricostruire di nuovo? Immagino che debba aspettare il rilascio di una nuova immagine base di Discourse su Docker Hub che includa questa correzione, il che potrebbe richiedere qualche giorno?

Sì. La questione dei plugin è stata un falso allarme.

Scarichiamo l’ultimo codice quando ricominci a costruire, non c’è bisogno di aspettare.

Grazie, ora è tutto a posto.

Ho riattivato i plugin, ricostruito e ora tutto è tornato a funzionare come prima.

Grazie per il tuo aiuto :+1:

Ho riscontrato anche io questo problema, dalla versione 2.7.0 beta5 alla 2.7.0 beta7 su Ubuntu 20.4, con un messaggio di errore quasi identico a quello sopra.

Il messaggio: Avvio di 1 worker Unicorn che era inizialmente fermato

Errore durante l’esecuzione di

cd /var/discourse
git pull
./launcher rebuild app

La mia soluzione:

  1. Ripristino del mio droplet/di un backup
  2. Aggiornamento prima del componente del tema
  3. Non ho abilitato la modalità di sola lettura
  4. Aggiornamento uno alla volta e non utilizzando il pulsante “aggiorna tutto”

Grazie