# Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return

**URL:** <https://meta.discourse.org/t/pups-su-postgres-c-psql-discourse-c-alter-schema-public-owner-to-discourse-failed-with-return/254858>\
**Category:** Self-hosting\
**Created:** [February 11, 2023, 4:13pm UTC](https://meta.discourse.org/t/pups-su-postgres-c-psql-discourse-c-alter-schema-public-owner-to-discourse-failed-with-return/254858 "2023-02-11T16:13:08Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [February 11, 2023, 7:16pm UTC](https://meta.discourse.org/t/pups-su-postgres-c-psql-discourse-c-alter-schema-public-owner-to-discourse-failed-with-return/254858/9 "2023-02-11T19:16:23Z")

</div>

I am nnot fully sure of the procedure but you might be able to load the site in [safe mode](https://meta.discourse.org/t/53504?silent=true).

@JammyDodger can you link the procedure for [safe mode](https://meta.discourse.org/t/53504?silent=true)?

---

_[View the full topic](https://meta.discourse.org/t/pups-su-postgres-c-psql-discourse-c-alter-schema-public-owner-to-discourse-failed-with-return/254858)._
