# PostgreSQL Error While Rebuilding

**URL:** <https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830>\
**Category:** Self-hosting\
**Created:** [July 15, 2020, 4:34pm UTC](https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830 "2020-07-15T16:34:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![grokse](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@grokse](https://meta.discourse.org/u/grokse)\
**Post date:** [July 15, 2020, 4:54pm UTC](https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830/6 "2020-07-15T16:54:55Z")

</div>

I was able to rebuild by adding the following params to templates/postgres.template.yml:

```
db_wal_level: minimal
db_max_wal_senders: 0

```

---

_[View the full topic](https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830)._
