# لا يمكن إعادة بناء الموقع التالي بعد الفشل: "postgres قيد التشغيل بالفعل"

**URL:** <https://meta.discourse.org/t/cannot-rebuild-following-site-failure-postgres-already-running/24102>\
**Category:** Self-hosting\
**Created:** [16 يناير 2015، 10:06م UTC](https://meta.discourse.org/t/cannot-rebuild-following-site-failure-postgres-already-running/24102 "2015-01-16T22:06:26Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![oblio](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@oblio](https://meta.discourse.org/u/oblio)\
**Post date:** [16 سبتمبر 2015، 1:22م UTC](https://meta.discourse.org/t/cannot-rebuild-following-site-failure-postgres-already-running/24102/11 "2015-09-16T13:22:10Z")

</div>

I’m hitting this with Docker 1.7.1 and the latest version of Discourse. I want to rebuild because I get this in the performance reports thread:

> Report is only available in latest image, please run:  
> cd /var/discourse  
> ./launcher rebuild app

The error is:

```plaintext

I, [2015-09-16T13:19:11.708621 #39] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
I, [2015-09-16T13:19:11.721860 #39] INFO -- : postgres already running stop container

FAILED
--------------------
RuntimeError: 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 46 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105: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"
323124ae8ceb4b35d3e926876f605fa71d5e5fe308a1ab18b9d1f8072b3fff6b
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

The forum itself is working but I’d like to have the performance reports as well…

---

_[View the full topic](https://meta.discourse.org/t/cannot-rebuild-following-site-failure-postgres-already-running/24102)._
