# FAILED TO BOOTSTRAP on setup

**URL:** <https://meta.discourse.org/t/failed-to-bootstrap-on-setup/174975>\
**Category:** Self-hosting\
**Created:** [January 4, 2021, 4:08pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-on-setup/174975 "2021-01-04T16:08:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DursunCan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dursuncan/32/204976_2.png) [@DursunCan](https://meta.discourse.org/u/DursunCan)\
**Post date:** [January 4, 2021, 4:08pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-on-setup/174975/1 "2021-01-04T16:08:29Z")

</div>

This error on setup Discourse:

```sh
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && gem update bundler failed with return #<Process::Status: pid 297 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "find $home ! -user discourse -exec chown discourse {} \\+"]}
d85fae83cd3f933238f0e21e6e562469400baf63643d9c6dcd138c739dfa0830
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

```

I tried some solutions, it didn’t work.

---

_[View the full topic](https://meta.discourse.org/t/failed-to-bootstrap-on-setup/174975)._
