# Failed bootstrap: rake aborted (wrong number of arguments)

**URL:** <https://meta.discourse.org/t/failed-bootstrap-rake-aborted-wrong-number-of-arguments/76410>\
**Category:** Product Support\
**Created:** [December 19, 2017, 10:28am UTC](https://meta.discourse.org/t/failed-bootstrap-rake-aborted-wrong-number-of-arguments/76410 "2017-12-19T10:28:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [December 19, 2017, 10:28am UTC](https://meta.discourse.org/t/failed-bootstrap-rake-aborted-wrong-number-of-arguments/76410/1 "2017-12-19T10:28:47Z")

</div>

When rebuilding my app, bootstrapping fails like this:

```plaintext
2017-12-19 09:36:33.578 UTC [48] LOG: database system is shut down

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

```

Further up, I find

```plaintext
Bundled gems are installed into `./vendor/bundle`

I, [2017-12-19T09:36:12.734165 #14] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
ArgumentError: wrong number of arguments (given 1, expected 2..3)

```

I uninstalled any suspicious plugins. Here is what I have left:

```plaintext
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-data-explorer.git
          - git clone https://github.com/discourse/discourse-canned-replies.git
          - git clone https://github.com/discourse/discourse-translator.git
          - git clone https://github.com/discourse/discourse-admin-statistics-digest.git
          - git clone https://github.com/discourse/discourse-feature-voting.git
          - git clone https://github.com/discourse/discourse-staff-notes.git
          - git clone https://github.com/berlindiamonds/discourse-sync-base.git
          - git clone https://github.com/berlindiamonds/discourse-sync-to-dropbox.git
          - git clone https://github.com/discourse/discourse-assign.git
          - git clone https://github.com/discourse/discourse-bbcode.git

```

How can I troubleshoot this?

---

_[View the full topic](https://meta.discourse.org/t/failed-bootstrap-rake-aborted-wrong-number-of-arguments/76410)._
