# Unable restore Discourse

**URL:** https://meta.discourse.org/t/unable-restore-discourse/164865
**Category:** Support
**Created:** [September 22, 2020, 11:59am UTC](https://meta.discourse.org/t/unable-restore-discourse/164865 "2020-09-22T11:59:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zuli65](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zuli65/32/171917_2.png) [@zuli65](https://meta.discourse.org/u/zuli65)
#### Post date: [September 22, 2020, 11:59am UTC](https://meta.discourse.org/t/unable-restore-discourse/164865/1 "2020-09-22T11:59:10Z")

</div>

Hello,

after an issue with the server I am no longer able to reinstall Discourse. Currently the error is 502 Bad Gateway.  
This is the log of SSH.

```
root@xxxx:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
454737c0eb0bd833434e8313b89e4641c90ff57e291f7c9b3ca7a895a9181abc
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
root@xxxx:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
ac1e181261d864ce64d2939199b3c7f79715679c594254b2208bafc1b97d3ee1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

```

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [September 22, 2020, 1:13pm UTC](https://meta.discourse.org/t/unable-restore-discourse/164865/2 "2020-09-22T13:13:29Z")

</div>

Can you `curl https://github.com`?

---

<div class="post-metadata">

### Author: ![zuli65](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zuli65/32/171917_2.png) [@zuli65](https://meta.discourse.org/u/zuli65)
#### Post date: [September 22, 2020, 1:20pm UTC](https://meta.discourse.org/t/unable-restore-discourse/164865/3 "2020-09-22T13:20:31Z")

</div>

> [@merefield](#):
>
> [https://github.com](https://github.com)

Yes I can do it, it respond the web page

---

<div class="post-metadata">

### Author: ![zuli65](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zuli65/32/171917_2.png) [@zuli65](https://meta.discourse.org/u/zuli65)
#### Post date: [September 22, 2020, 7:48pm UTC](https://meta.discourse.org/t/unable-restore-discourse/164865/4 "2020-09-22T19:48:14Z")

</div>

I solved it like this. I removed from the Docker:

- Ngix

- Redis

- Discourse

And reinstalled Discourse with setup.

The issue was the “communication” between Docker/ Discourse. I had tried to remove Ngix and Redis but the problem persisted. I don’t know why.

The error on plesk was: `Error: {"message":"no such image: discourse/base: No such image: discourse/base:latest"}`
