My Discourse install at Digital Ocean is behaving very oddly. While it is still running fine I can’t do anything via SSH anymore. When I try to enter the container I get the error that the container is not running.
And when I try to rebuild I get:
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 45 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112: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"
4f10d0a44bb29a2710b46c2ec2ea7dc2d7b10b8588a1317f0fcac79e32fd95ca
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
If there isn’t, why are we having this conversation?
What you (probably) want to do is
./launcher stop import
./launcher rebuild app
# make sure that the site is working
./launcher destroy import # so that it doesn't start up when you reboot
# and to be sure that you're not confused in the future
rm containers/import.yml