# Rm: не удалось удалить '/var/run/postgresql': Каталог не пуст

**URL:** <https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046>\
**Category:** Self-hosting\
**Created:** [04.Март.2023 12:09:32 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:** 10

<div class="post-metadata">

**Author:** ![Blechpirat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blechpirat/32/221370_2.png) [@Blechpirat](https://meta.discourse.org/u/Blechpirat)\
**Post date:** [06.Март.2023 15:18:34 UTC](https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046/10 "2023-03-06T15:18:34Z")

</div>

Я выполнил команду rm -R /var/discourse и следовал официальному руководству по установке на одном из первых шагов.

> [@Jay Pfaffman](#):
>
> Попробуйте изменить тома так, чтобы они находились не в /var/discourse/shared/standalone

Я попробую это!

---

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