Closed SpeedupMaster closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
你把.env发我看下
![image](https://private-user-images.githubusercontent.com/8185843/370976765-98ea6537-a1da-4e2e-9939-739df0ebc0c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc 3MyOiJnaXRodWIuY29tIiwiY zLzM3MDk3Njc2NS05OGVhNjUzNy1hMWRhLTRlMmUtOTkzOS03MzlkZjBlYmMwYzEucG5nP1 gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQ VZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZX F1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjZUMDM0NzIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUF tei1TaWduYXR1cmU9NDM3Njc0M2JkMjNmY2IxYTlhYjRkN2YyZjM0MzVhYzdkOTFiMmNkMT QzNzE4ZWNlMGY0YjZiMzE3NThhNWZiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Iw VcPmasAa6fdNuRS9K1JosQVAuvcmecrXOZgWX4goc)
用的Neon Postgres吗,其他看着好像没问题
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
你把.env发我看下
![image](https://private-user-images.githubusercontent.com/8185843/370976765-98ea6537-a1da-4e2e-9939-739df0ebc0c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc 3MyOiJnaXRodWIuY29tIiwiY zLzM3MDk3Njc2NS05OGVhNjUzNy1hMWRhLTRlMmUtOTkzOS03MzlkZjBlYmMwYzEucG5nP1 gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQ VZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZX F1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjZUMDM0NzIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUF tei1TaWduYXR1cmU9NDM3Njc0M2JkMjNmY2IxYTlhYjRkN2YyZjM0MzVhYzdkOTFiMmNkMT QzNzE4ZWNlMGY0YjZiMzE3NThhNWZiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Iw VcPmasAa6fdNuRS9K1JosQVAuvcmecrXOZgWX4goc)
用的Neon Postgres吗,其他看着好像没问题
数据库会影响?我用的postgres:15-alpine,pgvector/pgvector:pg16的装不了,网络不通。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Bot detected the issue body's language is not English, translate it automatically.
Send me the .env to take a look
![image](https://private-user-images.githubusercontent.com/8185843/370976765-98ea6537-a1da-4e2e-9939-739df0ebc0c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc 3MyOi JnaXRodWIuY29tIiwiY zLzM3MDk3Njc2NS05OGVhNjUzNy1hMWRhLTRlMmUtOTkzOS03MzlkZjBlYmMwYzEucG5nP1 gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWR lbnRpYWw9QUtJQ VZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZX F1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjZUMDM0NzIzWiZYLUFtei1FeHBpcm VzPTMwMCZYLUF tei1TaWduYXR1cmU9NDM3Njc0M2JkMjNmY2IxYTlhYjRkN2YyZjM0MzVhYzdkOTFiMmNkMT QzNzE4ZWNlMGY0YjZiMzE3NThhNWZiMSZYLUFtei1TaWduZWRIZWFkZXJzPW hvc3QifQ. Iw VcPmasAa6fdNuRS9K1JosQVAuvcmecrXOZgWX4goc)
Are you using Neon Postgres? Others seem to be fine.
Will the database be affected? I use postgres:15-alpine, but pgvector/pgvector:pg16 cannot be installed because the network is blocked.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node
DATABASE_DRIVER=node
NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
#Specify Postgres database driver as node
DATABASE_DRIVER=node
NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
The problem is NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
pgvector/pgvector:pg16 用这个数据库试试了,最开始用不带pgvector的是可以登录的,后面升级后好像会报错
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
This is a problem with NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16 I tried using this database. At first, I could log in without pgvector. However, after upgrading later, I seem to get an error.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
pgvector/pgvector:pg16 用这个数据库试试了,最开始用不带pgvector的是可以登录的,后面升级后好像会报错
我用了pgvector/pgvector:pg16,也是不行。只有不开NEXT_PUBLIC_SERVICE_MODE=server的时候可以登录,但无法使用文件服务。开了就无法登录。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
This is a problem with NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16 I tried using this database. At first, I could log in without pgvector. However, after upgrading later, I seem to get an error.
I used pgvector/pgvector:pg16, but it didn't work either. You can log in only when NEXT_PUBLIC_SERVICE_MODE=server is turned off, but you cannot use file services. Can't log in if it's turned on.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
pgvector/pgvector:pg16 用这个数据库试试了,最开始用不带pgvector的是可以登录的,后面升级后好像会报错
我用了pgvector/pgvector:pg16,也是不行。只有不开NEXT_PUBLIC_SERVICE_MODE=server的时候可以登录,但无法使用文件服务。开了就无法登录。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
This is a problem with NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16 I tried using this database. At first, I could log in without pgvector. However, after upgrading later, I seem to get an error.
I used pgvector/pgvector:pg16, but it didn't work either. You can log in only when NEXT_PUBLIC_SERVICE_MODE=server is turned off, but you cannot use file services. Can't log in if it's turned on.
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
pgvector/pgvector:pg16 用这个数据库试试了,最开始用不带pgvector的是可以登录的,后面升级后好像会报错
我用了pgvector/pgvector:pg16,也是不行。只有不开NEXT_PUBLIC_SERVICE_MODE=server的时候可以登录,但无法使用文件服务。开了就无法登录。
lobehub/lobe-chat-database:latest lobechat是最新的吗?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
This is a problem with NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16 I tried using this database. At first, I could log in without pgvector. However, after upgrading later, I seem to get an error.
I used pgvector/pgvector:pg16, but it didn’t work either. You can log in only when NEXT_PUBLIC_SERVICE_MODE=server is turned off, but you cannot use file services. Can't log in if it's turned on.
lobehub/lobe-chat-database:latest Is lobechat the latest?
pgvector/pgvector:pg16
如果用docker部署的数据库,这两个可以不用设置
# 指定 Postgres database driver 为 node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine好像不带pgvector 插件,pgvector 插件为 Postgres 提供了向量搜索的能力,是 LobeChat 实现 RAG 的重要构件之一。 不过应该不影响登录吧
是这个NEXT_PUBLIC_SERVICE_MODE=server问题,我去掉了可以登录,但文件服务那里会显示说我是客户端数据库模式,不支持文件管理。加上了NEXT_PUBLIC_SERVICE_MODE=server,zitadel就无法登录。
pgvector/pgvector:pg16 用这个数据库试试了,最开始用不带pgvector的是可以登录的,后面升级后好像会报错
我用了pgvector/pgvector:pg16,也是不行。只有不开NEXT_PUBLIC_SERVICE_MODE=server的时候可以登录,但无法使用文件服务。开了就无法登录。
lobehub/lobe-chat-database:latest lobechat是最新的吗?
我没用lobe-chat-database,我是直接拉取lobe,所以lobe,数据库和s3都是独立分开3个服务。我发现lobe所使用的数据库地址没有创建table,是个空库。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
pgvector/pgvector:pg16
If you use a database deployed with docker, you don’t need to set these two.
# Specify Postgres database driver as node DATABASE_DRIVER=node NEXT_PUBLIC_SERVICE_MODE=server
postgres:15-alpine does not seem to have the pgvector plug-in. The pgvector plug-in provides Postgres with vector search capabilities and is one of the important components for LobeChat to implement RAG. But it shouldn’t affect login.
This is a problem with NEXT_PUBLIC_SERVICE_MODE=server. I removed it and I can log in, but the file service will show that I am in client database mode and do not support file management. With NEXT_PUBLIC_SERVICE_MODE=server added, zitadel cannot log in.
pgvector/pgvector:pg16 I tried using this database. It was possible to log in without pgvector at first, but it seems that an error will be reported after the upgrade.
I used pgvector/pgvector:pg16, but it didn't work either. You can log in only when NEXT_PUBLIC_SERVICE_MODE=server is turned off, but you cannot use file services. Can't log in if it's turned on.
lobehub/lobe-chat-database:latest lobechat Is it the latest?
I didn't use lobe-chat-database, I pulled lobe directly, so lobe, database and s3 are three independent services. I found that the database address used by lobe did not create a table and was an empty database.
lobe-chat-database
lobe-chat-database才是数据库版本镜像
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
lobe-chat-database
lobe-chat-database is the database version mirror
lobe-chat-database
lobe-chat-database才是数据库版本镜像
啊,分两个版本?那 lobe-chat-database是否有源码提供?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
lobe-chat-database
lobe-chat-database is the database version mirror
Ah, two versions? Is the source code provided for lobe-chat-database?
lobe-chat-database
lobe-chat-database才是数据库版本镜像
啊,分两个版本?那 lobe-chat-database是否有源码提供?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
lobe-chat-database
lobe-chat-database is the database version mirror
Ah, two versions? Is the source code provided for lobe-chat-database?
lobe-chat-database
lobe-chat-database才是数据库版本镜像
啊,分两个版本?那 lobe-chat-database是否有源码提供?
还真没留意这个,那应该是这个问题了,谢谢了!
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
lobe-chat-database
lobe-chat-database is the database version mirror
Ah, two versions? Is the source code provided for lobe-chat-database?
![image](https://private-user-images.githubusercontent.com/130642629/371368575-ca4d7723-1780-4927-a903-82e14a37f8a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3 MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc0MDM1MzUsIm5iZiI6MTcyNzQwMzIzNSwicGF0aCI6Ii8xMzA2 NDI2MjkvMzcxMzY4NTc1LWNhNGQ3NzIzLTE3ODAtNDkyNy1hOTAzLTgyZTE0YTM3ZjhhNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBV kNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkyN1QwMjEzNTVaJlgtQW16LUV4cGlyZXM9MzAwJl gtQW16LVNpZ25hdHVyZT04MzNmNGUyMjcxNGQxNDJhNWY5OWYzZjlhODJlYjY4YjU3OWUzM Tg3NGIyZjg3NmY0YmUwNDIyOWMyNWYwOTc1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9 .4jrymtA1CwwZNZaq3XSoGjnmYG04nglEO3qoCkli8Bo)
I really didn’t pay attention to this, so this should be the problem, thank you!
🥰 需求描述
ZITADEL 身份验证服务本地部署
🧐 解决方案
docker compose
.env
zitadel初始管理员账户密码为:
zitadel的配置参考:ref
📝 补充信息
No response