# Failed To Bootstrap Pups::ExecError 'bundle exec rake db:migrate' failed with return exec failed with the params 2.9.0.beta4 to 2.9.0.beta5

**URL:** https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror-bundle-exec-rake-db-migrate-failed-with-return-exec-failed-with-the-params-2-9-0-beta4-to-2-9-0-beta5/229753
**Category:** Self-hosting
**Created:** [June 13, 2022, 3:49am UTC](https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror-bundle-exec-rake-db-migrate-failed-with-return-exec-failed-with-the-params-2-9-0-beta4-to-2-9-0-beta5/229753 "2022-06-13T03:49:07Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 19, 2022, 12:06pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror-bundle-exec-rake-db-migrate-failed-with-return-exec-failed-with-the-params-2-9-0-beta4-to-2-9-0-beta5/229753/4 "2022-06-19T12:06:29Z")

</div>

Someone had a similar error recently too - [Unable to restore/update discourse (PG::InvalidTextRepresentation: ERROR: invalid input syntax for type integer: "[]")](https://meta.discourse.org/t/unable-to-restore-update-discourse-pg-error-invalid-input-syntax-for-type-integer/229828), which was due to some stray data in the `selectable_avatar` site setting field blocking its migration. There is a manual workaround using the rails console, however you do need to be comfortable using the rails console.

> [@Unable to restore/update discourse (PG::InvalidTextRepresentation: ERROR: invalid input syntax for type integer: "\[\]")](https://meta.discourse.org/t/unable-to-restore-update-discourse-pg-error-invalid-input-syntax-for-type-integer/229828/10):
>
> If we get more reports, we’ll be sure to add an automated fix for this case.

If the rails console is out of your comfort zone, @david did mention creating an automatic tweak if there were any more reports. 🤞

---

_[View the full topic](https://meta.discourse.org/t/failed-to-bootstrap-pups-execerror-bundle-exec-rake-db-migrate-failed-with-return-exec-failed-with-the-params-2-9-0-beta4-to-2-9-0-beta5/229753)._
