A user, Tango, is attempting to install Discourse on AWS using EC2, PostgreSQL, and Redis. They are following a guide and have added database settings to their app.yml file. sam confirms this is correct and advises against mixing in the database.yml file.
Tango asks for clarification, and sam explains that Discourse uses GlobalSettings for configuration. AbhishekVerma mentions that Discourse on AWS Marketplace is provided by Bitnami, but sam clarifies that unsupported Discourse on AWS is provided by Bitnami.
Tango notes that Bitnami’s solution doesn’t use RDS and Elasticache. Tango asks how to avoid mixing in the database.yml file, and Cameron_D suggests removing certain lines from the app.yml file.
After making changes, Tango encounters error messages during the setup process. itsbhanusharma suggests a guide that may be helpful, but Tango reports that they have already followed it. itsbhanusharma advises revisiting the guide and checking security groups for potential issues. Tango requests to see itsbhanusharma’s app.yml file, but itsbhanusharma no longer has it available.
Hi,
Complete newb here trying to get an installation happening on AWS using EC2 (Ubuntu 16.05LTS), PostgreSQL, Redis.
Im following the under 30 minute guide as well as http://stroupaloop.com/blog/discourse-setup-using-aws/
I noticed in the app.yml file, there are no options to specify database. Is it just a point of adding in the following with my settings into the yml file?
Clarification: unsupported Discourse on AWS is provided by Bitnami, if you choose to go that path you must get all your support from Bitnami not meta.discourse.org.
After making said changes & running ./discourse setup again I am getting error messages
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 192 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
2cd1970d5dc16462b89df28ebbd6b880c5640d0b21f8f2283d3b59d8e8695a9f
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one