Docker error on command line upgrade (postgres?)

Discourse on Ubuntu 16.04.6 running ok since one year. Discourse is the only docker container active. When trying to upgrade, I get an error related to postgres:

/var/discourse> cat a.txt                                                                
Ensuring launcher is up to date                                                          
Fordere an von origin                                                                    
Launcher is up-to-date                                                                   
cd /pups && git pull && /pups/bin/pups --stdin                                           
Already up-to-date.                                                                      
Pups::ExecError: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 
&& echo postgres already running stop container ; exit 1 failed with return #<Process::St
us: pid 46 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.5
2 || exit 0 && echo postgres already running stop container ; exit 1"                    
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may
e more than one                                                                          

It is likely the docker service is out of date and needs to be updated.

1 Like

apt tells me it is already latest version (and all other ubuntu stuff is current)

docker-ce ist schon die neueste Version (5:18.09.6~3-0~ubuntu-xenial).

Ok good then it looks like Postgres is your problem. Have you tried rebooting and the rebuilding from command line again?

1 Like

Rebuilding alone did not work. Fine after

  • explicitly stop container
  • remove image (required!)
  • rebuild