# Failing to bootstrap after configuring SSL

**URL:** <https://meta.discourse.org/t/failing-to-bootstrap-after-configuring-ssl/21494>\
**Category:** Self-hosting\
**Created:** [25 أكتوبر 2014، 8:01ص UTC](https://meta.discourse.org/t/failing-to-bootstrap-after-configuring-ssl/21494 "2014-10-25T08:01:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![akraut](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akraut/32/108147_2.png) [@akraut](https://meta.discourse.org/u/akraut)\
**Post date:** [25 أكتوبر 2014، 8:01ص UTC](https://meta.discourse.org/t/failing-to-bootstrap-after-configuring-ssl/21494/1 "2014-10-25T08:01:23Z")

</div>

I added the web ssl template, then issued `./launcher rebuild app` and now it fails to bootstrap:

```
FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 362 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "chown -R discourse $home", "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'"]}
0ffcf6cbc3b36241997d17f99638c61fb8405441417adcb75aade0305c1acf9b
FAILED TO BOOTSTRAP

```

Further up, I also see this:

```
I, [2014-10-25T07:58:38.004253 #45] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
NoMethodError: undefined method `after_after_initialize' for #<Plugin::Instance:0x007f161e6b0ab8>
/var/www/discourse/plugins/discourse-plugin-permalink/plugin.rb:12:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:171:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:171:in `activate!'
/var/www/discourse/lib/discourse.rb:84:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:84:in `each'
/var/www/discourse/lib/discourse.rb:84:in `activate_plugins!'
/var/www/discourse/config/application.rb:149:in `<class:Application>'
/var/www/discourse/config/application.rb:19:in `<module:Discourse>'
/var/www/discourse/config/application.rb:18:in `<top (required)>'
/var/www/discourse/Rakefile:5:in `require'
/var/www/discourse/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

```

Any ideas what’s going wrong?

---

_[View the full topic](https://meta.discourse.org/t/failing-to-bootstrap-after-configuring-ssl/21494)._
