DISCOURSE DOCTOR Sun Nov 12 01:54:06 UTC 2023
OS: Linux ip-10-0-159-37 6.2.0-1015-aws #15~22.04.1-Ubuntu SMP Fri Oct 6 21:37:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Found containers/app.yml
==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=forum.full30.com
SMTP_ADDRESS=smtp.sendgrid.net
DEVELOPER_EMAILS=REDACTED
SMTP_PASSWORD=REDACTED
SMTP_PORT=587
SMTP_USER_NAME=apikey
LETSENCRYPT_ACCOUNT_EMAIL=REDACTED LETSENCRYPT_ACCOUNT_EMAIL
==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 24.0.7, build afdd53b
DOCKER PROCESSES (docker ps -a)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0be0150fecde local_discourse/app \"/sbin/boot\" 5 months ago Exited (5) 11 minutes ago app
==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
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 600 app
app
2.0.20231023-1945: Pulling from discourse/base
Digest: sha256:2b0eb484d20888cc2daadb690dcfa73522105650c1420212e99345a36a424d77
Status: Image is up to date for discourse/base:2.0.20231023-1945
docker.io/discourse/base:2.0.20231023-1945
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-11-12T01:54:13.829288 #1] INFO -- : Reading from stdin
I, [2023-11-12T01:54:13.834181 #1] INFO -- :
> locale-gen $LANG && update-locale
I, [2023-11-12T01:54:13.862453 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2023-11-12T01:54:13.862638 #1] INFO -- :
> mkdir -p /shared/postgres_run
I, [2023-11-12T01:54:13.865023 #1] INFO -- :
I, [2023-11-12T01:54:13.865390 #1] INFO -- :
> chown postgres:postgres /shared/postgres_run
I, [2023-11-12T01:54:13.867489 #1] INFO -- :
I, [2023-11-12T01:54:13.867791 #1] INFO -- :
> chmod 775 /shared/postgres_run
I, [2023-11-12T01:54:13.869643 #1] INFO -- :
I, [2023-11-12T01:54:13.869925 #1] INFO -- :
> rm -fr /var/run/postgresql
I, [2023-11-12T01:54:13.871930 #1] INFO -- :
I, [2023-11-12T01:54:13.872203 #1] INFO -- :
> ln -s /shared/postgres_run /var/run/postgresql
I, [2023-11-12T01:54:13.874058 #1] INFO -- :
/tmp/discourse-debug.txt
137:M 12 Nov 2023 13:09:14.143 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
137:M 12 Nov 2023 13:09:14.143 # Failed listening on port 6379 (TCP), aborting.
Error response from daemon: Container 0be0150fecde6af5e98c0f12b97d24ccc1333fee2e96f02174ac63b79df8efbc is not running
tail: cannot open ‘log/production.log’ for reading: No such file or directory
tail: no files remaining
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 645 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132: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.
adb2c505fd2f1289f44586496fea24ff31264f73c26eb524baf16602a189f
root@ip-10-0-159-37:/var/discourse#