# Stuck at root@forum:~#

**URL:** https://meta.discourse.org/t/stuck-at-root-forum/132780
**Category:** Self-hosting
**Created:** [November 6, 2019, 8:55pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780 "2019-11-06T20:55:55Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 6, 2019, 8:55pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/1 "2019-11-06T20:55:55Z")

</div>

In the (never-ending) process of trying to setup Discourse via Mailgun + Digital Ocean.  
I’ve secured my droplet with Digital Ocean and confirmed by DNS with [name.com](http://name.com) and Mailgun.  
I entered my temporary password and reset it. Now I’m here

 ![30%20PM](https://global.discourse-cdn.com/meta/original/3X/4/d/4dc88c7fa9ec8d57e0808c342e3632ce4b82b5f8.png)

and don’t know what to do because the instructions I’m following don’t have this step.  
What do I do with: root@forum:~#

Can someone PLEASE help?! I’ve been working on this for two days in what feels like a hundred different ways.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [November 6, 2019, 9:00pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/2 "2019-11-06T21:00:57Z")

</div>

Hey Whitney!

Happy to help, but I’m not sure what you’re trying to do.

`root@forum:~#` is a prompt waiting for an input. You’ve successfully accessed the server, and now need to do whatever the next step in your process is. Assuming you’re going through the [official install process](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md), the next step would be the [install Discourse](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#install-discourse) step.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [November 6, 2019, 9:02pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/3 "2019-11-06T21:02:29Z")

</div>

It actually means you’re in your server.

You should continue from [here (Install Docker / Git)](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#install-docker--git-optional)

---

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 6, 2019, 9:11pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/4 "2019-11-06T21:11:53Z")

</div>

Ok. Wow, yeah. That’s embarrassing. Ha! I’m very new to this.  
I moved into the next step - seems to have been successful. But then this…

 ![57%20PM](https://global.discourse-cdn.com/meta/original/3X/9/6/964894b4cb78df6758559065554d442e3ff05f6a.jpeg)

For context, I went through all of this yesterday only to realize that Gmail wasn’t going to work. Now I’m trying to follow the install more closely…but, yeah.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [November 6, 2019, 9:15pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/5 "2019-11-06T21:15:02Z")

</div>

Check out the 5th line from the bottom, you’ve combined two steps. You need to run

```plaintext
cd /var/discourse

```

Then, after that finishes, run

```plaintext
./discourse-setup

```

Also, if possible, copying the output into a code block is better than an image. It allows the text to be searchable/copyable.

To make a code block, use 3 backticks on their own line above and below the code.

Typing:

```
```
code
 goes
  here
```
```

Would result in

```plaintext
code
 goes
  here

```

---

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 6, 2019, 9:44pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/6 "2019-11-06T21:44:36Z")

</div>

Thanks for that! I went back, seemed to be finally running everything - was expecting to be prompted for admin information but stopped here:

```plaintext
+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_HOSTNAME=forum.irresistible.org -e DISCOURSE_DEVELOPER_EMAILS=healingjusticepodcast@gmail.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=postmaster@mg.irresistible.org -e DISCOURSE_SMTP_PASSWORD=11d47709c46c21ccb043f7c914dbdba7-f696beb4-6a27c118 -h forum-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:96:f4:e6:e7:14 local_discourse/app /sbin/boot
4d96de7fffe652fa5a000fb73176f9942e9001f91c0b75520b75670ed869aca4
root@forum:/var/discourse# 
+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_HOSTNAME=forum.irresistible.org -e DISCOURSE_DEVELOPER_EMAILS=healingjusticepodcast@gmail.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=postmaster@mg.irresistible.org -e DISCOURSE_SMTP_PASSWORD=11d47709c46c21ccb043f7c914dbdba7-f696beb4-6a27c118 -h forum-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:96:f4:e6:e7:14 local_discourse/app /sbin/boot
4d96de7fffe652fa5a000fb73176f9942e9001f91c0b75520b75670ed869aca4
root@forum:/var/discourse# 
+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_HOSTNAME=forum.irresistible.org -e DISCOURSE_DEVELOPER_EMAILS=healingjusticepodcast@gmail.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=postmaster@mg.irresistible.org -e DISCOURSE_SMTP_PASSWORD=11d47709c46c21ccb043f7c914dbdba7-f696beb4-6a27c118 -h forum-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:96:f4:e6:e7:14 local_discourse/app /sbin/boot
4d96de7fffe652fa5a000fb73176f9942e9001f91c0b75520b75670ed869aca4
root@forum:/var/discourse#

```

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [November 6, 2019, 9:52pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/7 "2019-11-06T21:52:04Z")

</div>

Any change you typed Ctrl+c on the keyboard? Where exactly in the process were you when this happened? We’ll need to see what happened before the output you’ve shared above.

---

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 6, 2019, 10:03pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/8 "2019-11-06T22:03:12Z")

</div>

After our last message, I stepped back and entered the following:

```plaintext
root@forum:~# cd /var/discourse
root@forum:/var/discourse# ./discourse-setup
Docker not installed. Enter to install from https://get.docker.com/ or Ctrl+C to exit
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 13216 100 13216 0 0 322k 0 --:--:-- --:--:-- --:--:-- 322k
# Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)

```

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [November 6, 2019, 10:10pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/10 "2019-11-06T22:10:19Z")

</div>

Alright I’m no expert - if it was me it would destroy this server and create a new one. It saves troubleshooting, u are just installing and not saving a production forum so save yourself the time and just make a new server. It’a a few minutes work especially with 4GB+ RAM servers.

And no one know what u actually did before all of this. Just my few cents.

---

<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: [November 6, 2019, 10:29pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/11 "2019-11-06T22:29:39Z")

</div>

A few minutes after that it should have started asking you for your host name and so on.

> [@MarcP](#):
>
> if it was me it would destroy this server and create a new one.

There’s really no need. You haven’t done anything yet that makes this any different from a new server. (Except, perhaps, installed Docker).

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [November 6, 2019, 10:32pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/12 "2019-11-06T22:32:38Z")

</div>

> [@whitspen](#):
>
> I’ve been working on this for two days in what feels like a hundred different ways.

I don’t know. We don’t know what he did during these two days.

---

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 7, 2019, 4:21pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/13 "2019-11-07T16:21:41Z")

</div>

I read your suggestions and went back through the process. Discourse seemed to be setup and ready to go. I received this prompt:

```plaintext
Discourse is now installed. Log into your admin account in a browser to continue
configuring Discourse.
root@forum:~# 

```

I went to [http://167.71.253.224](http://167.71.253.224). I was prompted to enter a username and password. (I’ve made it to this point four times now) I did. And this was the result of that submission.

 ![15%20AM](https://global.discourse-cdn.com/meta/original/3X/5/8/58387238fb34f0c837146c472eda3e58691aa540.png)

I went to my email and got this message:  
Welcome to Discourse!

Click the following link to confirm and activate your new account:  
[http://forum.irresistible.org/u/activate-account/aaec7ffdc5fcd82b1fd9610b66f1fda9](http://forum.irresistible.org/u/activate-account/aaec7ffdc5fcd82b1fd9610b66f1fda9)

If the above link is not clickable, try copying and pasting it into the address bar of your web browser.

When I clicked on it, I’m back at square one because it goes here:

 ![37%20AM](https://global.discourse-cdn.com/meta/original/3X/9/0/9076c310020725210a3048cfc6844825f090c273.png)

At this point, I’ve done nothing outside of the steps listed in Install Guide. What’s the next best step? Because I’m at a loss.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 7, 2019, 4:32pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/14 "2019-11-07T16:32:17Z")

</div>

You gotta go into the control panel of the website where you bought the domain `irresistible.org` and add a DNS entry:

Type: `A`  
Name: `forum`  
Value: `167.71.253.224`

Wait five minutes and it should work.

---

<div class="post-metadata">

### Author: ![whitspen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whitspen/32/160499_2.png) [@whitspen](https://meta.discourse.org/u/whitspen)
#### Post date: [November 7, 2019, 4:50pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/15 "2019-11-07T16:50:24Z")

</div>

You are a lifesaver. As much as I love learning new things, this was a bear. Thank you!

---

<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: [December 7, 2019, 6:48pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780/17 "2019-12-07T18:48:53Z")

</div>

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