I restarted my server now this is happening:
root@forum:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
- /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2016-12-02T00:00:21.369933 #14] INFO – : Loading --stdin
I, [2016-12-02T00:00:21.381560 #14] INFO – : > mkdir -p /shared/postgres_run
I, [2016-12-02T00:00:21.389944 #14] INFO – :
I, [2016-12-02T00:00:21.390801 #14] INFO – : > chown postgres:postgres /shared/postgres_run
I, [2016-12-02T00:00:21.395122 #14] INFO – :
I, [2016-12-02T00:00:21.395880 #14] INFO – : > chmod 775 /shared/postgres_run
I, [2016-12-02T00:00:21.399199 #14] INFO – :
I, [2016-12-02T00:00:21.399893 #14] INFO – : > rm -fr /var/run/postgresql
I, [2016-12-02T00:00:21.403201 #14] INFO – :
I, [2016-12-02T00:00:21.403831 #14] INFO – : > ln -s /shared/postgres_run /var/run/postgresql
I, [2016-12-02T00:00:21.407292 #14] INFO – :
I, [2016-12-02T00:00:21.407911 #14] INFO – : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
I, [2016-12-02T00:00:21.423887 #14] INFO – : postgres already running stop container
FAILED
Pups::ExecError: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1 failed with return #<Process::Status: pid 21 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn’
exec failed with the params “socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1”
69f7797520f27421762f39f0c5f23d4b182b0b297b3dc71f77452f191afbc741
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one