Site down after upgrade via SSH - how to fix?

My site is down after I did the normal upgrade. First time in 5 years or so my site is down when using Discourse ;(

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 825 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.
==================== END REBUILD LOG ====================
Failed to rebuild app.

Checking your domain name . . .

Connection to succeeded.
You should probably remove any non-standard plugins and rebuild.
Attempting to restart existing container. . .
x86_64 arch detected.
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml

starting up existing container
+ /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint app (eef93cb64eeeacc30b9e5b99831e9fe910370e46242b83a8c4592df3a0d3415d): Error starting userland proxy: listen tcp4 bind: address already in use
Error: failed to start containers: app
Failed to restart the container.

==================== PLUGINS ====================
          - git clone
##          - git clone
          - git clone
##        - git clone
          - git clone
##        - git clone
##        - git clone
          - git clone
          - git clone
##        - git clone
          - git clone
          - git clone
          - git clone

You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See for the official list.

Discourse version at NOT FOUND
Discourse version at localhost: NOT FOUND

==================== MEMORY INFORMATION ====================
RAM (MB): 2040

              total        used        free      shared  buff/cache   available
Mem:           1992         155        1024           0         812        1654
Swap:          2047          60        1987

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        49G   40G  8.7G  83% /

==================== DISK INFORMATION ====================
Disk /dev/vda: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3980448C-AF15-4833-A022-C759F0D2D80A

Device      Start       End   Sectors  Size Type
/dev/vda1  227328 104857566 104630239 49.9G Linux filesystem
/dev/vda14   2048     10239      8192    4M BIOS boot
/dev/vda15  10240    227327    217088  106M Microsoft basic data

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) []:
Sending mail to . .
Error response from daemon: Container 6a58d9b02acb4c39285c1ea4b2f2362708be501a9f3ffa0b771cb31b74504ad6 is not running

Replacing: Sending mail to

==================== DONE! ====================

You can examine the output of this script with
LESS=-Ri less /tmp/discourse-debug.txt

BUT FIRST, make sure that you know the first three commands below!!!

Commands to know when viewing the file with the above command (called 'less'):
q              -- quit
/error<ENTER>  -- search for the word 'error'
n              -- search for the next occurrence
g              -- go to the beginning of the file
f              -- go forward a page
b              -- go back a page
G              -- go to the end of the file

Totally the same on another site of mine. Using another version of Ubuntu.

So now I have 2 sites down!

Hello :wave:

As I see you have installed Discourse Chatbot :robot: (Now smarter than ChatGPT!*).

This is probably the similar like this one and few other report.

Follow this:


Thanks meanwhile I did a install without plugins and the site is up in a light edition.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.