# Problems installing on existing EC2 server

**URL:** https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098
**Category:** Self-hosting
**Created:** [July 17, 2022, 12:58pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098 "2022-07-17T12:58:50Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![greg\_c](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@greg\_c](https://meta.discourse.org/u/greg_c)
#### Post date: [July 17, 2022, 12:58pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/1 "2022-07-17T12:58:50Z")

</div>

Truly, I would never have expected a simple install of forum software would just wreck my amazon ec2 server.

I can’t even connect to it now.

What the hell is it doing?

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/5/a/85a036be131a641cbfedbc3b355ab59fc83bdaec.png)

---

<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: [July 17, 2022, 1:09pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/2 "2022-07-17T13:09:38Z")

</div>

Hello and welcome @greg_c 🙂

From the screenshot, it looks like it’s installing Discourse? Have you had any errors at all?

---

<div class="post-metadata">

### Author: ![greg\_c](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@greg\_c](https://meta.discourse.org/u/greg_c)
#### Post date: [July 17, 2022, 1:34pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/3 "2022-07-17T13:34:18Z")

</div>

It just disconnected my putty session, no idea if it finished

---

<div class="post-metadata">

### Author: ![greg\_c](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@greg\_c](https://meta.discourse.org/u/greg_c)
#### Post date: [July 17, 2022, 1:40pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/4 "2022-07-17T13:40:41Z")

</div>

seems that it uses massive cpu or something causing everything to pause during install.  
I can log back in.

Its not the only domain on the server, maybe getting confused by that, hard to say.  
I ran discourse-doctor and I think I saw an error about unable to use a port since in use.

idk will have to look around.

---

<div class="post-metadata">

### Author: ![crcoli7307](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crcoli7307/32/267901_2.png) [@crcoli7307](https://meta.discourse.org/u/crcoli7307)
#### Post date: [July 17, 2022, 1:56pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/5 "2022-07-17T13:56:17Z")

</div>

The part of the install in which the screenshot was taken from normally takes a while to complete from personal experience. Perhaps try using ssh from the Windows Command Processor (aka Command Prompt) instead of PuTTY, doubt it will make a difference but try connecting from ssh over command prompt and run `./launcher rebuild app` since it seems like you’ve already completed the configuration.

---

<div class="post-metadata">

### Author: ![crcoli7307](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crcoli7307/32/267901_2.png) [@crcoli7307](https://meta.discourse.org/u/crcoli7307)
#### Post date: [July 17, 2022, 1:58pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/6 "2022-07-17T13:58:29Z")

</div>

> [@greg\_c](#):
>
> I think I saw an error about unable to use a port since in us

It’s possible, maybe try installing Discourse on a clean droplet instead of one with other websites. If you have multiple websites and Discourse running on the same server, you must follow the instructions outlined in this topic:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

<div class="post-metadata">

### Author: ![greg\_c](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@greg\_c](https://meta.discourse.org/u/greg_c)
#### Post date: [July 17, 2022, 2:27pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/7 "2022-07-17T14:27:14Z")

</div>

Yeah I think I will just get it hosting, $100 a month is a lot but better than me spending my time on thjis.

---

<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: [July 17, 2022, 2:38pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/8 "2022-07-17T14:38:14Z")

</div>

Ha. Yes, self-hosting isn’t everyone’s cup of tea. 🙂 There are quite a few hosted options though, as well as being able to pay someone to set it up for you initially (and then you maintain it). We even have free trials for our hosting if you fancy checking it out before committing to a hosting option - [https://www.discourse.org/pricing](https://www.discourse.org/pricing)

---

<div class="post-metadata">

### Author: ![crcoli7307](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crcoli7307/32/267901_2.png) [@crcoli7307](https://meta.discourse.org/u/crcoli7307)
#### Post date: [July 17, 2022, 2:38pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/9 "2022-07-17T14:38:28Z")

</div>

Fair enough. Good luck! Let me know if you need anything.

---

<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: [July 17, 2022, 4:22pm UTC](https://meta.discourse.org/t/problems-installing-on-existing-ec2-server/233098/10 "2022-07-17T16:22:13Z")

</div>

No one is unhappy with [discourse.org](http://discourse.org) hosting. My new dashboard ([https://dashboard.literatecomputing.com/](https://dashboard.literatecomputing.com/)) will do the installation and configure mailgun and create a digital ocean droplet (or use a fresh ec2 that you create). Running on a server that’s doing something else is a bit of a chore though.
