PostgreSQL Error While Rebuilding

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

db_wal_level: minimal
db_max_wal_senders: 0