Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 部署数据库以后必须要绑定用户注册使用,绑定注册以后数据无法同步 #6816

Open
TXZTA opened this issue Mar 8, 2025 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷 data sync

Comments

@TXZTA
Copy link

TXZTA commented Mar 8, 2025

📦 部署环境

Vercel

📦 部署模式

服务端模式(lobe-chat-database 镜像)

📌 软件版本

1.69.0

💻 系统环境

macOS

🌐 浏览器

Chrome

🐛 问题描述

需求:部署完和配置完以后,分享给朋友,设置好的大模型直接使用,建的助手也可以同步使用。
1、目前已经绑定服务器但是数据只能在我自己注册的账号里面使用,其他人注册系统是刚部署初始化的设置,分享给其他人无法正常使用。
2、绑定服务器不配置用户注册,达到同步的目的,但是系统提示不配置注册功能无法使用。
3、配置了服务器和注册功能,注册的当下账号是可以同步,其他账号需要重新配置的设置系统参数。
4、https://ai.yyqm.us.kg/

📷 复现步骤

1、部署服务器和注册功能,其他账号无法同步信息。
2、部署服务器,同步使用信息,提示必须要注册功能才能使用
3、https://lobe-chat-roan-alpha-43.vercel.app/

🚦 期望结果

部署完和配置完以后,分享给朋友,设置好的大模型直接使用,建的助手也可以同步使用。

📝 补充信息

我部署完项目,开启服务器,用户注册,其他用户注册以后系统配置和大模型都使用我配置好的内容,用户注册以后开箱即用。
无法上传图片,问题可以看下上面的链接。

@TXZTA TXZTA added the 🐛 Bug Something isn't working | 缺陷 label Mar 8, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 8, 2025
@lobehubbot
Copy link
Member

👀 @TXZTA

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Vercel

📦 Deployment mode

Server-side mode (lobe-chat-database mirror)

📌 Software version

1.69.0

💻 System environment

macOS

🌐 Browser

Chrome

🐛 Question description

Requirements: After deployment and configuration, share it with friends. Use the set up big model directly, and the built assistant can also be used synchronously.

  1. The server has been bound to the server, but the data can only be used in the account I registered. Other people's registration system has just been deployed and initialized. It cannot be used normally with others.
  2. The binding server does not configure user registration to achieve the purpose of synchronization, but the system prompts that it cannot be used without configuring the registration function.
  3. The server and registration function are configured. The registered account can be synchronized. Other accounts need to be reconfigured to set system parameters.
  4. https://ai.yyqm.us.kg/

📷 Reproduction steps

  1. Deploy the server and registration functions, and other accounts cannot synchronize information.
  2. Deploy the server and synchronize the usage information. It is prompted that you must register the function before you can use it.
  3. https://lobe-chat-roan-alpha-43.vercel.app/

🚦 Expected results

After the deployment and configuration are completed, share it with friends. Use the set up big model directly, and the built assistant can also be used synchronously.

📝 Supplementary information

After I deployed the project, I turned on the server and registered the user. After other users registered, the system configuration and the big model were used. After registering, the user registration was used out of the box.
The image cannot be uploaded, please refer to the link above for the problem.

@dosubot dosubot bot added the data sync label Mar 8, 2025
@bbbugg
Copy link

bbbugg commented Mar 9, 2025

系统配置和大模型可以在环境变量里改,DEFAULT_AGENT_CONFIGDEFAULT_AGENT_CONFIGSYSTEM_AGENT#6415

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


System configuration and large models can be changed in environment variables, DEFAULT_AGENT_CONFIG: https://lobehub.com/zh/docs/self-hosting/environment-variables/basic#default-agent-config, SYSTEM_AGENT: #6415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 data sync
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants