# Docker error on command line upgrade (postgres?)

**URL:** <https://meta.discourse.org/t/docker-error-on-command-line-upgrade-postgres/118771>\
**Category:** Self-hosting\
**Created:** [May 27, 2019, 8:23am UTC](https://meta.discourse.org/t/docker-error-on-command-line-upgrade-postgres/118771 "2019-05-27T08:23:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Dieter\_Menne](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dieter\_Menne](https://meta.discourse.org/u/Dieter_Menne)\
**Post date:** [May 27, 2019, 8:23am UTC](https://meta.discourse.org/t/docker-error-on-command-line-upgrade-postgres/118771/1 "2019-05-27T08:23:56Z")

</div>

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:

```plaintext
/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.                                                                      
                                                                                         
                                                                                         
FAILED                                                                                   
--------------------                                                                     
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"                    
c8bfea4f2b676b6f936890f6a301eb400b1971a7cfc99d7aaae373d02520c9cf                         
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may
e more than one                                                                          
/var/discourse>                                                                          

```

---

_[View the full topic](https://meta.discourse.org/t/docker-error-on-command-line-upgrade-postgres/118771)._
