更换 pgvector:pg18 后聊天记录 JSON 文件无法导入 #10396
Unanswered
gemnioo
asked this question in
General Question
Replies: 1 comment 1 reply
-
|
理论上应该没关系,我建议你试试看原来老的 db 版本,前段时间我看有一个 pg 版本升级的大问题: https://mp.weixin.qq.com/s/9q68rfefIVdU9cjwDfUxGg |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
升级 lobehub/lobe-chat-database 到 lobehub/lobehub 前升级并备份了 pgvector 到 pg:18 (之前一直是 pg:18
但:
PostgreSQL 18+ now uses version-specific data directories (like /var/lib/postgresql/18/docker) instead of the generic /var/lib/postgresql/data. Your current mount configuration is causing a conflict. update claim
Key Change
Before: -v postgres_vector:/var/lib/postgresql/data
After: -v postgres_vector:/var/lib/postgresql
This allows PostgreSQL 18 to create its version-specific subdirectory (18/docker) automatically.
重新更换 -v 路径后始终无法导致 只有 2M 的聊天记录 suffix name
LobeHub-data.json查看 pgvector 的发现持续重复的如下日志按照文档好像只需要配置 密码即可.. 为何日志中会有大量的 Role/password 错误?
并不确定导入日聊天记录和以上错误之间的关系!导入聊天记录会卡死在 73% 85% 或者随机的百分比数字上
Beta Was this translation helpful? Give feedback.
All reactions