# Bitnami install on AWS EC2 - email won't work

**URL:** https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393
**Category:** Self-hosting
**Created:** [March 21, 2016, 7:27pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393 "2016-03-21T19:27:27Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sidonaldson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidonaldson/32/121830_2.png) [@sidonaldson](https://meta.discourse.org/u/sidonaldson)
#### Post date: [March 21, 2016, 7:27pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/1 "2016-03-21T19:27:27Z")

</div>

I know this install technique isn’t supported but if anyone can help me debug the issue I would be very grateful!

I launch the image, runs correctly, I add my mailgun settings and all test emails send fine. I can change username, password, test email and post notifications etc. Perfect.

Then I set up an elastic IP and run `bnconfig --machine-hostname DESTINATION` then restart… boom. No more emails.

I then backtrack and reset the hostname to the EC2 instance and remove the IP etc, restart, doesn’t fix it.

I’m not ready to give up just yet though but sadly the bitnami forums aren’t helping.

These are the sidekiq errors:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/3/9349c10d9afea47d4b7599a354cc6e2f0154732b.png)

Can anyone help me debug this, or do these errors make more sense to someone?

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [March 21, 2016, 7:55pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/2 "2016-03-21T19:55:19Z")

</div>

@Frez put together a tutorial on how to set up Discourse on EC2 in a _supported_ way that _actually works_:

> [@Install Discourse on Amazon Web Services (AWS)](https://meta.discourse.org/t/install-discourse-on-amazon-ws-with-cloudflare/37323):
>
> warning This installation method is not officially endorsed. Use at your own risk. The Discourse team only recommend installation using the [official install guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) This guide originally included information about cloudflare, but @pfaffman thinks that conflating AWS and cloudflare is a bad idea. If you’re an AWS user, AWS Cloudfront makes much more sense than Cloudflare. @pfaffman edited this a good bit on 2022.11.21; if something seems broken, blame me. If it works, thank the original auth…

I’d highly recommend that you follow these instructions.

---

<div class="post-metadata">

### Author: ![sidonaldson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidonaldson/32/121830_2.png) [@sidonaldson](https://meta.discourse.org/u/sidonaldson)
#### Post date: [March 24, 2016, 11:48am UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/3 "2016-03-24T11:48:44Z")

</div>

I found a solution for anyone who finds this thread - follow the update procedure in this [wiki](https://wiki.bitnami.com/Applications/BitNami_Discourse) to get the latest version of discourse and then everything works as expected! Wish I tried that first before wasting four days trying to debug it!

---

<div class="post-metadata">

### Author: ![sidonaldson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidonaldson/32/121830_2.png) [@sidonaldson](https://meta.discourse.org/u/sidonaldson)
#### Post date: [March 24, 2016, 11:50am UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/4 "2016-03-24T11:50:18Z")

</div>

I did look at this too but I have to say the instructions are very minimal in places and assume you are experienced with AWS and all the services, almost impossible to follow without prior knowledge.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [March 24, 2016, 12:08pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/5 "2016-03-24T12:08:51Z")

</div>

I’m happy that you got it running. But please keep in mind that you will not get any support here if your unofficial Bitnami install breaks later – and that is pretty likely as the dependencies change over time.

Can you point out where the instructions were not sufficient for you? I’m sure @Frez would be happy to clarify them where needed.

---

<div class="post-metadata">

### Author: ![sidonaldson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidonaldson/32/121830_2.png) [@sidonaldson](https://meta.discourse.org/u/sidonaldson)
#### Post date: [March 24, 2016, 12:19pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/6 "2016-03-24T12:19:10Z")

</div>

Absolutely understand the support issue - I just wish I had updated the Discourse version before trying lots of other things. I only realised it wasn’t the latest version when I had given up and opened a digitalocean account. Happy to say it works as expected now.

Regarding the comment about Frez’s instructions; it’s not a criticism, they are not step by step instructions but are more akin to a top level guide, not suitable to a novice as you cannot follow them explicitly. It would be a considerable amount of work (and then support) to change them into full step by step instructions.

---

<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: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/bitnami-install-on-aws-ec2-email-wont-work/41393/7 "2024-06-08T12:45:51Z")

</div>

This topic was automatically closed after 3000 days. New replies are no longer allowed.
