# Rm: cannot remove '/var/run/postgresql': Directory not empty

**URL:** <https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046>\
**Category:** Self-hosting\
**Created:** [March 4, 2023, 12:09pm UTC](https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046 "2023-03-04T12:09:32Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [March 6, 2023, 4:18pm UTC](https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046/14 "2023-03-06T16:18:26Z")

</div>

> [@Blechpirat](#):
>
> `'/var/run/postgresql': Directory not empty`

That directory maps to `/var/discourse/shared/standalone/postgres_run` in the host.

---

_[View the full topic](https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046)._
