# Discourse setup on local server: PostgreSQL and setup script issues

**URL:** <https://meta.discourse.org/t/discourse-setup-on-local-server-postgresql-and-setup-script-issues/289877>\
**Category:** Self-hosting\
**Tags:** sql-query\
**Created:** [December 27, 2023, 3:04pm UTC](https://meta.discourse.org/t/discourse-setup-on-local-server-postgresql-and-setup-script-issues/289877 "2023-12-27T15:04:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [December 28, 2023, 1:55am UTC](https://meta.discourse.org/t/discourse-setup-on-local-server-postgresql-and-setup-script-issues/289877/2 "2023-12-28T01:55:46Z")

</div>

> [@a\_bet](#):
>
> - I confirmed that PostgreSQL is running by checking the process list.
> - I verified that PostgreSQL is listening on the correct port (5432) and that the Unix socket file exists.

You don’t need to install postgres. In a [standard install](https://meta.discourse.org/t/142537?silent=true), Discourse has its own postgres in the container. I recommend that you un-install or remove postgres. Do you have reason to use a pre-existing postgres? Is anything else running on this machine?

I don’t think those are errors, but just debugging messages.

What did it say at the end of the script?

---

_[View the full topic](https://meta.discourse.org/t/discourse-setup-on-local-server-postgresql-and-setup-script-issues/289877)._
