# Bootstrap-Fehler während der Installation auf Amazon EC2 (Ubuntu)

**URL:** <https://meta.discourse.org/t/bootstrap-error-during-installation-at-amazon-ec2-ubuntu/82998>\
**Category:** Self-hosting\
**Created:** [14. März 2018 um 18:34 UTC](https://meta.discourse.org/t/bootstrap-error-during-installation-at-amazon-ec2-ubuntu/82998 "2018-03-14T18:34:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![abdo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/abdo/32/92160_2.png) [@abdo](https://meta.discourse.org/u/abdo)\
**Post date:** [14. März 2018 um 18:34 UTC](https://meta.discourse.org/t/bootstrap-error-during-installation-at-amazon-ec2-ubuntu/82998/1 "2018-03-14T18:34:12Z")

</div>

Hello,

I’ve followed the instructions at: [http://stroupaloop.com/blog/discourse-setup-using-aws/](http://stroupaloop.com/blog/discourse-setup-using-aws/) - to setup a discourse instance via Amazon EC2. Everything seems to be working smoothly until, I arrive at: “sudo ./launcher bootstrap app” and receive the following error.

```
   FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 13896 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’”]}
f5472ed8e1191c1208eb989e78ceedc9b968fb7db2c36a0a7d2f93e03bf6122e
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

Any idea what’s going wrong there and how to fix it?

Thanks

---

_[View the full topic](https://meta.discourse.org/t/bootstrap-error-during-installation-at-amazon-ec2-ubuntu/82998)._
