# 最新リリースへのアップグレードに失敗しました 8/21/25

**URL:** https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559
**Category:** Self-hosting
**Created:** [2025 年 8 月 21 日午前 6:50 UTC](https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559 "2025-08-21T06:50:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jahan\_gagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jahan_gagan/32/501948_2.png) [@jahan\_gagan](https://meta.discourse.org/u/jahan_gagan)
#### Post date: [2025 年 8 月 21 日午前 7:03 UTC](https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559/2 "2025-08-21T07:03:58Z")

</div>

### 原因

- マイグレーションで「vector」拡張機能のアップグレードを試みます。
- マイグレーションを実行するPostgreSQLユーザー（例: discourse）は、拡張機能の所有者である必要がありますが、実際には別のユーザー（多くの場合postgres）が所有しています。

### 解決策

- 所有者としてデータベースに接続します。
- 所有者としてアップデートを実行します。

同じ件についての議論はこちらをご覧ください: [Still an issue: ERROR: must be owner of extension vector - #2 by Falco](https://meta.discourse.org/t/still-an-issue-error-must-be-owner-of-extension-vector/339808/2)

---

_[View the full topic](https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559)._
