# Rebuild hangs on bootstrap error with last update

**URL:** https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526
**Category:** Self-hosting
**Created:** [8월 22, 2017, 10:00오전 UTC](https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526 "2017-08-22T10:00:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![OniSanctuary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/onisanctuary/32/77263_2.png) [@OniSanctuary](https://meta.discourse.org/u/OniSanctuary)
#### Post date: [8월 22, 2017, 10:00오전 UTC](https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526/1 "2017-08-22T10:00:25Z")

</div>

Hi,

Today I decided to update from beta 7 to beta 9 but my installation needed discourse to be up to date so I made a git pull et rebuild my app.  
The thing is my app can’t boostrap anymore and it ends with this error

```plaintext
I, [2017-08-22T09:32:48.048273 #15] INFO -- : Terminating async processes
I, [2017-08-22T09:32:48.048316 #15] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 44
I, [2017-08-22T09:32:48.048364 #15] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 157
2017-08-22 09:32:48.048 UTC [44] LOG: received fast shutdown request
2017-08-22 09:32:48.048 UTC [44] LOG: aborting any active transactions
2017-08-22 09:32:48.048 UTC [51] LOG: autovacuum launcher shutting down
157:signal-handler (1503394368) Received SIGTERM scheduling shutdown...
2017-08-22 09:32:48.051 UTC [48] LOG: shutting down
157:M 22 Aug 09:32:48.141 # User requested shutdown...
157:M 22 Aug 09:32:48.141 * Saving the final RDB snapshot before exiting.
2017-08-22 09:32:48.573 UTC [48] LOG: database system is shut down
157:M 22 Aug 09:32:49.143 * DB saved on disk
157:M 22 Aug 09:32:49.143 # Redis is now ready to exit, bye bye...

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

```

I rebuilt my app last month and there where no problem.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [8월 22, 2017, 10:32오전 UTC](https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526/2 "2017-08-22T10:32:55Z")

</div>

Please scroll up and look for the error message, it might be quite a lot higher.

What plugins do you have installed?

---

<div class="post-metadata">

### Author: ![OniSanctuary](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/onisanctuary/32/77263_2.png) [@OniSanctuary](https://meta.discourse.org/u/OniSanctuary)
#### Post date: [8월 22, 2017, 11:14오전 UTC](https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526/3 "2017-08-22T11:14:56Z")

</div>

Your comment made me realize that I installed the signatures plugin. I just deactivated it, rebuild app and reactivated it.  
It works.

Regards

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [8월 22, 2017, 2:12오후 UTC](https://meta.discourse.org/t/rebuild-hangs-on-bootstrap-error-with-last-update/68526/4 "2017-08-22T14:12:44Z")

</div>


