# FAILED TO BOOTSTRAP help

**URL:** https://meta.discourse.org/t/failed-to-bootstrap-help/69030
**Category:** Support
**Created:** [August 30, 2017, 5:04am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030 "2017-08-30T05:04:07Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![11145](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11145/32/119636_2.png) [@11145](https://meta.discourse.org/u/11145)
#### Post date: [August 30, 2017, 5:04am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/1 "2017-08-30T05:04:07Z")

</div>

Help, what could be the problem?  
👉 log [https://pastebin.com/iiBzj7k0](https://pastebin.com/iiBzj7k0)

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

```

* * *

```
  after_code:
- exec:
    cd: $home/plugins
    cmd:
      - git clone https://github.com/discourse/docker_manager.git

```

PS  
Disconnected all plug-ins, but it does not start

```
2017-08-30 05:50:35.663 UTC [466] discourse@discourse STATEMENT: DROP TRIGGER IF EXISTS users_email_readonly ON users;
	DROP FUNCTION IF EXISTS raise_users_email_readonly();
	
rake aborted!
PG::DependentObjectsStillExist: ERROR: cannot drop function raise_users_email_readonly() because other objects depend on it
DETAIL: trigger users_email_readonly on table backup.users depends on function raise_users_email_readonly()

```

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 30, 2017, 7:24am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/2 "2017-08-30T07:24:29Z")

</div>

Are you on the latest branch?

---

<div class="post-metadata">

### Author: ![11145](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11145/32/119636_2.png) [@11145](https://meta.discourse.org/u/11145)
#### Post date: [August 30, 2017, 7:29am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/3 "2017-08-30T07:29:37Z")

</div>

> [@tgxworld](#):
>
> Are you on the latest branch?

Maybe yes. Today I tried to update.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 30, 2017, 7:57am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/5 "2017-08-30T07:57:58Z")

</div>

This should fix it

[https://github.com/discourse/discourse/commit/df9d662dab25aaaeae16598c62b956efc360d03c](https://github.com/discourse/discourse/commit/df9d662dab25aaaeae16598c62b956efc360d03c)

The function was still being referenced in the `backup` schema which is created when you’ve done a restore.

---

<div class="post-metadata">

### Author: ![11145](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11145/32/119636_2.png) [@11145](https://meta.discourse.org/u/11145)
#### Post date: [August 30, 2017, 8:14am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/6 "2017-08-30T08:14:17Z")

</div>

No, it did not help, under the link error log 😥

[https://pastebin.com/GkcdLTeX](https://pastebin.com/GkcdLTeX)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 30, 2017, 8:36am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/7 "2017-08-30T08:36:19Z")

</div>

I don’t think you ran it with the right commit?

---

<div class="post-metadata">

### Author: ![11145](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/11145/32/119636_2.png) [@11145](https://meta.discourse.org/u/11145)
#### Post date: [August 30, 2017, 8:51am UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/8 "2017-08-30T08:51:15Z")

</div>

Without plug-ins it all worked) Thanks.  
I’ll try to download with plugins.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 30, 2017, 8:28pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-help/69030/9 "2017-08-30T20:28:53Z")

</div>


