Discourse installation fails on a fresh Ubuntu 22.04LTS Server.
Key take aways seem to be about:
Failure listening on port 6379
-
An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz: ESOCKETTIMEDOUT"
. [3/5] Fetching packages... info There appears to be trouble with your network connection. Retrying...
The rest of the console log is here:
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
2.0.20230502-0058: Pulling from discourse/base
Digest: sha256:fa95da36c3d3a582d644b139ec678f5778d745697454bc86f598c689031b30aa
Status: Image is up to date for discourse/base:2.0.20230502-0058
docker.io/discourse/base:2.0.20230502-0058
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-05-07T12:05:04.539866 #1] INFO -- : Reading from stdin
I, [2023-05-07T12:05:04.546394 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-05-07T12:05:04.660188 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2023-05-07T12:05:04.660484 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-05-07T12:05:04.673331 #1] INFO -- :
I, [2023-05-07T12:05:04.675066 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-05-07T12:05:04.680819 #1] INFO -- :
I, [2023-05-07T12:05:04.681490 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-05-07T12:05:04.686777 #1] INFO -- :
I, [2023-05-07T12:05:04.687466 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-05-07T12:05:04.692307 #1] INFO -- :
I, [2023-05-07T12:05:04.693228 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-05-07T12:05:04.699774 #1] INFO -- :
I, [2023-05-07T12:05:04.700295 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2023/05/07 12:05:04 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-05-07T12:05:04.744608 #1] INFO -- :
I, [2023-05-07T12:05:04.745030 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-05-07T12:05:04.749765 #1] INFO -- :
I, [2023-05-07T12:05:04.750379 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-05-07T12:05:04.754536 #1] INFO -- :
I, [2023-05-07T12:05:04.755124 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-05-07T12:05:04.758496 #1] INFO -- :
I, [2023-05-07T12:05:04.759056 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-05-07T12:05:04.762381 #1] INFO -- :
I, [2023-05-07T12:05:04.771096 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-05-07T12:05:04.777848 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-05-07T12:05:04.785193 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-05-07T12:05:04.791975 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-05-07T12:05:04.792769 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-05-07T12:05:07.919753 #1] INFO -- :
I, [2023-05-07T12:05:07.920641 #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, [2023-05-07T12:05:07.924131 #1] INFO -- :
I, [2023-05-07T12:05:07.924453 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-05-07T12:05:07.961773 #1] INFO -- :
I, [2023-05-07T12:05:07.962051 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-05-07T12:05:07.966111 #1] INFO -- :
I, [2023-05-07T12:05:07.966677 #1] INFO -- : > /root/upgrade_postgres
I, [2023-05-07T12:05:07.977176 #1] INFO -- :
I, [2023-05-07T12:05:07.977871 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-05-07T12:05:07.981532 #1] INFO -- :
I, [2023-05-07T12:05:07.984567 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.985718 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.986774 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.988037 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.989187 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.990294 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:07.991276 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-05-07T12:05:08.001041 #1] INFO -- :
I, [2023-05-07T12:05:08.002071 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:08.002762 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:08.003976 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-07T12:05:08.005775 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-05-07T12:05:08.006438 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2023-05-07T12:05:08.007408 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2023-05-07T12:05:08.008275 #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, [2023-05-07T12:05:08.011213 #1] INFO -- : > sleep 5
2023-05-07 12:05:08.251 UTC [41] LOG: starting PostgreSQL 13.10 (Debian 13.10-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-05-07 12:05:08.252 UTC [41] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-05-07 12:05:08.252 UTC [41] LOG: listening on IPv6 address "::", port 5432
2023-05-07 12:05:08.257 UTC [41] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-05-07 12:05:08.267 UTC [44] LOG: database system was shut down at 2023-05-07 11:31:27 UTC
2023-05-07 12:05:08.292 UTC [41] LOG: database system is ready to accept connections
I, [2023-05-07T12:05:13.016044 #1] INFO -- :
I, [2023-05-07T12:05:13.016840 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-05-07 12:05:13.195 UTC [54] postgres@postgres ERROR: database "discourse" already exists
2023-05-07 12:05:13.195 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2023-05-07T12:05:13.198892 #1] INFO -- :
I, [2023-05-07T12:05:13.199959 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-05-07 12:05:13.299 UTC [58] postgres@discourse ERROR: role "discourse" already exists
2023-05-07 12:05:13.299 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2023-05-07T12:05:13.303279 #1] INFO -- :
I, [2023-05-07T12:05:13.304125 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-05-07T12:05:13.369204 #1] INFO -- : GRANT
I, [2023-05-07T12:05:13.370352 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-05-07T12:05:13.433857 #1] INFO -- : ALTER SCHEMA
I, [2023-05-07T12:05:13.434726 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-05-07T12:05:13.524487 #1] INFO -- : CREATE EXTENSION
I, [2023-05-07T12:05:13.525343 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-05-07T12:05:13.585308 #1] INFO -- : CREATE EXTENSION
I, [2023-05-07T12:05:13.586144 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-05-07T12:05:13.650563 #1] INFO -- : CREATE EXTENSION
I, [2023-05-07T12:05:13.651460 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-05-07T12:05:13.712661 #1] INFO -- : CREATE EXTENSION
I, [2023-05-07T12:05:13.713840 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-05-07T12:05:13.718676 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2023-05-07T12:05:13.831609 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-05-07T12:05:13.838446 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-05-07T12:05:13.838982 #1] INFO -- : > echo postgres installed!
I, [2023-05-07T12:05:13.843636 #1] INFO -- : postgres installed!
I, [2023-05-07T12:05:13.851509 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-05-07T12:05:13.858957 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-05-07T12:05:13.866173 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-05-07T12:05:13.868786 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.870105 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.874328 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-05-07T12:05:13.878984 #1] INFO -- :
I, [2023-05-07T12:05:13.879788 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.880785 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.882834 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.884793 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.886745 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-05-07T12:05:13.889097 #1] INFO -- : > echo redis installed
I, [2023-05-07T12:05:13.893105 #1] INFO -- : redis installed
I, [2023-05-07T12:05:13.893576 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-05-07T12:05:13.904492 #1] INFO -- : logfile ""
I, [2023-05-07T12:05:13.905209 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-05-07T12:05:13.908499 #1] INFO -- : > sleep 10
102:C 07 May 2023 12:05:13.933 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
102:C 07 May 2023 12:05:13.933 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=102, just started
102:C 07 May 2023 12:05:13.934 # Configuration loaded
102:M 07 May 2023 12:05:13.935 * monotonic clock: POSIX clock_gettime
102:M 07 May 2023 12:05:13.938 * Running mode=standalone, port=6379.
102:M 07 May 2023 12:05:13.939 # Server initialized
102:M 07 May 2023 12:05:13.942 * Loading RDB produced by version 7.0.7
102:M 07 May 2023 12:05:13.943 * RDB age 2026 seconds
102:M 07 May 2023 12:05:13.943 * RDB memory usage when created 0.82 Mb
102:M 07 May 2023 12:05:13.943 * Done loading RDB, keys loaded: 0, keys expired: 0.
102:M 07 May 2023 12:05:13.943 * DB loaded from disk: 0.001 seconds
102:M 07 May 2023 12:05:13.943 * Ready to accept connections
I, [2023-05-07T12:05:23.912749 #1] INFO -- :
I, [2023-05-07T12:05:23.913589 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-05-07T12:05:23.920284 #1] INFO -- : thpoff is installed!
I, [2023-05-07T12:05:23.920874 #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, [2023-05-07T12:05:24.024728 #1] INFO -- :
I, [2023-05-07T12:05:24.025539 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2023-05-07T12:05:24.128182 #1] INFO -- :
I, [2023-05-07T12:05:24.128880 #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, [2023-05-07T12:05:24.214528 #1] INFO -- :
I, [2023-05-07T12:05:24.215194 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-05-07T12:05:24.220322 #1] INFO -- :
I, [2023-05-07T12:05:24.225112 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-05-07T12:05:24.233974 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-05-07T12:05:24.241775 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-05-07T12:05:24.249185 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-05-07T12:05:24.256657 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-05-07T12:05:24.264098 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-05-07T12:05:24.264712 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-05-07T12:05:24.265389 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-05-07T12:05:24.269969 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
129:C 07 May 2023 12:05:24.279 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
129:C 07 May 2023 12:05:24.280 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=129, just started
129:C 07 May 2023 12:05:24.280 # Configuration loaded
129:M 07 May 2023 12:05:24.281 * monotonic clock: POSIX clock_gettime
129:M 07 May 2023 12:05:24.282 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
129:M 07 May 2023 12:05:24.282 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33085/33085), done.
I, [2023-05-07T12:05:31.780874 #1] INFO -- : HEAD is now at a8e28060d FIX: rename notify_about_flags_after to notify_about_reviewable_item_after (#21320)
I, [2023-05-07T12:05:31.787251 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-05-07T12:05:32.101166 #1] INFO -- :
I, [2023-05-07T12:05:32.101553 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
git remote set-branches --add origin main
git remote set-branches origin tests-passed
git fetch --depth 1 origin tests-passed
else
git fetch --tags --prune-tags --prune --force origin
fi
'
From https://github.com/discourse/discourse
- [deleted] (none) -> origin/a11y-select-kit-close-on-focus-out
- [deleted] (none) -> origin/app-inject
- [deleted] (none) -> origin/bump-eslint
- [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/babel/core-7.21.5
- [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/babel/standalone-7.21.7
- [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/jsdom-21.1.2
- [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.0
- [deleted] (none) -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.2.0
- [deleted] (none) -> origin/dev_fix_test
- [deleted] (none) -> origin/feature_notification_admin_problems
- [deleted] (none) -> origin/fix-username-validation
- [deleted] (none) -> origin/loic-set-limits-for-reviewables
- [deleted] (none) -> origin/old-styles
a8e28060d..83f1a1337 main -> origin/main
* [new branch] 0-fix-inj -> origin/0-fix-inj
+ e5efacf69...b3cfecbd9 default-to-subcategory-on-read-only-categories -> origin/default-to-subcategory-on-read-only-categories (forced update)
* [new branch] dependabot/bundler/rspec-rails-6.0.2 -> origin/dependabot/bundler/rspec-rails-6.0.2
* [new branch] dependabot/npm_and_yarn/app/assets/javascripts/jsdom-22.0.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/jsdom-22.0.0
* [new branch] dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.1 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.1
* [new branch] dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.3.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.3.0
+ b8e4996b9...f16673f79 dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.2.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.2.0 (forced update)
+ 3ed9e6173...4ae8c98dd dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.3.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.3.0 (forced update)
+ 3bb7b79f0...8e7c9354f dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.2.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.2.0 (forced update)
43bbc443c..0532a1c3d dev-new-user-menu-default-enable -> origin/dev-new-user-menu-default-enable
* [new branch] dev/delete-old-personal-message-settings -> origin/dev/delete-old-personal-message-settings
+ 895956cb1...10ea7a4f0 ember-this-fallback -> origin/ember-this-fallback (forced update)
10dda035f..4838c2950 feature/add-user-status-to-inline-mentions-on-chat -> origin/feature/add-user-status-to-inline-mentions-on-chat
* [new branch] feature/add-user-status-to-inline-mentions-on-chat-in-progress -> origin/feature/add-user-status-to-inline-mentions-on-chat-in-progress
* [new branch] feature/status-on-mentions-on-updated-chat-messages -> origin/feature/status-on-mentions-on-updated-chat-messages
* [new branch] feature_user_tips -> origin/feature_user_tips
* [new branch] fix-select-kit-click-outside-regression -> origin/fix-select-kit-click-outside-regression
* [new branch] fix-tests -> origin/fix-tests
* [new branch] fix_inactive_user_card -> origin/fix_inactive_user_card
* [new branch] fix_utf8 -> origin/fix_utf8
+ 4e8828636...c7ddb4f19 generic-import -> origin/generic-import (forced update)
+ 0eeb01892...f5f7e58fa headless-new -> origin/headless-new (forced update)
* [new branch] implicit-injections-v2 -> origin/implicit-injections-v2
+ ec1a0d83f...99f0e8336 modal-named-outlet -> origin/modal-named-outlet (forced update)
* [new branch] offline-app-testing -> origin/offline-app-testing
* [new branch] sk-loading-slider -> origin/sk-loading-slider
* [new branch] sk-tab-accessibility -> origin/sk-tab-accessibility
845000a6c..784006c71 stable -> origin/stable
* [new branch] tag-displayName -> origin/tag-displayName
a8e28060d..83f1a1337 tests-passed -> origin/tests-passed
* [new branch] try-buildjet -> origin/try-buildjet
+ 42b7246b2...bf6c559f0 ux_welcome_topic -> origin/ux_welcome_topic (forced update)
I, [2023-05-07T12:05:33.186706 #1] INFO -- :
I, [2023-05-07T12:05:33.186868 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
set -o errexit
if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
git pull
else
git -c advice.detachedHead=false checkout tests-passed
fi
'
Switched to a new branch 'tests-passed'
I, [2023-05-07T12:05:36.080520 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2023-05-07T12:05:36.080829 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-05-07T12:05:36.096347 #1] INFO -- :
I, [2023-05-07T12:05:36.096581 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-05-07T12:05:36.105434 #1] INFO -- :
I, [2023-05-07T12:05:36.106059 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-05-07T12:05:36.113771 #1] INFO -- :
I, [2023-05-07T12:05:36.114176 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-05-07T12:05:36.120498 #1] INFO -- :
I, [2023-05-07T12:05:36.120790 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-05-07T12:05:36.126361 #1] INFO -- :
I, [2023-05-07T12:05:36.126640 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-05-07T12:05:36.134332 #1] INFO -- :
I, [2023-05-07T12:05:36.135232 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-05-07T12:05:36.142282 #1] INFO -- :
I, [2023-05-07T12:05:36.142556 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-05-07T12:05:36.150458 #1] INFO -- :
I, [2023-05-07T12:05:36.151397 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2023-05-07T12:05:36.161418 #1] INFO -- :
I, [2023-05-07T12:05:36.161726 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-05-07T12:05:36.170099 #1] INFO -- :
I, [2023-05-07T12:05:36.170386 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-05-07T12:05:36.178000 #1] INFO -- :
I, [2023-05-07T12:05:36.178190 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-05-07T12:05:36.187455 #1] INFO -- :
I, [2023-05-07T12:05:36.188202 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-05-07T12:05:36.196355 #1] INFO -- :
I, [2023-05-07T12:05:36.196836 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-05-07T12:05:36.206318 #1] INFO -- :
I, [2023-05-07T12:05:36.207087 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-05-07T12:05:36.221070 #1] INFO -- :
I, [2023-05-07T12:05:36.226051 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-05-07T12:05:36.228290 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-05-07T12:05:37.388848 #1] INFO -- :
I, [2023-05-07T12:05:37.389813 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-05-07T12:05:37.403667 #1] INFO -- :
I, [2023-05-07T12:05:37.404633 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-05-07T12:05:37.411650 #1] INFO -- :
I, [2023-05-07T12:05:37.412393 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2023-05-07T12:05:37.419873 #1] INFO -- :
I, [2023-05-07T12:05:37.421273 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-05-07T12:05:37.426051 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-05-07T12:05:37.426830 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-05-07T12:05:37.427685 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-05-07T12:05:37.428721 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-05-07T12:05:37.429212 #1] INFO -- : > echo "done configuring web"
I, [2023-05-07T12:05:37.432836 #1] INFO -- : done configuring web
I, [2023-05-07T12:05:37.433619 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-05-07T12:05:38.745410 #1] INFO -- : Successfully installed bundler-2.4.4
1 gem installed
I, [2023-05-07T12:05:38.745689 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-05-07T12:05:56.767639 #1] INFO -- :
I, [2023-05-07T12:05:56.770274 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz: ESOCKETTIMEDOUT".
I, [2023-05-07T12:09:42.395368 #1] INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info If you think this is a bug, please open a bug report with the information provided in "/var/www/discourse/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I, [2023-05-07T12:09:42.413716 #1] INFO -- : Terminating async processes
I, [2023-05-07T12:09:42.414196 #1] INFO -- : Sending INT to 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: 41
I, [2023-05-07T12:09:42.414362 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 102
2023-05-07 12:09:42.415 UTC [41] LOG: received fast shutdown request
102:signal-handler (1683461382) Received SIGTERM scheduling shutdown...
2023-05-07 12:09:42.427 UTC [41] LOG: aborting any active transactions
102:M 07 May 2023 12:09:42.612 # User requested shutdown...
102:M 07 May 2023 12:09:42.614 * Saving the final RDB snapshot before exiting.
2023-05-07 12:09:42.616 UTC [41] LOG: background worker "logical replication launcher" (PID 50) exited with exit code 1
102:M 07 May 2023 12:09:42.626 * DB saved on disk
2023-05-07 12:09:42.627 UTC [45] LOG: shutting down
102:M 07 May 2023 12:09:42.627 # Redis is now ready to exit, bye bye...
2023-05-07 12:09:42.888 UTC [41] LOG: database system is shut down
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' failed with return #<Process::Status: pid 276 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
f11564bffffe2d23984c42620c8ce6a456fc623ab6ac8093558b981522fd76fe
Thanks