# Fout bij het upgraden naar v2.9.0beta3

**URL:** https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953
**Category:** Self-hosting
**Created:** [25 maart 2022 om 10:49 UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953 "2022-03-25T10:49:22Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [25 maart 2022 om 22:54 UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/9 "2022-03-25T22:54:15Z")

</div>

Per [PostgreSQL 13 update](https://meta.discourse.org/t/postgresql-13-update/172563), note the last line

> ### lc\_collate values for database “postgres” do not match
> 
> This errors happens if you are using non-default locales for your database. It was reported that you need 3 variables for it to succeed. Ensure that the `env: ` section of you app.yml file has the 3 lines:
> 
> ```plaintext
> LC_ALL: en_US.UTF-8
> LANG: en_US.UTF-8
> LANGUAGE: en_US.UTF-8
> 
> ```
> 
> Changing `en_US.UTF-8` to your locale.

---

_[View the full topic](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953)._
