# インストールの復旧を試みる

**URL:** <https://meta.discourse.org/t/trying-to-recover-an-installation/262008>\
**Category:** Self-hosting\
**Created:** [2023 年 4 月 17 日午後 9:12 UTC](https://meta.discourse.org/t/trying-to-recover-an-installation/262008 "2023-04-17T21:12:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![shyguy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shyguy/32/295079_2.png) [@shyguy](https://meta.discourse.org/u/shyguy)\
**Post date:** [2023 年 4 月 18 日午前 2:06 UTC](https://meta.discourse.org/t/trying-to-recover-an-installation/262008/2 "2023-04-18T02:06:57Z")

</div>

`PANIC: could not locate a valid checkpoint record`

データベースが破損していると思われます。バックアップから復元するのが最善だと思います。Discourse はデフォルトでバックアップを作成するのではないでしょうか？ `discourse/shared/app/backups` またはそれに類する場所を確認してください。

* * *

Discourse のバックアップがない場合、これは Discourse よりも PostgreSQL のサポートに関するトピックになります。お手伝いできるかもしれませんが、専門家ではありません。

これを使用する必要があるかもしれません。

> **[pg\_resetwal](https://www.postgresql.org/docs/13/app-pgresetwal.html)**
>
> pg\_resetwal pg\_resetwal — reset the write-ahead log and other control information of a PostgreSQL database cluster Synopsis pg\_resetwal \[ -f …

---

_[View the full topic](https://meta.discourse.org/t/trying-to-recover-an-installation/262008)._
