Discourse Online Updater & ./launcher rebuild app failed from Discourse gamification

I think Discourse-gamification plugin is causing this issue since it is right before the “Terminating async processes” and shuts down the Redis. It spits this error out below:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification failed with return #<Process::Status: pid 275 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-gamification", "git clone https://github.com/angusmcleod/discourse-events", "git clone https://github.com/discourse/discourse-ai", "git clone https://github.com/discourse/discourse-subscriptions", "git clone https://github.com/discourse/discourse-translator", "git clone https://github.com/discourse/discourse-signatures", "git clone https://github.com/discourse/discourse-reactions", "git clone https://github.com/discourse/discourse-follow", "git clone https://github.com/discourse/discourse-whos-online", "git clone https://github.com/discourse/discourse-solved", "git clone https://github.com/discourse/discourse-google-one-tap", "git clone https://github.com/discourse/discourse-hcaptcha", "git clone https://github.com/discourse/discourse-category-experts", "git clone https://github.com/thoka/discourse-mail-daily-summary", "git clone https://github.com/discourse/discourse-apple-auth", "git clone https://github.com/discourse/discourse-activity-pub"]}
bootstrap failed with exit code 128
---

Here’s the rest of the log(./launcher rebuild app), a few plugins up where things look normal:

I, [2025-07-24T18:36:07.928669 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2025-07-24T18:36:07.940819 #1]  INFO -- : 
I, [2025-07-24T18:36:07.940936 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2025-07-24T18:36:07.943829 #1]  INFO -- : 
I, [2025-07-24T18:36:07.943922 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2025-07-24T18:36:07.946744 #1]  INFO -- : 
I, [2025-07-24T18:36:07.946856 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2025-07-24T18:36:07.949712 #1]  INFO -- : 
I, [2025-07-24T18:36:07.949801 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2025-07-24T18:36:07.953486 #1]  INFO -- : 
I, [2025-07-24T18:36:07.953601 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2025-07-24T18:36:07.958903 #1]  INFO -- : 
I, [2025-07-24T18:36:07.959009 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2025-07-24T18:36:07.961757 #1]  INFO -- : 
I, [2025-07-24T18:36:07.961864 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2025-07-24T18:36:07.965892 #1]  INFO -- : 
I, [2025-07-24T18:36:07.966011 #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, [2025-07-24T18:36:07.971119 #1]  INFO -- : 
I, [2025-07-24T18:36:07.971228 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2025-07-24T18:36:07.975299 #1]  INFO -- : 
I, [2025-07-24T18:36:07.975420 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2025-07-24T18:36:07.979144 #1]  INFO -- : 
I, [2025-07-24T18:36:07.979254 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2025-07-24T18:36:07.983059 #1]  INFO -- : 
I, [2025-07-24T18:36:07.983171 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2025-07-24T18:36:07.988249 #1]  INFO -- : 
I, [2025-07-24T18:36:07.988370 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2025-07-24T18:36:08.027517 #1]  INFO -- : 
I, [2025-07-24T18:36:08.027642 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2025-07-24T18:36:08.030102 #1]  INFO -- : 
I, [2025-07-24T18:36:08.030423 #1]  INFO -- : Replacing # redis with if [ ! -d /shared/redis_data ]; then
  install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1 in /etc/service/unicorn/run
I, [2025-07-24T18:36:08.031672 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2025-07-24T18:36:09.163006 #1]  INFO -- : 
I, [2025-07-24T18:36:09.163141 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification
fatal: destination path 'discourse-gamification' already exists and is not an empty directory.
I, [2025-07-24T18:36:09.166551 #1]  INFO -- : 
I, [2025-07-24T18:36:09.167042 #1]  INFO -- : Terminating async processes
I, [2025-07-24T18:36:09.167076 #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/15/bin/postmaster -D /etc/postgresql/15/main pid: 43
I, [2025-07-24T18:36:09.167143 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 110
2025-07-24 18:36:09.167 UTC [43] LOG:  received fast shutdown request
110:signal-handler (1753382169) Received SIGTERM scheduling shutdown...
2025-07-24 18:36:09.171 UTC [43] LOG:  aborting any active transactions
2025-07-24 18:36:09.174 UTC [43] LOG:  background worker "logical replication launcher" (PID 57) exited with exit code 1
2025-07-24 18:36:09.174 UTC [52] LOG:  shutting down
2025-07-24 18:36:09.177 UTC [52] LOG:  checkpoint starting: shutdown immediate
2025-07-24 18:36:09.194 UTC [52] LOG:  checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.005 s, sync=0.004 s, total=0.020 s; sync files=3, longest=0.002 s, average=0.002 s; distance=1 kB, estimate=1 kB
110:M 24 Jul 2025 18:36:09.196 # User requested shutdown...
110:M 24 Jul 2025 18:36:09.196 * Saving the final RDB snapshot before exiting.
2025-07-24 18:36:09.199 UTC [43] LOG:  database system is shut down
110:M 24 Jul 2025 18:36:09.261 * DB saved on disk
110:M 24 Jul 2025 18:36:09.261 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification failed with return #<Process::Status: pid 275 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-gamification", "git clone https://github.com/angusmcleod/discourse-events", "git clone https://github.com/discourse/discourse-ai", "git clone https://github.com/discourse/discourse-subscriptions", "git clone https://github.com/discourse/discourse-translator", "git clone https://github.com/discourse/discourse-signatures", "git clone https://github.com/discourse/discourse-reactions", "git clone https://github.com/discourse/discourse-follow", "git clone https://github.com/discourse/discourse-whos-online", "git clone https://github.com/discourse/discourse-solved", "git clone https://github.com/discourse/discourse-google-one-tap", "git clone https://github.com/discourse/discourse-hcaptcha", "git clone https://github.com/discourse/discourse-category-experts", "git clone https://github.com/thoka/discourse-mail-daily-summary", "git clone https://github.com/discourse/discourse-apple-auth", "git clone https://github.com/discourse/discourse-activity-pub"]}
bootstrap failed with exit code 128
---
HINT: The plugin 'discourse-reactions' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-reactions' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-apple-auth' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-apple-auth' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-math' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-math' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-chat-integration' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-chat-integration' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-subscriptions' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-subscriptions' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-hcaptcha' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-hcaptcha' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-gamification' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-gamification' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-solved' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-solved' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
---
HINT: The plugin 'discourse-ai' is now bundled with Discourse and should not be included in your container configuration.
Remove the line 'git clone https://github.com/discourse/discourse-ai' from your containers/app.yml file, then try again.
For more information, see https://meta.discourse.org/t/373574
---
** 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.
fc19cXXXX1a1664d5f9b

Did you do that?

1 Like

Ah yeah that would do it for sure. I guess they rolled out a massive update and included alot of these plugins in the core!

Rebuilding now, will let you know how it goes!

Thank you mate

1 Like