# נכשל בשדרוג ל-v2.9.0beta3

**URL:** https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953
**Category:** Self-hosting
**Created:** [25 במרץ,‏ 2022,‏ 10:49am UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953 "2022-03-25T10:49:22Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 10:49am UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/1 "2022-03-25T10:49:23Z")

</div>

From v2.9.0beta2 on a multisite, multicontainer setup:

```plaintext
== 20220304162250 EnableUnaccentExtension: migrating ==========================
-- enable_extension("unaccent")
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:203:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:101:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:10:in `block in fork'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:8:in `fork'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.4.1/lib/active_support/fork_tracker.rb:27:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/command.rb:48:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.4.1/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.10.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:18:in `<main>'

```

---

<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 במרץ,‏ 2022,‏ 11:45am UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/2 "2022-03-25T11:45:16Z")

</div>

What version of Postgres are you running?

---

<div class="post-metadata">

### Author: ![GetReadyMan](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GetReadyMan](https://meta.discourse.org/u/GetReadyMan)
#### Post date: [25 במרץ,‏ 2022,‏ 8:28pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/3 "2022-03-25T20:28:15Z")

</div>

> [@Error upgrading, failed to bootstrap](https://meta.discourse.org/t/error-upgrading-failed-to-bootstrap/221871/10):
>
> I had my forum go down after the upgrade. The update seems to go okay, but when I went to the forum page the forum page was blank. I updated it [manually](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325), and the forum was okay. Don’t know if this will help you or not.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 9:36pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/4 "2022-03-25T21:36:37Z")

</div>

```plaintext
root@ps-data:/# psql --version
psql (PostgreSQL) 10.20 (Debian 10.20-1.pgdg110+1)

```

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 9:47pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/5 "2022-03-25T21:47:34Z")

</div>

`data` rebuild succeeded with:

```plaintext
./launcher stop web_only; ./launcher stop data; ./launcher rebuild data; ./launcher rebuild data

```

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 10:03pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/6 "2022-03-25T22:03:14Z")

</div>

But then `web_only` fails to bootstrap with OP error.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 10:06pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/7 "2022-03-25T22:06:18Z")

</div>

Now following instructions to upgrade [PostgreSQL 13 update](https://meta.discourse.org/t/postgresql-13-update/172563)

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [25 במרץ,‏ 2022,‏ 10:30pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/8 "2022-03-25T22:30:05Z")

</div>

```plaintext
lc_collate values for database "postgres" do not match: old "en_GB.UTF-8", new "en_US.UTF-8"
Failure, exiting

```

---

<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 במרץ,‏ 2022,‏ 10:54pm 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.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [22 במאי,‏ 2022,‏ 10:57pm UTC](https://meta.discourse.org/t/failed-to-upgrade-to-v2-9-0beta3/221953/11 "2022-05-22T22:57:04Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
