# Failed to update Discourse new version

**URL:** https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801
**Category:** Self-hosting
**Created:** [August 2, 2022, 10:14am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801 "2022-08-02T10:14:23Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![William\_Gary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/william_gary/32/263570_2.png) [@William\_Gary](https://meta.discourse.org/u/William_Gary)
#### Post date: [August 2, 2022, 10:14am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/1 "2022-08-02T10:14:24Z")

</div>

Hi guys, I’m new to building a community with Discourse and was told to update the latest Discourse version in SSH. I’ve checked and followed the instruction at [Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325).

But when I execute

```plaintext
cd /var/discourse
git pull
./launcher rebuild app

```

it says my container/.yml doesn’t exist

 ![troubleshooting-1](https://global.discourse-cdn.com/meta/original/4X/9/5/a/95a6fa7cf12666fa1e3c429fc4fc7d513c1549ce.jpeg)

Any suggestions will be appreciate!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 2, 2022, 10:24am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/2 "2022-08-02T10:24:07Z")

</div>

Hi @William_Gary 🙂

Did you follow the [standard install](https://meta.discourse.org/t/142537?silent=true) or some other method to create your Discourse instance? There’s a chance your `app.yml` is called something else (eg. if you have a two-container set-up).

---

<div class="post-metadata">

### Author: ![William\_Gary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/william_gary/32/263570_2.png) [@William\_Gary](https://meta.discourse.org/u/William_Gary)
#### Post date: [August 2, 2022, 10:39am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/3 "2022-08-02T10:39:18Z")

</div>

Hi @JammyDodger  
Yeah, I did follow the [standard install](https://meta.discourse.org/t/142537?silent=true).  
when I do

```plaintext
docker version

```

It says this and it looks like somehow I got two containers.

 ![troubleshooting-2](https://global.discourse-cdn.com/meta/original/4X/f/8/2/f82fa7f7c49c92528893754d1bdc79ccc6c835c9.jpeg)  
Is there a way to get rid of one of them?

---

<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: [August 2, 2022, 12:11pm UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/4 "2022-08-02T12:11:23Z")

</div>

You need to run as user root.

Do a

```
sudo su -

```

Before the cd command

---

<div class="post-metadata">

### Author: ![William\_Gary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/william_gary/32/263570_2.png) [@William\_Gary](https://meta.discourse.org/u/William_Gary)
#### Post date: [August 3, 2022, 1:57am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/6 "2022-08-03T01:57:59Z")

</div>

@pfaffman Yeah, you’re right, and thank you so much, Jay!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 2, 2022, 1:58am UTC](https://meta.discourse.org/t/failed-to-update-discourse-new-version/234801/7 "2022-09-02T01:58:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
