# New index on post\_custom\_fields can not be created

**URL:** <https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434>\
**Category:** Bug\
**Created:** [26 Luglio 2015, 12:36am UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434 "2015-07-26T00:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [26 Luglio 2015, 12:36am UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434/1 "2015-07-26T00:36:57Z")

</div>

Hi everyone !

When I use the docker manager to upgrade Discourse, I have an error during the `db migrate` part since thursday or friday. Tonight I tried to rebuild app to see what happens (why not right ? 😅 ) and it always fail on bootstrap, here the message :

```
FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 510 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105: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'"]}
d296ee0c0364464ffaaad8aaa34ece7826d517dde1326e3f068dd68b9b8c354c

```

When I reboot the droplet on Digital Ocean, my forum is fine, and it seems that my discourse version is actually upgrading (currently v1.4.0.beta6 +93) but this problem intrigue me.

I have some plugin : [spoiler alert](https://github.com/discourse/discourse-spoiler-alert), [discourse details](https://github.com/discourse/discourse-details) and some personal plugins (based on the creations of the community) : [some organized emojis](https://github.com/iunctis/vb_emoji), [a complete toolbar](https://github.com/iunctis/iunctis_toolbar), and some [bbcodes](https://github.com/iunctis/iunctis_bbcodes), but it doesn’t seem to be the problem considering the report. I didn’t add any plugins in the last 2 or 3 weeks.

Do you have an idea of the cause of that problem ? This error message is enough or do you need more info ?

Again, sorry for my english, I hope i’m pretty clear 😜

---

_[View the full topic](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434)._
