# Upgrade failed

**URL:** <https://meta.discourse.org/t/upgrade-failed/250754>\
**Category:** Self-hosting\
**Created:** [January 4, 2023, 9:06pm UTC](https://meta.discourse.org/t/upgrade-failed/250754 "2023-01-04T21:06:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ingo\_Karstein](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ingo_karstein/32/206923_2.png) [@Ingo\_Karstein](https://meta.discourse.org/u/Ingo_Karstein)\
**Post date:** [January 4, 2023, 9:16pm UTC](https://meta.discourse.org/t/upgrade-failed/250754/2 "2023-01-04T21:16:44Z")

</div>

I see that the owner is wrong

```plaintext
drwxr-xr-x 15 sshd netdev 4096 Jan 4 21:43 .
drwxr-xr-x 3 root root 4096 Jan 3 2018 ..
drwxr-xr-x 3 1000 www-data 4096 Jan 3 2018 backups
drwxr-xr-x 8 sshd netdev 4096 Feb 2 2021 letsencrypt
drwxr-xr-x 4 sshd netdev 4096 Jan 3 2018 log
drwxr-xr-x 2 systemd-timesync systemd-resolve 4096 Jan 3 2018 postgres_backup
drwx------ 19 systemd-timesync systemd-resolve 4096 Jan 4 21:53 postgres_data
drwx------ 19 sshd netdev 4096 Jan 4 20:49 postgres_data_new
drwxrwsr-x 6 systemd-timesync systemd-resolve 4096 Jan 4 21:53 postgres_run
drwxr-xr-x 2 systemd-resolve kvm 4096 Jan 4 21:53 redis_data
drwxr-xr-x 2 sshd netdev 4096 Jan 22 2021 ssl
drwxr-xr-x 2 sshd netdev 4096 Jan 21 2021 ssl_old
drwxr-xr-x 4 sshd netdev 4096 Jan 3 2018 state
drwxr-xr-x 4 1000 www-data 4096 Jan 4 21:28 tmp
drwxr-xr-x 4 1000 www-data 4096 Jan 5 2018 uploads

```

I start the container using `./launcher start app`. Than enter the container: `./launcher enter app`.

I reset the ownership `chown -R postgres:postgres /shared/`

Afterwards it’s corrected. But when I rebuild the app again the owner is wrong again…

---

_[View the full topic](https://meta.discourse.org/t/upgrade-failed/250754)._
