Need support with discourse Update

Hello there,

I was doing a discourse update yesterday and when I ran sudo ./launcher rebuild app, but then it hanged and took longer than expected, and I then the session stopped, and when I ran it again it started causing errors, and now I can roll back to the previous version nor can the update complete, its bring this error attached.

Error Log

FAILED

--------------------

Pups::ExecError: if [ -f /root/install_postgres ]; then

/root/install_postgres && rm -f /root/install_postgres

elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then

socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1

fi

failed with return #<Process::Status: pid 17 exit 1>

Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'

exec failed with the params {"tag"=>"db", "cmd"=>"if [ -f /root/install_postgres ]; then\n /root/install_postgres && rm -f /root/install_postgres\nelif [ - e /shared/postgres_run/.s.PGSQL.5432 ]; then\n socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running s top container ; exit 1\nfi\n"}

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.

916e1f975678294573c1aea2e7df8e72a915ca151d151cead82853d63ea577c7

**Launcher Logs**

WARNING: Docker version 20.10.7 deprecated, recommend upgrade to 24.0.7 or newer.

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

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 40

ok: run: redis: (pid 53) 0s

ok: run: postgres: (pid 54) 0s

supervisor pid: 49 unicorn pid: 84

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 1s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(49) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 1s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 5s, normally up

ok: down: postgres: 0s, normally up

ok: down: redis: 2s, normally up

ok: down: unicorn: 4s, normally up

ok: down: cron: 1s, normally up

ok: down: rsyslog: 1s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 34

ok: run: redis: (pid 47) 0s

ok: run: postgres: (pid 48) 0s

supervisor pid: 43 unicorn pid: 78

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Stopping Sidekiq

(43) Reloading unicorn (78)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 1160

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Waiting for new unicorn workers under 1160 to start up...

(43) Old pid is: 78 New pid is: 1160

(43) Stopping Sidekiq

(43) Reloading unicorn (1160)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 2227

(43) Old pid is: 1160 New pid is: 2227

(43) Stopping Sidekiq

(43) Reloading unicorn (2227)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 3212

(43) Old pid is: 2227 New pid is: 3212

(43) Stopping Sidekiq

(43) Reloading unicorn (3212)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 8648

(43) Old pid is: 3212 New pid is: 8648

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Reopening logs

(43) Stopping Sidekiq

(43) Reloading unicorn (8648)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 17648

(43) Old pid is: 8648 New pid is: 17648

(43) Stopping Sidekiq

(43) Reloading unicorn (17648)

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid...

(43) Waiting for new unicorn master pid... 19642

(43) Old pid is: 17648 New pid is: 19642

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 0s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(43) exiting

ok: down: unicorn: 1s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 10s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 6s, normally up

ok: down: unicorn: 10s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 51) 0s

ok: run: postgres: (pid 47) 0s

supervisor pid: 44 unicorn pid: 79

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 1s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(44) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

timeout: run: redis: (pid 51) 263s, want down, got TERM

run-parts: /etc/runit/3.d/10-redis exited with return code 1

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 10s, normally up

ok: down: postgres: 1s, normally up

ok: down: unicorn: 9s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

kill: run: redis: (pid 51) 272s, want down, got TERM

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 34

ok: run: redis: (pid 49) 0s

ok: run: postgres: (pid 46) 0s

supervisor pid: 43 unicorn pid: 78

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 0s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(43) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 1s, normally up

ok: down: nginx: 5s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 2s, normally up

ok: down: unicorn: 5s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 36

ok: run: redis: (pid 50) 0s

ok: run: postgres: (pid 48) 0s

supervisor pid: 49 unicorn pid: 80

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 0s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(49) exiting

ok: down: unicorn: 1s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 11s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 7s, normally up

ok: down: unicorn: 11s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 45) 0s

ok: run: postgres: (pid 53) 0s

supervisor pid: 42 unicorn pid: 73

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 1s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(42) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 1s, normally up

ok: down: nginx: 6s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 2s, normally up

ok: down: unicorn: 5s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 49) 0s

ok: run: postgres: (pid 48) 0s

supervisor pid: 44 unicorn pid: 79

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 1s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(44) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 6s, normally up

ok: down: postgres: 0s, normally up

ok: down: redis: 2s, normally up

ok: down: unicorn: 5s, normally up

ok: down: cron: 1s, normally up

ok: down: rsyslog: 1s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 47) 0s

ok: run: postgres: (pid 48) 0s

supervisor pid: 49 unicorn pid: 73

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 1s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(49) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 1s, normally up

ok: down: nginx: 5s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 1s, normally up

ok: down: unicorn: 4s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 49) 0s

ok: run: postgres: (pid 47) 0s

supervisor pid: 44 unicorn pid: 73

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 0s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(44) exiting

ok: down: unicorn: 1s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 6s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 3s, normally up

ok: down: unicorn: 6s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

run-parts: executing /etc/runit/1.d/00-ensure-links

run-parts: executing /etc/runit/1.d/00-fix-var-logs

run-parts: executing /etc/runit/1.d/01-cleanup-web-pids

run-parts: executing /etc/runit/1.d/anacron

run-parts: executing /etc/runit/1.d/cleanup-pids

Cleaning stale PID files

run-parts: executing /etc/runit/1.d/copy-env

Started runsvdir, PID is 35

ok: run: redis: (pid 49) 0s

ok: run: postgres: (pid 46) 0s

supervisor pid: 44 unicorn pid: 72

config/unicorn_launcher: line 71: kill: (72) - No such process

config/unicorn_launcher: line 15: kill: (72) - No such process

(44) exiting

ok: run: redis: (pid 49) 17s

ok: run: postgres: (pid 46) 17s

supervisor pid: 104 unicorn pid: 108

config/unicorn_launcher: line 71: kill: (108) - No such process

config/unicorn_launcher: line 15: kill: (108) - No such process

(104) exiting

ok: run: redis: (pid 49) 21s

ok: run: postgres: (pid 46) 21s

supervisor pid: 122 unicorn pid: 126

config/unicorn_launcher: line 71: kill: (126) - No such process

config/unicorn_launcher: line 15: kill: (126) - No such process

(122) exiting

ok: run: redis: (pid 49) 27s

ok: run: postgres: (pid 46) 27s

supervisor pid: 141 unicorn pid: 145

config/unicorn_launcher: line 71: kill: (145) - No such process

config/unicorn_launcher: line 15: kill: (145) - No such process

(141) exiting

ok: run: redis: (pid 49) 32s

ok: run: postgres: (pid 46) 32s

supervisor pid: 159 unicorn pid: 163

config/unicorn_launcher: line 71: kill: (163) - No such process

config/unicorn_launcher: line 15: kill: (163) - No such process

(159) exiting

ok: run: redis: (pid 49) 37s

ok: run: postgres: (pid 46) 37s

supervisor pid: 177 unicorn pid: 181

config/unicorn_launcher: line 71: kill: (181) - No such process

config/unicorn_launcher: line 15: kill: (181) - No such process

(177) exiting

ok: run: redis: (pid 49) 41s

ok: run: postgres: (pid 46) 41s

supervisor pid: 195 unicorn pid: 199

config/unicorn_launcher: line 71: kill: (199) - No such process

config/unicorn_launcher: line 15: kill: (199) - No such process

(195) exiting

ok: run: redis: (pid 49) 46s

ok: run: postgres: (pid 46) 46s

supervisor pid: 213 unicorn pid: 217

config/unicorn_launcher: line 71: kill: (217) - No such process

config/unicorn_launcher: line 15: kill: (217) - No such process

(213) exiting

ok: run: redis: (pid 49) 51s

ok: run: postgres: (pid 46) 51s

supervisor pid: 231 unicorn pid: 235

config/unicorn_launcher: line 71: kill: (235) - No such process

config/unicorn_launcher: line 15: kill: (235) - No such process

(231) exiting

ok: run: redis: (pid 49) 56s

ok: run: postgres: (pid 46) 56s

supervisor pid: 250 unicorn pid: 254

config/unicorn_launcher: line 71: kill: (254) - No such process

config/unicorn_launcher: line 15: kill: (254) - No such process

(250) exiting

ok: run: redis: (pid 49) 61s

ok: run: postgres: (pid 46) 61s

supervisor pid: 268 unicorn pid: 272

config/unicorn_launcher: line 71: kill: (272) - No such process

config/unicorn_launcher: line 15: kill: (272) - No such process

(268) exiting

ok: run: redis: (pid 49) 66s

ok: run: postgres: (pid 276) 2s

supervisor pid: 298 unicorn pid: 302

(298) Reopening logs

(298) Reopening logs

Shutting Down

run-parts: executing /etc/runit/3.d/01-nginx

ok: down: nginx: 0s, normally up

run-parts: executing /etc/runit/3.d/02-unicorn

(298) exiting

ok: down: unicorn: 0s, normally up

run-parts: executing /etc/runit/3.d/10-redis

ok: down: redis: 0s, normally up

run-parts: executing /etc/runit/3.d/99-postgres

ok: down: postgres: 0s, normally up

ok: down: nginx: 6s, normally up

ok: down: postgres: 1s, normally up

ok: down: redis: 3s, normally up

ok: down: unicorn: 6s, normally up

ok: down: cron: 0s, normally up

ok: down: rsyslog: 0s, normally up

Your quick response will be highly appreciated.

You can’t roll back.

Make sure you have swap configured (usually at least 4GB). It’s not that hard for the process to run out of memory.

Rebuild again once you have confirmed swap and share logs if it fails again.

1 Like

Still brings the same error messages even after adding the shared memory to 6 GB

1 Like

This might give you more info

1 Like

Could be that. I’d upgrade docker, and you may need to upgrade your OS to do that. I recommend doing that by moving to a new VM, but there are other ways that other people use.

Could also be a permissions issue with postgres.