FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/tensorflow/tfjs-models/tree/master/toxicity failed with return #<Process::Status: pid 662 exit 128>
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/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "sudo -E -u discourse git clone https://github.com/techapj/discourse-custom-topic-button.git", "sudo -E -u discourse git clone https://github.com/leodavidson/discourse-forcemoderation.git", "sudo -E -u discourse git clone https://github.com/mondiscourse/discourse-formatting-toolbar.git", "sudo -E -u discourse git clone https://github.com/merefield/discourse-onebox-assistant.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-affiliate.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git", "sudo -E -u discourse git clone https://github.com/communiteq/discourse-delete-unreplied-topics.git", "sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-user-feedbacks.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-bbcode.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-adplugin.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-follow.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-animated-avatars.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-saved-searches.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-reactions.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-spoiler-alert.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-signatures.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-fontawesome-pro", "sudo -E -u discourse git clone https://github.com/bolariin/discourse-response-bot.git", "sudo -E -u discourse git clone https://github.com/singerscreations/discourse-stopforumspam.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-footnote.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-templates.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-automation.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-fingerprint.git", "sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-custom-trust-level.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-post-voting.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-staff-alias.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-category-experts.git", "sudo -E -u discourse git clone https://github.com/tensorflow/tfjs-models/tree/master/toxicity", "sudo -E -u discourse git clone https://github.com/discourse/discourse-perspective-api", "sudo -E -u discourse git clone https://github.com/xfalcox/disorder"]}
bootstrap failed with exit code 128
** 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.
bd0b2379ffd4560ece6784108a58646ae90497eb74b572a703fca559001fc058
root@DX:/var/discourse#
If you could do as the text asks and scroll up for earlier error messages there should be more details there.
sorry i don’t understand english very well, i posted all the code
Expanded Security Maintenance for Applications is not enabled.
16 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
*** System restart required ***
Last login: Sat Apr 15 04:24:29 2023 from 179.221.201.2
root@DX:~# cd /var/discourse
nano containers/app.yml
root@DX:/var/discourse# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
2.0.20230409-0052: Pulling from discourse/base
Digest: sha256:dd75ceb9322f79629f8b0bf78cfb0f79ad6bb366b7ead3e1cd32dcb8712ec46f
Status: Image is up to date for discourse/base:2.0.20230409-0052
docker.io/discourse/base:2.0.20230409-0052
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-04-15T05:13:10.312434 #1] INFO -- : Reading from stdin
I, [2023-04-15T05:13:10.318583 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-04-15T05:13:10.352567 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2023-04-15T05:13:10.352772 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-04-15T05:13:10.356241 #1] INFO -- :
I, [2023-04-15T05:13:10.356571 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-04-15T05:13:10.359838 #1] INFO -- :
I, [2023-04-15T05:13:10.360092 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-04-15T05:13:10.362110 #1] INFO -- :
I, [2023-04-15T05:13:10.362336 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-04-15T05:13:10.365185 #1] INFO -- :
I, [2023-04-15T05:13:10.365373 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-04-15T05:13:10.368062 #1] INFO -- :
I, [2023-04-15T05:13:10.368280 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2023/04/15 05:13:10 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-04-15T05:13:10.389768 #1] INFO -- :
I, [2023-04-15T05:13:10.390044 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-04-15T05:13:10.393135 #1] INFO -- :
I, [2023-04-15T05:13:10.393291 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-04-15T05:13:10.395501 #1] INFO -- :
I, [2023-04-15T05:13:10.395635 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-04-15T05:13:10.397606 #1] INFO -- :
I, [2023-04-15T05:13:10.397817 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-04-15T05:13:10.399670 #1] INFO -- :
I, [2023-04-15T05:13:10.403941 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-04-15T05:13:10.408251 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-04-15T05:13:10.412397 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-04-15T05:13:10.416511 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-04-15T05:13:10.416869 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-04-15T05:13:11.307985 #1] INFO -- :
I, [2023-04-15T05:13:11.308188 #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-04-15T05:13:11.310525 #1] INFO -- :
I, [2023-04-15T05:13:11.310581 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-04-15T05:13:11.332655 #1] INFO -- :
I, [2023-04-15T05:13:11.332808 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-04-15T05:13:11.335694 #1] INFO -- :
I, [2023-04-15T05:13:11.336070 #1] INFO -- : > /root/upgrade_postgres
I, [2023-04-15T05:13:11.340836 #1] INFO -- :
I, [2023-04-15T05:13:11.341002 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-04-15T05:13:11.343002 #1] INFO -- :
I, [2023-04-15T05:13:11.343769 #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-04-15T05:13:11.344606 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.345035 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.345513 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.345958 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.346258 #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-04-15T05:13:11.346686 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-04-15T05:13:11.349910 #1] INFO -- :
I, [2023-04-15T05:13:11.350276 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.350741 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-04-15T05:13:11.351224 #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-04-15T05:13:11.351627 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-04-15T05:13:11.352031 #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-04-15T05:13:11.352367 #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-04-15T05:13:11.352687 #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-04-15T05:13:11.353921 #1] INFO -- : > sleep 5
2023-04-15 05:13:11.406 UTC [42] 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-04-15 05:13:11.406 UTC [42] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-04-15 05:13:11.406 UTC [42] LOG: listening on IPv6 address "::", port 5432
2023-04-15 05:13:11.408 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-04-15 05:13:11.412 UTC [45] LOG: database system was shut down at 2023-04-15 05:13:02 UTC
2023-04-15 05:13:11.418 UTC [42] LOG: database system is ready to accept connections
I, [2023-04-15T05:13:16.356103 #1] INFO -- :
I, [2023-04-15T05:13:16.356903 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-04-15 05:13:16.426 UTC [55] postgres@postgres ERROR: database "discourse" already exists
2023-04-15 05:13:16.426 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2023-04-15T05:13:16.428566 #1] INFO -- :
I, [2023-04-15T05:13:16.428835 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-04-15 05:13:16.487 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2023-04-15 05:13:16.487 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2023-04-15T05:13:16.490035 #1] INFO -- :
I, [2023-04-15T05:13:16.490413 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-04-15T05:13:16.542567 #1] INFO -- : GRANT
I, [2023-04-15T05:13:16.543076 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-04-15T05:13:16.590358 #1] INFO -- : ALTER SCHEMA
I, [2023-04-15T05:13:16.590718 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-04-15T05:13:16.647117 #1] INFO -- : CREATE EXTENSION
I, [2023-04-15T05:13:16.647389 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-04-15T05:13:16.698539 #1] INFO -- : CREATE EXTENSION
I, [2023-04-15T05:13:16.699059 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-04-15T05:13:16.752812 #1] INFO -- : CREATE EXTENSION
I, [2023-04-15T05:13:16.753058 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-04-15T05:13:16.812542 #1] INFO -- : CREATE EXTENSION
I, [2023-04-15T05:13:16.812850 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-04-15T05:13:16.817051 #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-04-15T05:13:16.896586 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-04-15T05:13:16.900568 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-04-15T05:13:16.900706 #1] INFO -- : > echo postgres installed!
I, [2023-04-15T05:13:16.903563 #1] INFO -- : postgres installed!
I, [2023-04-15T05:13:16.910138 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-04-15T05:13:16.917610 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-04-15T05:13:16.925086 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-04-15T05:13:16.926083 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.926913 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.927490 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-04-15T05:13:16.931273 #1] INFO -- :
I, [2023-04-15T05:13:16.931791 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.932519 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.933554 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.934163 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.934605 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-04-15T05:13:16.935401 #1] INFO -- : > echo redis installed
I, [2023-04-15T05:13:16.938617 #1] INFO -- : redis installed
I, [2023-04-15T05:13:16.938820 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-04-15T05:13:16.942686 #1] INFO -- : logfile ""
I, [2023-04-15T05:13:16.942887 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-04-15T05:13:16.944950 #1] INFO -- : > sleep 10
103:C 15 Apr 2023 05:13:16.954 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
103:C 15 Apr 2023 05:13:16.954 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, just started
103:C 15 Apr 2023 05:13:16.954 # Configuration loaded
103:M 15 Apr 2023 05:13:16.955 * monotonic clock: POSIX clock_gettime
103:M 15 Apr 2023 05:13:16.955 * Running mode=standalone, port=6379.
103:M 15 Apr 2023 05:13:16.955 # Server initialized
103:M 15 Apr 2023 05:13:16.955 # 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 15 Apr 2023 05:13:16.956 * Loading RDB produced by version 7.0.7
103:M 15 Apr 2023 05:13:16.956 * RDB age 15 seconds
103:M 15 Apr 2023 05:13:16.956 * RDB memory usage when created 69.85 Mb
103:M 15 Apr 2023 05:13:17.116 * Done loading RDB, keys loaded: 7260, keys expired: 10.
103:M 15 Apr 2023 05:13:17.116 * DB loaded from disk: 0.161 seconds
103:M 15 Apr 2023 05:13:17.116 * Ready to accept connections
I, [2023-04-15T05:13:26.949135 #1] INFO -- :
I, [2023-04-15T05:13:26.949684 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-04-15T05:13:26.954168 #1] INFO -- : thpoff is installed!
I, [2023-04-15T05:13:26.954445 #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-04-15T05:13:27.017277 #1] INFO -- :
I, [2023-04-15T05:13:27.017558 #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-04-15T05:13:27.080076 #1] INFO -- :
I, [2023-04-15T05:13:27.080303 #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-04-15T05:13:27.141449 #1] INFO -- :
I, [2023-04-15T05:13:27.141641 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-04-15T05:13:27.144976 #1] INFO -- :
I, [2023-04-15T05:13:27.147416 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-04-15T05:13:27.151105 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-04-15T05:13:27.155046 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-04-15T05:13:27.159290 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-04-15T05:13:27.163579 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-04-15T05:13:27.167682 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-04-15T05:13:27.167824 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-04-15T05:13:27.168115 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-04-15T05:13:27.170382 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
130:C 15 Apr 2023 05:13:27.175 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
130:C 15 Apr 2023 05:13:27.175 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=130, just started
130:C 15 Apr 2023 05:13:27.175 # Configuration loaded
130:M 15 Apr 2023 05:13:27.175 * monotonic clock: POSIX clock_gettime
130:M 15 Apr 2023 05:13:27.175 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
130:M 15 Apr 2023 05:13:27.175 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33083/33083), done.
I, [2023-04-15T05:13:30.594080 #1] INFO -- : HEAD is now at 768851920 DEV: Add `overflow-x: hidden` to chat message containers (#21030)
I, [2023-04-15T05:13:30.594284 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-04-15T05:13:30.756551 #1] INFO -- :
I, [2023-04-15T05:13:30.756717 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
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 --prune --prune-tags origin tests-passed
fi
'
From https://github.com/discourse/discourse
* branch tests-passed -> FETCH_HEAD
768851920..ba11cf476 tests-passed -> origin/tests-passed
I, [2023-04-15T05:13:31.128971 #1] INFO -- :
I, [2023-04-15T05:13:31.129363 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
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-04-15T05:13:34.835247 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2023-04-15T05:13:34.835394 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-04-15T05:13:34.839479 #1] INFO -- :
I, [2023-04-15T05:13:34.839605 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-04-15T05:13:34.842584 #1] INFO -- :
I, [2023-04-15T05:13:34.842673 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-04-15T05:13:34.845412 #1] INFO -- :
I, [2023-04-15T05:13:34.845503 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-04-15T05:13:34.848184 #1] INFO -- :
I, [2023-04-15T05:13:34.848279 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-04-15T05:13:34.850755 #1] INFO -- :
I, [2023-04-15T05:13:34.850891 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-04-15T05:13:34.853671 #1] INFO -- :
I, [2023-04-15T05:13:34.853779 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-04-15T05:13:34.857893 #1] INFO -- :
I, [2023-04-15T05:13:34.858018 #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-04-15T05:13:34.861927 #1] INFO -- :
I, [2023-04-15T05:13:34.862018 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-04-15T05:13:34.865861 #1] INFO -- :
I, [2023-04-15T05:13:34.865945 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-04-15T05:13:34.870826 #1] INFO -- :
I, [2023-04-15T05:13:34.870926 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-04-15T05:13:34.875601 #1] INFO -- :
I, [2023-04-15T05:13:34.875857 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-04-15T05:13:34.880989 #1] INFO -- :
I, [2023-04-15T05:13:34.881172 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-04-15T05:13:34.988033 #1] INFO -- :
I, [2023-04-15T05:13:34.988165 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-04-15T05:13:34.995005 #1] INFO -- :
I, [2023-04-15T05:13:34.995212 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-04-15T05:13:34.997472 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-04-15T05:13:35.508423 #1] INFO -- :
I, [2023-04-15T05:13:35.508627 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/techapj/discourse-custom-topic-button.git
Cloning into 'discourse-custom-topic-button'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:35.719899 #1] INFO -- :
I, [2023-04-15T05:13:35.720099 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/leodavidson/discourse-forcemoderation.git
Cloning into 'discourse-forcemoderation'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:35.951047 #1] INFO -- :
I, [2023-04-15T05:13:35.951221 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/mondiscourse/discourse-formatting-toolbar.git
Cloning into 'discourse-formatting-toolbar'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:36.150620 #1] INFO -- :
I, [2023-04-15T05:13:36.150814 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/merefield/discourse-onebox-assistant.git
Cloning into 'discourse-onebox-assistant'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:36.354481 #1] INFO -- :
I, [2023-04-15T05:13:36.354635 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:36.636594 #1] INFO -- :
I, [2023-04-15T05:13:36.636764 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-affiliate.git
Cloning into 'discourse-affiliate'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:36.956996 #1] INFO -- :
I, [2023-04-15T05:13:36.957244 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git
Cloning into 'discourse-yearly-review'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:37.204076 #1] INFO -- :
I, [2023-04-15T05:13:37.204214 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:37.556060 #1] INFO -- :
I, [2023-04-15T05:13:37.556303 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:37.796685 #1] INFO -- :
I, [2023-04-15T05:13:37.796886 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/communiteq/discourse-delete-unreplied-topics.git
Cloning into 'discourse-delete-unreplied-topics'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:37.991770 #1] INFO -- :
I, [2023-04-15T05:13:37.992081 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-user-feedbacks.git
Cloning into 'discourse-user-feedbacks'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:38.217035 #1] INFO -- :
I, [2023-04-15T05:13:38.217196 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-bbcode.git
Cloning into 'discourse-bbcode'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:38.461558 #1] INFO -- :
I, [2023-04-15T05:13:38.461741 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:38.775832 #1] INFO -- :
I, [2023-04-15T05:13:38.776024 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-follow.git
Cloning into 'discourse-follow'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:39.043463 #1] INFO -- :
I, [2023-04-15T05:13:39.043622 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-animated-avatars.git
Cloning into 'discourse-animated-avatars'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:39.280363 #1] INFO -- :
I, [2023-04-15T05:13:39.280523 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-saved-searches.git
Cloning into 'discourse-saved-searches'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:39.712666 #1] INFO -- :
I, [2023-04-15T05:13:39.713010 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git
Cloning into 'discourse-gamification'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:39.970215 #1] INFO -- :
I, [2023-04-15T05:13:39.970405 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:40.271002 #1] INFO -- :
I, [2023-04-15T05:13:40.271147 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-spoiler-alert.git
Cloning into 'discourse-spoiler-alert'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:40.516064 #1] INFO -- :
I, [2023-04-15T05:13:40.516219 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-signatures.git
Cloning into 'discourse-signatures'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:40.756572 #1] INFO -- :
I, [2023-04-15T05:13:40.756851 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:40.998583 #1] INFO -- :
I, [2023-04-15T05:13:40.998747 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-fontawesome-pro
Cloning into 'discourse-fontawesome-pro'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:41.268897 #1] INFO -- :
I, [2023-04-15T05:13:41.269271 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/bolariin/discourse-response-bot.git
Cloning into 'discourse-response-bot'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:41.501542 #1] INFO -- :
I, [2023-04-15T05:13:41.501702 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/singerscreations/discourse-stopforumspam.git
Cloning into 'discourse-stopforumspam'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:41.703264 #1] INFO -- :
I, [2023-04-15T05:13:41.703515 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet.git
Cloning into 'discourse-akismet'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:42.001054 #1] INFO -- :
I, [2023-04-15T05:13:42.001193 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-footnote.git
Cloning into 'discourse-footnote'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:42.234082 #1] INFO -- :
I, [2023-04-15T05:13:42.234293 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-templates.git
Cloning into 'discourse-templates'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:42.520394 #1] INFO -- :
I, [2023-04-15T05:13:42.520642 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-automation.git
Cloning into 'discourse-automation'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:42.852298 #1] INFO -- :
I, [2023-04-15T05:13:42.852556 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-fingerprint.git
Cloning into 'discourse-fingerprint'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:43.122362 #1] INFO -- :
I, [2023-04-15T05:13:43.122544 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-custom-trust-level.git
Cloning into 'discourse-custom-trust-level'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:43.332008 #1] INFO -- :
I, [2023-04-15T05:13:43.332169 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git
Cloning into 'discourse-calendar'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:43.809019 #1] INFO -- :
I, [2023-04-15T05:13:43.809255 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-post-voting.git
Cloning into 'discourse-post-voting'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:44.126289 #1] INFO -- :
I, [2023-04-15T05:13:44.126461 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-staff-alias.git
Cloning into 'discourse-staff-alias'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:44.411100 #1] INFO -- :
I, [2023-04-15T05:13:44.411271 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-category-experts.git
Cloning into 'discourse-category-experts'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:44.678821 #1] INFO -- :
I, [2023-04-15T05:13:44.679117 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-perspective-api
Cloning into 'discourse-perspective-api'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:44.930431 #1] INFO -- :
I, [2023-04-15T05:13:44.930597 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/xfalcox/disorder
Cloning into 'disorder'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-04-15T05:13:45.174149 #1] INFO -- :
I, [2023-04-15T05:13:45.174438 #1] INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/tensorflow/tfjs-models/tree/master/toxicity
Cloning into 'toxicity'...
fatal: repository 'https://github.com/tensorflow/tfjs-models/tree/master/toxicity/' not found
I, [2023-04-15T05:13:45.365590 #1] INFO -- :
I, [2023-04-15T05:13:45.366223 #1] INFO -- : Terminating async processes
I, [2023-04-15T05:13:45.366282 #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: 42
I, [2023-04-15T05:13:45.366340 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2023-04-15 05:13:45.366 UTC [42] LOG: received fast shutdown request
103:signal-handler (1681535625) Received SIGTERM scheduling shutdown...
2023-04-15 05:13:45.368 UTC [42] LOG: aborting any active transactions
2023-04-15 05:13:45.372 UTC [42] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 12023-04-15 05:13:45.373 UTC [46] LOG: shutting down
103:M 15 Apr 2023 05:13:45.392 # User requested shutdown...
103:M 15 Apr 2023 05:13:45.392 * Saving the final RDB snapshot before exiting.
2023-04-15 05:13:45.400 UTC [42] LOG: database system is shut down
103:M 15 Apr 2023 05:13:45.735 * DB saved on disk
103:M 15 Apr 2023 05:13:45.735 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/tensorflow/tfjs-models/tree/master/toxicity failed with return #<Process::Status: pid 686 exit 128>
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/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "sudo -E -u discourse git clone https://github.com/techapj/discourse-custom-topic-button.git", "sudo -E -u discourse git clone https://github.com/leodavidson/discourse-forcemoderation.git", "sudo -E -u discourse git clone https://github.com/mondiscourse/discourse-formatting-toolbar.git", "sudo -E -u discourse git clone https://github.com/merefield/discourse-onebox-assistant.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-affiliate.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git", "sudo -E -u discourse git clone https://github.com/communiteq/discourse-delete-unreplied-topics.git", "sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-user-feedbacks.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-bbcode.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-adplugin.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-follow.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-animated-avatars.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-saved-searches.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-reactions.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-spoiler-alert.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-signatures.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-fontawesome-pro", "sudo -E -u discourse git clone https://github.com/bolariin/discourse-response-bot.git", "sudo -E -u discourse git clone https://github.com/singerscreations/discourse-stopforumspam.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-footnote.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-templates.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-automation.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-fingerprint.git", "sudo -E -u discourse git clone https://github.com/Ahmedgagan/discourse-custom-trust-level.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-post-voting.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-staff-alias.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-category-experts.git", "sudo -E -u discourse git clone https://github.com/discourse/discourse-perspective-api", "sudo -E -u discourse git clone https://github.com/xfalcox/disorder", "sudo -E -u discourse git clone https://github.com/tensorflow/tfjs-models/tree/master/toxicity"]}
bootstrap failed with exit code 128
** 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.
0957badd80952b662d4edbafclient_loop: send disconnect: Connection reset
This is not a Discourse plugin, it’s not even a repository. Why are you including it in your list of plugins?
2 Likes