# Rebuilding failed 'bundle exec rake db:migrate' failed with return #\<Process::Status: pid 4979 exit 1\>

**URL:** https://meta.discourse.org/t/rebuilding-failed-bundle-exec-rake-db-migrate-failed-with-return-process-pid-4979-exit-1/182493
**Category:** Self-hosting
**Created:** [March 8, 2021, 2:17pm UTC](https://meta.discourse.org/t/rebuilding-failed-bundle-exec-rake-db-migrate-failed-with-return-process-pid-4979-exit-1/182493 "2021-03-08T14:17:34Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 8, 2021, 6:02pm UTC](https://meta.discourse.org/t/rebuilding-failed-bundle-exec-rake-db-migrate-failed-with-return-process-pid-4979-exit-1/182493/7 "2021-03-08T18:02:05Z")

</div>

> [@ahmed\_khan1](#):
>
> `PG::DataCorrupted: ERROR: could not read block 0 in file "base/16384/2604": read only 0 of 8192 bytes`

This looks bad 😱

How exactly did you install Discourse? Did you follow the [Discourse official Standard Installation](https://meta.discourse.org/t/discourse-official-standard-installation/142537) ? Is this a brand new install?

---

_[View the full topic](https://meta.discourse.org/t/rebuilding-failed-bundle-exec-rake-db-migrate-failed-with-return-process-pid-4979-exit-1/182493)._
