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 ;(

FAILED
--------------------
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.
54ec95bfcd416ae2554e5b0a40500e7f72decb55f1f9c654999cbd92406760a9
==================== END REBUILD LOG ====================
Failed to rebuild app.

Checking your domain name . . .

Connection to studmed.dk 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 0.0.0.0:443: bind: address already in use
Error: failed to start containers: app
Failed to restart the container.


==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git
##          - git clone https://github.com/discoursehosting/discourse-sitemap.git
          - git clone https://github.com/discourse/discourse-akismet.git
##        - git clone https://github.com/angusmcleod/discourse-ratings.git
          - git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
##        - git clone https://github.com/discourse/discourse-adplugin.git
##        - git clone https://github.com/discourse/discourse-affiliate.git
          - git clone https://github.com/discourse/discourse-yearly-review
          - git clone https://github.com/davidtaylorhq/discourse-whos-online
##        - git clone https://github.com/paviliondev/discourse-custom-wizar
          - git clone https://github.com/discourse/discourse-reactions
          - git clone https://github.com/discourse/discourse-chat
          - git clone https://github.com/merefield/discourse-chatbot

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

See https://github.com/discourse/discourse/blob/main/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at studmed.dk: 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 http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [studmed@liljefred.dk]: abb@liljefred.dk
Sending mail to abb@liljefred.dk. . .
Error response from daemon: Container 6a58d9b02acb4c39285c1ea4b2f2362708be501a9f3ffa0b771cb31b74504ad6 is not running

Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
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
root@forum:/var/discourse#```

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:

5 Likes

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

5 Likes

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