J’ai rencontré le même problème, la mise à jour automatique a échoué
"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: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 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.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>'
Démarrage de 2 travailleurs Unicorn qui étaient arrêtés initialement
J’ai ensuite essayé une mise à niveau manuelle
cd /var/discourse
git pull
./launcher rebuild app
Cependant, cela a également échoué
Arrêt de l'ancien conteneur
+ /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 -- : Loading --stdin
I, [2021-02-01T03:57:10.346332 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2021-02-01T03:57:10.480618 #1] INFO -- : Génération des locales (cela peut prendre un moment)...
Génération terminée.
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 already running stop 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 -- : Remplacement de data_directory = '/var/lib/postgresql/13/main' par data_directory = '/shared/postgres_data' dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.378818 #1] INFO -- : Remplacement de (?-mix:#?listen_addresses *=.*) par listen_addresses = '*' dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.382268 #1] INFO -- : Remplacement de (?-mix:#?synchronous_commit *=.*) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.384348 #1] INFO -- : Remplacement de (?-mix:#?shared_buffers *=.*) par shared_buffers = $db_shared_buffers dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.391671 #1] INFO -- : Remplacement de (?-mix:#?work_mem *=.*) par work_mem = $db_work_mem dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.393787 #1] INFO -- : Remplacement de (?-mix:#?default_text_search_config *=.*) par default_text_search_config = '$db_default_text_search_config' dans /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 -- : Remplacement de (?-mix:#?checkpoint_segments *=.*) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.407183 #1] INFO -- : Remplacement de (?-mix:#?logging_collector *=.*) par logging_collector = $db_logging_collector dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.409314 #1] INFO -- : Remplacement de (?-mix:#?log_min_duration_statement *=.*) par log_min_duration_statement = $db_log_min_duration_statement dans /etc/postgresql/13/main/postgresql.conf
I, [2021-02-01T03:57:12.413327 #1] INFO -- : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres peer dans /etc/postgresql/13/main/pg_hba.conf
I, [2021-02-01T03:57:12.413688 #1] INFO -- : Remplacement de (?-mix:^host.*all.*all.*127.*$) par host all all 0.0.0.0/0 md5 dans /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: démarrage de PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) sur x86_64-pc-linux-gnu, compilé par gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-02-01 03:57:12.673 UTC [51] LOG: écoute sur l'adresse IPv4 "0.0.0.0", port 5432
2021-02-01 03:57:12.673 UTC [51] LOG: écoute sur l'adresse IPv6 "::", port 5432
2021-02-01 03:57:12.694 UTC [51] LOG: écoute sur le socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2021-02-01 03:57:12.720 UTC [54] LOG: le système de bases de données a été arrêté le 2021-02-01 03:26:51 UTC
2021-02-01 03:57:12.735 UTC [51] LOG: le système de bases de données est prêt à accepter des connexions
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: la base de données « discourse » existe déjà
2021-02-01 03:57:17.626 UTC [64] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: échec de la création de la base de données : ERROR: la base de données « discourse » existe déjà
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: le rôle « discourse » existe déjà
2021-02-01 03:57:17.769 UTC [75] postgres@discourse STATEMENT: create user discourse;
ERROR: le rôle « discourse » existe déjà
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'extension « hstore » existe déjà, ignorée
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'extension « pg_trgm » existe déjà, ignorée
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'extension « hstore » existe déjà, ignorée
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'extension « pg_trgm » existe déjà, ignorée
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 installed!
I, [2021-02-01T03:57:18.374500 #1] INFO -- : postgres installed!
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 -- : Remplacement de daemonize yes par dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.398835 #1] INFO -- : Remplacement de (?-mix:^pidfile.*$) par dans /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 -- : Remplacement de (?-mix:^logfile.*$) par logfile "" dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.407064 #1] INFO -- : Remplacement de (?-mix:^bind .*$) par dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.414920 #1] INFO -- : Remplacement de (?-mix:^dir .*$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.420668 #1] INFO -- : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.423159 #1] INFO -- : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /etc/redis/redis.conf
I, [2021-02-01T03:57:18.425647 #1] INFO -- : > echo redis installed
I, [2021-02-01T03:57:18.427926 #1] INFO -- : redis installed
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 is starting oO0OoO0OoO0Oo
168:C 01 Feb 2021 03:57:18.468 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=168, just started
168:C 01 Feb 2021 03:57:18.468 # Configuration loaded
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ 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: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
168:M 01 Feb 2021 03:57:18.473 # Server initialized
168:M 01 Feb 2021 03:57:18.473 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
168:M 01 Feb 2021 03:57:18.473 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled (set to 'madvise' or 'never').
168:M 01 Feb 2021 03:57:18.473 * Loading RDB produced by version 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 loaded from disk: 0.120 seconds
168:M 01 Feb 2021 03:57:18.592 * Ready to accept connections
I, [2021-02-01T03:57:28.442661 #1] INFO -- :
I, [2021-02-01T03:57:28.443061 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-02-01T03:57:28.449163 #1] INFO -- : thpoff is installed!
I, [2021-02-01T03:57:28.449464 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [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 "Aborting! Domain is not configured!"; 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 "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; 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 -- : Remplacement de # postgres par sv start postgres || exit 1 dans /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 is starting oO0OoO0OoO0Oo
197:C 01 Feb 2021 03:57:29.322 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=197, just started
197:C 01 Feb 2021 03:57:29.322 # Configuration loaded
197:M 01 Feb 2021 03:57:29.323 # Could not create server TCP listening socket *:6379: bind: Address already in use
Checking out files: 100% (28296/28296), done.
I, [2021-02-01T03:57:32.940750 #1] INFO -- : HEAD is now at c4552e9c FIX: Autoplay videos must always be muted (#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 -- : Remplacement de # redis par sv start redis || exit 1 dans /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 -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2021-02-01T03:57:49.145074 #1] INFO -- : Remplacement de (?m-ix:upstream[^\}]+\}) par upstream discourse { server 127.0.0.1:3000; } dans /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.145309 #1] INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.150035 #1] INFO -- : Remplacement de (?-mix:client_max_body_size.+$) par client_max_body_size $upload_size ; dans /etc/nginx/conf.d/discourse.conf
I, [2021-02-01T03:57:49.151963 #1] INFO -- : > echo "done configuring web"
I, [2021-02-01T03:57:49.154586 #1] INFO -- : done configuring web
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 -- : Updating installed gems
Updating bundler
Successfully installed bundler-2.2.7
Gems updated: bundler
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'
[DÉPRÉCIÉ] L'option `--deployment` est dépréciée car elle repose sur le fait d'être mémorisée entre les appels de bundler, ce que bundler ne fera plus dans les futures versions. Veuillez plutôt utiliser `bundle config set --local deployment 'true'`, et arrêter d'utiliser cette option
[DÉPRÉCIÉ] L'option `--without` est dépréciée car elle repose sur le fait d'être mémorisée entre les appels de bundler, ce que bundler ne fera plus dans les futures versions. Veuillez plutôt utiliser `bundle config set --local without 'test development'`, et arrêter d'utiliser cette option
Votre bundle est verrouillé sur msgpack (1.4.1), mais cette version n'a pas pu être trouvée dans
aucune des sources listées dans votre Gemfile. Si vous n'avez pas changé les sources, cela
signifie que l'auteur de msgpack (1.4.1) l'a supprimée. Vous devrez mettre à jour votre
bundle vers une version autre que msgpack (1.4.1) qui n'ait pas été supprimée afin
de procéder à l'installation.
I, [2021-02-01T03:58:11.750041 #1] INFO -- : Exécution de `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` avec bundler 2.2.7
Gelé, utilisation de la résolution depuis le fichier de verrouillage
La définition manque de ["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
Récupération des métadonnées du gem depuis https://rubygems.org/
Recherche des gems ["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
Recherche des gems ["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
Recherche des gems ["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
Recherche des gems ["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
Recherche des gems ["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
Recherche des gems ["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
Recherche des gems ["ansi", "ruby-maven", "pattern-match"]
Recherche des gems ["maven-tools", "ruby-maven-libs"]
Recherche des gems ["virtus"]
Recherche des gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
Recherche des gems ["ice_nine", "adamantium"]
Recherche des gems ["memoizable"]
Bundler::GemNotFound : Votre bundle est verrouillé sur msgpack (1.4.1), mais cette version n'a pas pu être trouvée dans aucune des sources listées dans votre Gemfile. Si vous n'avez pas changé les sources, cela signifie que l'auteur de msgpack (1.4.1) l'a supprimée. Vous devrez mettre à jour votre bundle vers une version autre que msgpack (1.4.1) qui n'ait pas été supprimée afin de procéder à l'installation.
/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 `<main>'
I, [2021-02-01T03:58:11.750542 #1] INFO -- : Terminaison des processus asynchrones
I, [2021-02-01T03:58:11.750621 #1] INFO -- : Envoi de INT à 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 -- : Envoi de TERM à 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 : demande d'arrêt rapide reçue
168:signal-handler (1612151891) SIGTERM reçu, planification de l'arrêt...
2021-02-01 03:58:11.758 UTC [51] LOG : annulation des transactions actives
2021-02-01 03:58:11.760 UTC [51] LOG : travailleur d'arrière-plan "logical replication launcher" (PID 60) arrêté avec le code de sortie 1
2021-02-01 03:58:11.760 UTC [55] LOG : arrêt en cours
168:M 01 Feb 2021 03:58:11.797 # Arrêt demandé par l'utilisateur...
168:M 01 Feb 2021 03:58:11.797 * Sauvegarde de la dernière snapshot RDB avant de quitter.
2021-02-01 03:58:11.856 UTC [51] LOG : système de base de données arrêté
168:M 01 Feb 2021 03:58:13.745 * DB sauvegardée sur le disque
168:M 01 Feb 2021 03:58:13.745 # Redis est maintenant prêt à quitter, au revoir...
ÉCHEC
--------------------
Pups::ExecError : cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development' a échoué avec le retour #<Process::Status: pid 392 exit 7>
Lieu de l'échec : /pups/lib/pups/exec_command.rb:112:in `spawn'
exec a échoué avec les paramètres {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'"]}
eb0b52e906b32d9975663e5c4ea8fcd101c0ea3a8bd481fb7a2a70fe79116fc6
** ÉCHEC DU BOOTSTRAP ** veuillez remonter et rechercher les messages d'erreur précédents, il peut y en avoir plus d'un.
./discourse-doctor peut aider à diagnostiquer le problème.
openener@h79-143-80-210:/var/discourse$
Avez-vous des idées pour résoudre ce problème ? Mon site est actuellement hors ligne. Il fonctionnait parfaitement avant d’exécuter la mise à jour via l’interface web
Il semble que l’erreur de création de base de données que j’ai rencontrée soit similaire à celle de ce message ci-dessous. Il est inquiétant que la seule solution ait été de reconstruire à partir d’une sauvegarde ?
C’est étrange que cela ait causé le problème, car je pense n’utiliser que des plugins officiels. Je n’ai pas encore identifié quel plugin est à l’origine du problème. Je pourrai m’en occuper demain, j’ai besoin de dormir maintenant
Merci, c’est une bonne nouvelle que le problème ait été résolu.
Donc, je devrais pouvoir réactiver mes plugins et reconstruire à nouveau ? Je suppose que je dois attendre qu’une nouvelle image de base Discourse sur Docker Hub soit publiée avec cette correction, ce qui pourrait prendre quelques jours ?
J’ai rencontré ce problème également, de la version 2.7.0 bêta5 à la 2.7.0 bêta7 sous Ubuntu 20.4, avec un message d’erreur très similaire à celui ci-dessus.
Le message : Démarrage de 1 travailleur Unicorn(s) qui étaient initialement arrêtés
Échec de :
cd /var/discourse
git pull
./launcher rebuild app
Ma solution :
Restaurer mon droplet / sauvegarde
Mettre à jour le composant de thème en premier
Je n’ai pas activé le mode lecture seule
Mettre à jour un par un et ne pas utiliser le bouton « tout mettre à jour »