0%

postgres could not locate a valid checkpoint record错误解决

nextcloud postgres 报错:
could not locate a valid checkpoint record解决办法

  1. docker inspect查看/var/lib/postgresql/data映射地址
  2. 移除映射地址位置的_data文件
  3. 将/mnt/private-pool/config/nextcloud/postgres映射软链到删除位置
  4. 重启container
  5. 登录container
  6. su postgres用户(可能需要修改passwd文件的默认启动应用为sh)
  7. 在/var/lib/postgresql运行pg_resetwal ./data
  8. 重启container