How deploy in aws

Its possible to deploy in Aws.

Create an EC2 Ubuntu 16.04 instance and then run the Ubuntu Install Script.

Hi,

I am trying to host trudesk application in heroku. But after the database installation the system is not logging it comes back to the original installation page. Any thing i have missed.

I have use mlab addon in heroku for mongodb

Thanks much


this is heroku log

Heroku doesn’t run the node process through PM2 so it is failing to restart the server.
You will need to restart the node process.

So this topic is now about Heroku and not AWS?

ok, i will create new topic for heroku.

curl -L -s http://www.trudesk.io/install/install_ubuntu.sh | sudo bash
i had use putty to run the above command in aws . but installation not properly completed.
mongodb not installed.

Did you select to install MongoDB during the script? It prompts if you want to install. The default option is No.

I just tested the install script on AWS with a fresh Ubuntu 16.04 instance.

No issues. Server up and running fine after install.

Instance is here: http://3.209.46.167:8118
username: demo.user
password: password

I’ll leave it up for a couple of hours…

trudesk working normally in first setup (new database create)

but when connect existing database the code not run and get below error message from output.log file

2/25 17:04:19 [13644] - e[31merrore[39m: Oh no, something went wrong with DB! - Authentication failed.
2/25 17:04:20 [13644] - e[31merrore[39m: Oh no, something went wrong with DB! - Authentication failed.
2/25 17:04:20 [13644] - e[33mwarne[39m: Retrying to connect to MongoDB in 10secs…
2/25 17:04:20 [13644] - e[31merrore[39m: FETAL: Authentication failed.

i had deployed code in AWS successfully ,

but avatar images are not loaded .

when upload images , error is accure. (please check console 2) .