# Recovering Discourse from a failed update

**URL:** https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752
**Category:** Support
**Created:** [7월 2, 2016, 5:14오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752 "2016-07-02T17:14:33Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![barryparr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barryparr/32/105155_2.png) [@barryparr](https://meta.discourse.org/u/barryparr)
#### Post date: [7월 2, 2016, 5:14오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/1 "2016-07-02T17:14:33Z")

</div>

I wrecked my installation while trying to update Docker and nothing is working now. And I don’t have a backup.

How to do I tell what the state of my docker and in discourse installations are and figure out how to put this back together?

Is it possible to recover the data from my discourse installation and start over?

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [7월 2, 2016, 5:28오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/2 "2016-07-02T17:28:06Z")

</div>

Define “wrecked” ?

Post some logs into a [gist.github.com](http://gist.github.com) (etc) and post your docker version as well?

---

<div class="post-metadata">

### Author: ![barryparr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barryparr/32/105155_2.png) [@barryparr](https://meta.discourse.org/u/barryparr)
#### Post date: [7월 2, 2016, 6:35오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/3 "2016-07-02T18:35:34Z")

</div>

The link to the log is below. I tried update Discourse, but had to update Docker first. I followed the directions on meta for updating, but had some problems.

[http://parr.org/logs/forum\_update.txt](http://parr.org/logs/forum_update.txt)

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [7월 2, 2016, 7:01오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/4 "2016-07-02T19:01:29Z")

</div>

near the end, it says `Please run ./launcher rebuild again` what happened then?

---

<div class="post-metadata">

### Author: ![barryparr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barryparr/32/105155_2.png) [@barryparr](https://meta.discourse.org/u/barryparr)
#### Post date: [7월 2, 2016, 7:52오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/5 "2016-07-02T19:52:43Z")

</div>

I just re-ran it:

```
root@coastsider:/var/discourse# ./launcher rebuild
Config file was not found, ensure containers/.yml exists

Available configs ( app )
root@coastsider:/var/discourse#

```

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [7월 2, 2016, 8:49오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/6 "2016-07-02T20:49:43Z")

</div>

With `./launcher rebuild app` wouldn’t it work ?

---

<div class="post-metadata">

### Author: ![sjmscott](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sjmscott/32/198290_2.png) [@sjmscott](https://meta.discourse.org/u/sjmscott)
#### Post date: [7월 2, 2016, 9:14오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/7 "2016-07-02T21:14:57Z")

</div>

I got stuck upgrading and I tried to the following:

> [@](#):
>
> cd /var/discourse  
> git pull  
> ./launcher app rebuild

I am getting the identical message.

> [@barryparr](#):
>
> root@coastsider:/var/discourse# ./launcher rebuild  
> Config file was not found, ensure containers/.yml exists

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7월 2, 2016, 9:32오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/8 "2016-07-02T21:32:51Z")

</div>

That’s because the command is

`./launcher rebuild app`

not

`./launcher app rebuild`

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [7월 2, 2016, 10:19오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/9 "2016-07-02T22:19:48Z")

</div>

Ah, I didn’t even catch that… I’d rebuild enough times that I used the up arrow key & return to rerun the same command.

Maybe instead of:

`Please run ./launcher rebuild again`

the line should be

```plaintext
Please re-run:

./launcher rebuild app

```

EDIT - PR Submitted

---

<div class="post-metadata">

### Author: ![barryparr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barryparr/32/105155_2.png) [@barryparr](https://meta.discourse.org/u/barryparr)
#### Post date: [7월 2, 2016, 10:50오후 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/10 "2016-07-02T22:50:00Z")

</div>

My site is back.

Thank you for walking through that.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7월 4, 2016, 9:16오전 UTC](https://meta.discourse.org/t/recovering-discourse-from-a-failed-update/46752/11 "2016-07-04T09:16:22Z")

</div>


