Skip to content

Instantly share code, notes, and snippets.

@whitewatercn
Created June 8, 2023 02:57
Show Gist options
  • Save whitewatercn/f916f6413db482b4d8115cebaac350a7 to your computer and use it in GitHub Desktop.
Save whitewatercn/f916f6413db482b4d8115cebaac350a7 to your computer and use it in GitHub Desktop.
root@cvm-3k8ngdw25i225:/var/discourse# ./launcher rebuild app
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-06-08T01:17:55.333222 #1] INFO -- : Reading from stdin
I, [2023-06-08T01:17:55.342786 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-06-08T01:17:56.734058 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2023-06-08T01:17:56.735035 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-06-08T01:17:56.851497 #1] INFO -- :
I, [2023-06-08T01:17:56.852925 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-06-08T01:17:56.896110 #1] INFO -- :
I, [2023-06-08T01:17:56.897788 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-06-08T01:17:56.945264 #1] INFO -- :
I, [2023-06-08T01:17:56.946653 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-06-08T01:17:56.994345 #1] INFO -- :
I, [2023-06-08T01:17:56.995865 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-06-08T01:17:57.028296 #1] INFO -- :
I, [2023-06-08T01:17:57.029553 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2023/06/08 01:17:57 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-06-08T01:17:57.563290 #1] INFO -- :
I, [2023-06-08T01:17:57.563861 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-06-08T01:17:57.569192 #1] INFO -- :
I, [2023-06-08T01:17:57.570342 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-06-08T01:17:57.575713 #1] INFO -- :
I, [2023-06-08T01:17:57.576706 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-06-08T01:17:57.581358 #1] INFO -- :
I, [2023-06-08T01:17:57.582670 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-06-08T01:17:57.586805 #1] INFO -- :
I, [2023-06-08T01:17:57.608768 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-06-08T01:17:57.615686 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-06-08T01:17:57.633638 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-06-08T01:17:57.641809 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-06-08T01:17:57.642850 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-06-08T01:18:56.941811 #1] INFO -- :
I, [2023-06-08T01:18:56.945182 #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-06-08T01:18:56.950978 #1] INFO -- :
I, [2023-06-08T01:18:56.951523 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-06-08T01:18:57.374205 #1] INFO -- :
I, [2023-06-08T01:18:57.375426 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-06-08T01:18:57.379323 #1] INFO -- :
I, [2023-06-08T01:18:57.380317 #1] INFO -- : > /root/upgrade_postgres
I, [2023-06-08T01:18:57.435865 #1] INFO -- :
I, [2023-06-08T01:18:57.436798 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-06-08T01:18:57.440194 #1] INFO -- :
I, [2023-06-08T01:18:57.498786 #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-06-08T01:18:57.501215 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.508039 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.524443 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.541751 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.558150 #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-06-08T01:18:57.574090 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-06-08T01:18:57.761907 #1] INFO -- :
I, [2023-06-08T01:18:57.763712 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.764562 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-06-08T01:18:57.765267 #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-06-08T01:18:57.781153 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-06-08T01:18:57.782771 #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-06-08T01:18:57.808310 #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-06-08T01:18:57.824414 #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-06-08T01:18:57.828921 #1] INFO -- : > sleep 5
2023-06-08 01:19:00.387 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-06-08 01:19:00.403 UTC [41] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-06-08 01:19:00.404 UTC [41] LOG: listening on IPv6 address "::", port 5432
2023-06-08 01:19:00.474 UTC [41] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-06-08 01:19:00.710 UTC [44] LOG: database system was shut down at 2023-06-08 01:10:13 UTC
2023-06-08 01:19:00.813 UTC [41] LOG: database system is ready to accept connections
I, [2023-06-08T01:19:02.909437 #1] INFO -- :
I, [2023-06-08T01:19:02.911195 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-06-08 01:19:03.850 UTC [54] postgres@postgres FATAL: database "postgres" does not exist
2023-06-08 01:19:04.970 UTC [55] postgres@template1 LOG: duration: 670.041 ms statement: SELECT pg_catalog.set_config('search_path', '', false);
2023-06-08 01:19:04.972 UTC [55] postgres@template1 ERROR: database "discourse" already exists
2023-06-08 01:19:04.972 UTC [55] postgres@template1 STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2023-06-08T01:19:04.977485 #1] INFO -- :
I, [2023-06-08T01:19:04.978414 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-06-08 01:19:05.654 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2023-06-08 01:19:05.654 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2023-06-08T01:19:05.672856 #1] INFO -- :
I, [2023-06-08T01:19:05.674302 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-06-08T01:19:05.772193 #1] INFO -- : GRANT
I, [2023-06-08T01:19:05.773213 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-06-08T01:19:05.867717 #1] INFO -- : ALTER SCHEMA
I, [2023-06-08T01:19:05.868721 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-06-08T01:19:05.948918 #1] INFO -- : CREATE EXTENSION
I, [2023-06-08T01:19:05.949547 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-06-08T01:19:06.023691 #1] INFO -- : CREATE EXTENSION
I, [2023-06-08T01:19:06.024373 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-06-08T01:19:06.118798 #1] INFO -- : CREATE EXTENSION
I, [2023-06-08T01:19:06.119663 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-06-08T01:19:06.191829 #1] INFO -- : CREATE EXTENSION
I, [2023-06-08T01:19:06.192547 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-06-08T01:19:06.214150 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
2023-06-08 01:19:07.170 UTC [86] postgres@discourse LOG: duration: 678.492 ms statement: update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2023-06-08T01:19:07.195299 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-06-08T01:19:07.244903 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-06-08T01:19:07.246054 #1] INFO -- : > echo postgres installed!
I, [2023-06-08T01:19:07.250159 #1] INFO -- : postgres installed!
I, [2023-06-08T01:19:07.257101 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-06-08T01:19:07.265511 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-06-08T01:19:07.271988 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-06-08T01:19:07.282197 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.284310 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.285433 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-06-08T01:19:07.290300 #1] INFO -- :
I, [2023-06-08T01:19:07.291788 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.299375 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.315901 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.332440 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.350114 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-06-08T01:19:07.365541 #1] INFO -- : > echo redis installed
I, [2023-06-08T01:19:07.369786 #1] INFO -- : redis installed
I, [2023-06-08T01:19:07.370680 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-06-08T01:19:07.499832 #1] INFO -- : logfile ""
I, [2023-06-08T01:19:07.501081 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-06-08T01:19:07.504241 #1] INFO -- : > sleep 10
103:C 08 Jun 2023 01:19:07.727 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
103:C 08 Jun 2023 01:19:07.728 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, just started
103:C 08 Jun 2023 01:19:07.728 # Configuration loaded
103:M 08 Jun 2023 01:19:07.729 * monotonic clock: POSIX clock_gettime
103:M 08 Jun 2023 01:19:07.766 * Running mode=standalone, port=6379.
103:M 08 Jun 2023 01:19:07.767 # Server initialized
103:M 08 Jun 2023 01:19:07.767 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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.
103:M 08 Jun 2023 01:19:07.849 * Loading RDB produced by version 7.0.7
103:M 08 Jun 2023 01:19:07.849 * RDB age 534 seconds
103:M 08 Jun 2023 01:19:07.850 * RDB memory usage when created 0.82 Mb
103:M 08 Jun 2023 01:19:07.850 * Done loading RDB, keys loaded: 0, keys expired: 0.
103:M 08 Jun 2023 01:19:07.850 * DB loaded from disk: 0.002 seconds
103:M 08 Jun 2023 01:19:07.851 * Ready to accept connections
I, [2023-06-08T01:19:17.509450 #1] INFO -- :
I, [2023-06-08T01:19:17.514443 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-06-08T01:19:17.559147 #1] INFO -- : thpoff is installed!
I, [2023-06-08T01:19:17.559674 #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-06-08T01:19:17.680925 #1] INFO -- :
I, [2023-06-08T01:19:17.681881 #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-06-08T01:19:17.789549 #1] INFO -- :
I, [2023-06-08T01:19:17.790666 #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-06-08T01:19:17.894244 #1] INFO -- :
I, [2023-06-08T01:19:17.895278 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-06-08T01:19:17.915757 #1] INFO -- :
I, [2023-06-08T01:19:17.921387 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-06-08T01:19:17.928435 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-06-08T01:19:17.935008 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-06-08T01:19:17.941245 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-06-08T01:19:17.947314 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-06-08T01:19:17.953378 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-06-08T01:19:17.954246 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-06-08T01:19:17.954911 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-06-08T01:19:17.957886 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
130:C 08 Jun 2023 01:19:17.972 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
130:C 08 Jun 2023 01:19:17.973 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=130, just started
130:C 08 Jun 2023 01:19:17.973 # Configuration loaded
130:M 08 Jun 2023 01:19:17.974 * monotonic clock: POSIX clock_gettime
130:M 08 Jun 2023 01:19:17.974 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
130:M 08 Jun 2023 01:19:17.975 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33085/33085), done.
I, [2023-06-08T01:20:28.661341 #1] INFO -- : HEAD is now at a8e28060d FIX: rename notify_about_flags_after to notify_about_reviewable_item_after (#21320)
I, [2023-06-08T01:20:28.663015 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-06-08T01:20:28.966061 #1] INFO -- :
I, [2023-06-08T01:20:28.967255 #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/a-faq-tracking
- [deleted] (none) -> origin/a-template-name
- [deleted] (none) -> origin/a11y-select-kit-close-on-focus-out
- [deleted] (none) -> origin/app-inject
- [deleted] (none) -> origin/attempt-other-ips
- [deleted] (none) -> origin/avatar_sizes
- [deleted] (none) -> origin/bump-eslint
- [deleted] (none) -> origin/custom-header-offset
- [deleted] (none) -> origin/default-to-subcategory-on-read-only-categories
- [deleted] (none) -> origin/dependabot/bundler/i18n-1.13.0
- [deleted] (none) -> origin/dependabot/bundler/json_schemer-0.2.24
- [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-new-user-menu-default-enable
- [deleted] (none) -> origin/dev/circles-performance
- [deleted] (none) -> origin/dev/exctract-mentions-count-method
- [deleted] (none) -> origin/dev_allowed_plugins
- [deleted] (none) -> origin/dev_fix_test
- [deleted] (none) -> origin/dont-process-email-when-mail-is-nil
- [deleted] (none) -> origin/feature/add-user-status-to-inline-mentions-on-chat
- [deleted] (none) -> origin/feature_notification_admin_problems
- [deleted] (none) -> origin/fix-username-validation
- [deleted] (none) -> origin/form-templates-composer
- [deleted] (none) -> origin/loic-connection-handlers-rails-7
- [deleted] (none) -> origin/loic-set-limits-for-reviewables
- [deleted] (none) -> origin/old-styles
- [deleted] (none) -> origin/ux_welcome_topic
a8e28060d..699f3e701 main -> origin/main
* [new branch] 0-bump-rails -> origin/0-bump-rails
* [new branch] 0-fix-subf -> origin/0-fix-subf
* [new branch] a-replace-state -> origin/a-replace-state
* [new branch] a11y-sidebar-contrast -> origin/a11y-sidebar-contrast
* [new branch] add-tag-group-list -> origin/add-tag-group-list
* [new branch] add-timeout-for-cache-download -> origin/add-timeout-for-cache-download
* [new branch] angle-bracket-codemod-run -> origin/angle-bracket-codemod-run
* [new branch] chat-messages-streaming -> origin/chat-messages-streaming
* [new branch] chat/streaming -> origin/chat/streaming
* [new branch] chat_summarization_strategies -> origin/chat_summarization_strategies
* [new branch] chatable-index-werk -> origin/chatable-index-werk
* [new branch] dependabot/bundler/json_schemer-1.0.2 -> origin/dependabot/bundler/json_schemer-1.0.2
* [new branch] dependabot/bundler/omniauth-2.1.1 -> origin/dependabot/bundler/omniauth-2.1.1
* [new branch] dependabot/bundler/selenium-webdriver-4.10.0 -> origin/dependabot/bundler/selenium-webdriver-4.10.0
* [new branch] dependabot/npm_and_yarn/app/assets/javascripts/sass-1.63.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/sass-1.63.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...e71e50b74 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...2612ca7bc 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...5ac8d0a56 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)
* [new branch] dependabot/npm_and_yarn/app/assets/javascripts/webpack-5.86.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/webpack-5.86.0
* [new branch] dev-remove-quick-access-profile -> origin/dev-remove-quick-access-profile
* [new branch] dev/allow-hiding-chat-secondary-buttons -> origin/dev/allow-hiding-chat-secondary-buttons
* [new branch] dev/allow-hiding-chat-secondary-buttons-api -> origin/dev/allow-hiding-chat-secondary-buttons-api
* [new branch] dev/experimental-refactoring -> origin/dev/experimental-refactoring
* [new branch] dev/extra-fields-saving-user-preferences -> origin/dev/extra-fields-saving-user-preferences
* [new branch] dev/extract-mentions-modifier -> origin/dev/extract-mentions-modifier
* [new branch] dev/extract-methods-into-channel-model -> origin/dev/extract-methods-into-channel-model
* [new branch] dev/mention-notifications-expander -> origin/dev/mention-notifications-expander
* [new branch] dev/refactor-calls-to-message-cook -> origin/dev/refactor-calls-to-message-cook
* [new branch] dev/refactor-chat-notifier -> origin/dev/refactor-chat-notifier
4110f3375..ec9c3e95b dev/refactor-create-dm-channel-into-service -> origin/dev/refactor-create-dm-channel-into-service
* [new branch] dev/user-that-cant-chat-shouldnt-be-able-to-join-channel -> origin/dev/user-that-cant-chat-shouldnt-be-able-to-join-channel
* [new branch] ember-4 -> origin/ember-4
+ 895956cb1...459936904 ember-this-fallback -> origin/ember-this-fallback (forced update)
* [new branch] emoji-update-production -> origin/emoji-update-production
* [new branch] experimental-refactoring -> origin/experimental-refactoring
+ 0eae22715...1438b8cc6 experimental-search-menu -> origin/experimental-search-menu (forced update)
572082d04..27e80f88c feature/hashtag-no-icon-cook -> origin/feature/hashtag-no-icon-cook
* [new branch] feature/show-status-on-mentions-when-user-havent-used-autocomplete -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
* [new branch] feature/status-on-mentions-on-updated-chat-messages -> origin/feature/status-on-mentions-on-updated-chat-messages
* [new branch] feature/thread-list-button-unread-count -> origin/feature/thread-list-button-unread-count
* [new branch] feature/thread-list-button-unread-counter-initial -> origin/feature/thread-list-button-unread-counter-initial
* [new branch] feature/thread-participants -> origin/feature/thread-participants
* [new branch] feature/watched-word-groups -> origin/feature/watched-word-groups
* [new branch] feature_user_tips_backfill -> origin/feature_user_tips_backfill
* [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/multi-tag-search -> origin/fix/multi-tag-search
* [new branch] fix_url_welcome -> origin/fix_url_welcome
* [new branch] form-template-create-post -> origin/form-template-create-post
+ 4e8828636...c7ddb4f19 generic-import -> origin/generic-import (forced update)
c1ae0ab0f..6250fb9a9 glimmer-lightbox -> origin/glimmer-lightbox
* [new branch] global-tooltip -> origin/global-tooltip
* [new branch] group-inbox-label -> origin/group-inbox-label
+ 0eeb01892...f5f7e58fa headless-new -> origin/headless-new (forced update)
* [new branch] hsluv-experiment -> origin/hsluv-experiment
* [new branch] issue/backfill-chat-thread-memberships -> origin/issue/backfill-chat-thread-memberships
* [new branch] issue/do-not-allow-blank-chat-messages -> origin/issue/do-not-allow-blank-chat-messages
* [new branch] limit-user-anonymization -> origin/limit-user-anonymization
* [new branch] loic-set-limits-on-custom-fields -> origin/loic-set-limits-on-custom-fields
* [new branch] loofah -> origin/loofah
* [new branch] mailpace -> origin/mailpace
+ ec1a0d83f...2a13f42c6 modal-named-outlet -> origin/modal-named-outlet (forced update)
* [new branch] plugin-gem-load-variants -> origin/plugin-gem-load-variants
* [new branch] pr/21684 -> origin/pr/21684
* [new branch] rebake-quotes -> origin/rebake-quotes
* [new branch] remove_create_topics -> origin/remove_create_topics
* [new branch] sidebar-perf-v2 -> origin/sidebar-perf-v2
* [new branch] small-grid-css-fix -> origin/small-grid-css-fix
845000a6c..bff0dfcf0 stable -> origin/stable
* [new branch] summarization_strategies -> origin/summarization_strategies
a8e28060d..699f3e701 tests-passed -> origin/tests-passed
* [new branch] this-property-fallback-tests -> origin/this-property-fallback-tests
* [new branch] tiktok-normalizing -> origin/tiktok-normalizing
* [new branch] use-loofah-html5-frag -> origin/use-loofah-html5-frag
* [new branch] user-preferences-spec -> origin/user-preferences-spec
I, [2023-06-08T01:20:49.929738 #1] INFO -- :
I, [2023-06-08T01:20:49.932325 #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-06-08T01:21:04.515747 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2023-06-08T01:21:04.516621 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-06-08T01:21:04.712708 #1] INFO -- :
I, [2023-06-08T01:21:04.713835 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-06-08T01:21:04.720877 #1] INFO -- :
I, [2023-06-08T01:21:04.721778 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-06-08T01:21:04.731065 #1] INFO -- :
I, [2023-06-08T01:21:04.732258 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-06-08T01:21:04.751048 #1] INFO -- :
I, [2023-06-08T01:21:04.751972 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-06-08T01:21:04.757525 #1] INFO -- :
I, [2023-06-08T01:21:04.758354 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-06-08T01:21:04.894279 #1] INFO -- :
I, [2023-06-08T01:21:04.895183 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-06-08T01:21:04.933775 #1] INFO -- :
I, [2023-06-08T01:21:04.934532 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-06-08T01:21:04.942155 #1] INFO -- :
I, [2023-06-08T01:21:04.943069 #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-06-08T01:21:04.952110 #1] INFO -- :
I, [2023-06-08T01:21:04.953053 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-06-08T01:21:04.960365 #1] INFO -- :
I, [2023-06-08T01:21:04.961292 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-06-08T01:21:04.967667 #1] INFO -- :
I, [2023-06-08T01:21:04.968605 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-06-08T01:21:04.986166 #1] INFO -- :
I, [2023-06-08T01:21:04.987005 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-06-08T01:21:04.994674 #1] INFO -- :
I, [2023-06-08T01:21:04.995495 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-06-08T01:21:05.149308 #1] INFO -- :
I, [2023-06-08T01:21:05.150263 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-06-08T01:21:05.326246 #1] INFO -- :
I, [2023-06-08T01:21:05.327711 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-06-08T01:21:05.560087 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-06-08T01:21:14.586174 #1] INFO -- :
I, [2023-06-08T01:21:14.587961 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-06-08T01:21:14.661345 #1] INFO -- :
I, [2023-06-08T01:21:14.662768 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-06-08T01:21:14.676954 #1] INFO -- :
I, [2023-06-08T01:21:14.678316 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2023-06-08T01:21:14.682664 #1] INFO -- :
I, [2023-06-08T01:21:14.707045 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-06-08T01:21:14.709140 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-06-08T01:21:14.709874 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-06-08T01:21:14.727307 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-06-08T01:21:14.744821 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-06-08T01:21:14.746393 #1] INFO -- : > echo "done configuring web"
I, [2023-06-08T01:21:14.751106 #1] INFO -- : done configuring web
I, [2023-06-08T01:21:14.752429 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-06-08T01:21:27.053877 #1] INFO -- : Successfully installed bundler-2.4.4
1 gem installed
I, [2023-06-08T01:21:27.056344 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-06-08T01:27:02.842950 #1] INFO -- :
I, [2023-06-08T01:27:02.846058 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning " > @mixer/parallel-prettier@2.0.3" has unmet peer dependency "prettier@^2.0.0".
warning "eslint-config-discourse > eslint-plugin-lodash@7.1.0" has unmet peer dependency "lodash@>=4".
2023-06-08 01:29:12.749 UTC [310] LOG: using stale statistics instead of current ones because stats collector is not responding
2023-06-08 01:29:44.780 UTC [311] LOG: using stale statistics instead of current ones because stats collector is not responding
warning Resolution field "babel-plugin-ember-template-compilation@2.0.0" is incompatible with requested version "babel-plugin-ember-template-compilation@^2.0.1"
warning " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-c641d849-e168-48d1-b0c2-2c0f498c6c7c > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-c641d849-e168-48d1-b0c2-2c0f498c6c7c > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-c641d849-e168-48d1-b0c2-2c0f498c6c7c > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
^[[D
I, [2023-06-08T02:08:49.106599 #1] INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ patch-package
patch-package 7.0.0
Applying patches...
@ember/jquery@2.0.0 ✔
ember-cli@4.12.0 ✔
virtual-dom@2.1.1 ✔
Done in 1046.74s.
Done in 2284.67s.
yarn cache v1.22.19
success Cleared cache.
Done in 218.36s.
I, [2023-06-08T02:08:49.857399 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2023-06-08T02:08:58.482665 #1] INFO -- :
I, [2023-06-08T02:08:58.483715 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2023-06-08T02:08:58.763857 #1] INFO -- : You are replacing the current local value of without, which is currently "test:development"
I, [2023-06-08T02:08:58.764842 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2023-06-08T02:11:34.680045 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
Using rake 13.0.6
Using concurrent-ruby 1.2.2
Using racc 1.6.2
Using builder 3.2.4
Using erubi 1.12.0
Using mini_mime 1.1.2
Using date 3.3.3
Using minitest 5.18.0
Using crass 1.0.6
Using rack 2.2.7
Using timeout 0.3.2
Using public_suffix 5.0.1
Using aws-eventstream 1.2.0
Using bundler 2.4.4
Using aws-partitions 1.583.0
Using jmespath 1.6.2
Using cgi 0.3.6
Using byebug 11.1.3
Using coderay 1.1.3
Using colored2 3.1.2
Using cbor 0.5.9.6
Using openssl 3.1.0
Using cppjieba_rb 0.4.2
Using chunky_png 1.4.0
Using method_source 1.0.0
Fetching msgpack 1.7.1
Fetching connection_pool 2.4.1
Fetching thor 1.2.2
Fetching google-protobuf 3.23.2 (x86_64-linux)
Installing connection_pool 2.4.1
Installing thor 1.2.2
Installing msgpack 1.7.1 with native extensions
Using zeitwerk 2.6.8
Fetching tilt 2.2.0
Installing google-protobuf 3.23.2 (x86_64-linux)
Installing tilt 2.2.0
Using diffy 3.4.2
Using digest 3.1.1
Using discourse-fonts 0.0.9
Using regexp_parser 2.8.0
Using email_reply_trimmer 0.1.13
Fetching excon 0.100.0
Using execjs 2.8.1
Fetching exifr 1.4.0
Installing excon 0.100.0
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using fast_blank 1.0.1
Using fast_xs 0.8.0
Fetching fastimage 2.2.7
Using ffi 1.15.5
Using fspath 3.1.2
Using gc_tracer 1.5.1
Using guess_html_encoding 0.0.11
Using hana 1.3.7
Using hashie 5.0.0
Using highline 2.1.0
Using hkdf 1.0.0
Using htmlentities 4.3.4
Using http_accept_language 2.1.1
Fetching image_size 3.3.0
Installing exifr 1.4.0
Using in_threads 1.6.0
Using progress 3.6.0
Using json 2.6.3
Using uri_template 0.7.0
Using jwt 2.7.0
Using kgio 2.11.4
Fetching libv8-node 18.16.0.0 (x86_64-linux)
Installing fastimage 2.2.7
Using logstash-event 1.2.02
Using logster 2.12.2
Using lru_redux 1.1.0
Using lz4-ruby 0.3.3
Using maxminddb 0.1.22
Using memory_profiler 1.0.1
Using redis 4.8.1
Using mini_sql 1.4.0
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Using uri 0.12.1
Using nio4r 2.5.9
Fetching version_gem 1.1.3
Installing version_gem 1.1.3
Using oj 3.13.14
Using optimist 3.0.1
Using pg 1.4.6
Using raindrops 0.20.1
Using rchardet 1.8.0
Using rexml 3.2.5
Using rinku 2.0.6
Using rotp 6.2.2
Using rqrcode_core 1.2.0
Using rubyzip 2.3.2
Using sshkey 2.0.0
Using stackprof 0.2.25
Using unf_ext 0.0.8.2
Using webrick 1.7.0
Fetching i18n 1.14.1
Installing i18n 1.14.1
Using tzinfo 2.0.6
Fetching nokogiri 1.15.2 (x86_64-linux)
Installing image_size 3.3.0
Using rack-test 2.1.0
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Using request_store 1.5.1
Using message_bus 4.3.2
Using rack-mini-profiler 3.1.0
Using rack-protection 3.0.6
Using net-protocol 0.2.1
Using addressable 2.8.4
Using aws-sigv4 1.5.0
Using openssl-signature_algorithm 1.3.0
Using pry 0.14.2
Using ecma-re-validator 0.4.0
Using uglifier 4.2.0
Using sass-embedded 1.62.1 (x86_64-linux-gnu)
Fetching faraday 2.7.6
Installing faraday 2.7.6
Using mini_suffix 0.3.3
Using omniauth 1.9.2
Using web-push 3.0.0
Using logstash-logger 0.26.1
Fetching sidekiq 6.5.9
Installing sidekiq 6.5.9
Using redis-namespace 1.10.0
Using net-http 0.3.2
Fetching puma 6.3.0
Installing puma 6.3.0 with native extensions
Installing nokogiri 1.15.2 (x86_64-linux)
Using oauth-tty 1.0.5
Using snaky_hash 2.0.1
Using unicorn 6.1.0
Fetching rqrcode 2.2.0
Installing rqrcode 2.2.0
Using rss 0.2.9
Using unf 0.1.4
Using activesupport 7.0.4.3
Using tzinfo-data 1.2023.3
Using image_optim 0.31.3
Using net-imap 0.3.4
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using aws-sdk-core 3.130.2
Using cose 1.3.0
Using css_parser 1.14.0
Using dartsass-ruby 3.0.1
Using json_schemer 0.2.23
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Fetching faraday-retry 2.2.0
Installing faraday-retry 2.2.0
Using oauth2 1.4.11
Fetching mini_scheduler 0.16.0
Installing mini_scheduler 0.16.0
Fetching loofah 2.21.3
Installing loofah 2.21.3
Using ruby-readability 0.7.0
Using sanitize 6.0.1
Using oauth 1.1.0
Using rails-dom-testing 2.0.3
Using globalid 1.1.0
Using activemodel 7.0.4.3
Using mail 2.8.1
Using aws-sdk-kms 1.56.0
Using aws-sdk-sns 1.53.0
Using omniauth-oauth2 1.7.3
Fetching rails-html-sanitizer 1.6.0
Installing rails-html-sanitizer 1.6.0
Using omniauth-oauth 1.2.0
Using activejob 7.0.4.3
Using active_model_serializers 0.8.4
Using activerecord 7.0.4.3
Using aws-sdk-s3 1.114.0
Using omniauth-facebook 9.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Using actionview 7.0.4.3
Using omniauth-twitter 1.4.0
Using actionpack 7.0.4.3
Using actionview_precompiler 0.2.3
Using discourse-seed-fu 2.3.12
Using actionmailer 7.0.4.3
Using railties 7.0.4.3
Using sprockets-rails 3.4.2
Using dartsass-sprockets 3.0.0
Using lograge 0.12.0
Fetching rails_failover 2.0.1
Installing rails_failover 2.0.1
Fetching rails_multisite 5.0.0
Installing rails_multisite 5.0.0
Using bootsnap 1.16.0
Using rbtrace 0.4.14
Installing libv8-node 18.16.0.0 (x86_64-linux)
Fetching mini_racer 0.8.0
Installing mini_racer 0.8.0 with native extensions
Fetching rtlcss 0.2.1
Installing rtlcss 0.2.1
Bundle complete! 136 Gemfile dependencies, 174 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
I, [2023-06-08T02:11:34.682954 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-06-08T02:12:53.232204 #1] INFO -- : docker_manager is already at latest compatible version
I, [2023-06-08T02:12:53.234809 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2023-06-08 02:13:19.205 UTC [869] discourse@discourse LOG: duration: 180.216 ms statement: set client_encoding to 'UTF8'
2023-06-08 02:13:19.401 UTC [869] discourse@discourse LOG: duration: 129.971 ms statement: SET SESSION timezone TO 'UTC'
2023-06-08 02:13:19.912 UTC [869] discourse@discourse LOG: duration: 509.942 ms parse <unnamed>: SELECT t.oid, t.typname
FROM pg_type as t
WHERE t.typname IN ('int2', 'int4', 'int8', 'oid', 'float4', 'float8', 'numeric', 'bool', 'timestamp', 'timestamptz')
2023-06-08 02:13:20.402 UTC [869] discourse@discourse ERROR: permission denied for table pg_type
2023-06-08 02:13:20.402 UTC [869] discourse@discourse STATEMENT: SELECT t.oid, t.typname
FROM pg_type as t
WHERE t.typname IN ('int2', 'int4', 'int8', 'oid', 'float4', 'float8', 'numeric', 'bool', 'timestamp', 'timestamptz')
2023-06-08 02:13:20.412 UTC [870] discourse@discourse ERROR: permission denied for table pg_type
2023-06-08 02:13:20.412 UTC [870] discourse@discourse STATEMENT: SELECT t.oid, t.typname
FROM pg_type as t
WHERE t.typname IN ('int2', 'int4', 'int8', 'oid', 'float4', 'float8', 'numeric', 'bool', 'timestamp', 'timestamptz')
rake aborted!
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied for table pg_type
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1014:in `add_pg_decoders'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:292:in `initialize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:36:in `new'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:36:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_handling.rb:280:in `connection'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:445:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:686:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:200:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:106:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/reloader.rb:88:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:511:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Caused by:
PG::InsufficientPrivilege: ERROR: permission denied for table pg_type
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1014:in `add_pg_decoders'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:292:in `initialize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:36:in `new'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql_adapter.rb:36:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_handling.rb:280:in `connection'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:445:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:686:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:200:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:106:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/reloader.rb:88:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.4.3/lib/rails/application.rb:511:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2023-06-08T02:13:20.467050 #1] INFO -- :
I, [2023-06-08T02:13:21.099447 #1] INFO -- : Terminating async processes
I, [2023-06-08T02:13:21.099943 #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
2023-06-08 02:13:21.100 UTC [41] LOG: received fast shutdown request
I, [2023-06-08T02:13:21.100775 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
103:signal-handler (1686190401) Received SIGTERM scheduling shutdown...
103:M 08 Jun 2023 02:13:21.204 # User requested shutdown...
103:M 08 Jun 2023 02:13:21.204 * Saving the final RDB snapshot before exiting.
103:M 08 Jun 2023 02:13:21.449 * DB saved on disk
103:M 08 Jun 2023 02:13:21.450 # Redis is now ready to exit, bye bye...
2023-06-08 02:13:21.583 UTC [41] LOG: aborting any active transactions
2023-06-08 02:13:21.593 UTC [41] LOG: background worker "logical replication launcher" (PID 50) exited with exit code 1
2023-06-08 02:13:21.660 UTC [45] LOG: shutting down
2023-06-08 02:13:22.147 UTC [41] LOG: database system is shut down
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 851 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", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment