lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.03k stars 9.84k forks source link

[Docs] Feedback for `self-hosting/platform/btpanel` #4568

Open taohe009 opened 2 hours ago

taohe009 commented 2 hours ago

image

数据库部署版本,我安装好了,为什么现在上传文件没反应呢?

I have installed the database deployment version, but why is there no response when I upload files now?

lobehubbot commented 2 hours ago

👀 @taohe009

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

dosubot[bot] commented 2 hours ago

@taohe009 你好!我是Dosu。我是一个可以帮助你解决错误、回答问题,并成为贡献者的机器人。在等待人类维护者的过程中,我会尽力帮助你。

There is a known limitation with the database deployment version regarding file uploads. The current deployment mode does not support uploading non-image files. To upload files in other formats, you need to switch to server database deployment or use a cloud service [1].

Additionally, there is error handling and logging implemented for the file upload process that might provide insights into why uploads are not responding. Some common issues include network errors or incorrect CORS configuration for the file storage service [2][3].

To continue talking to Dosu, mention @dosu.

taohe009 commented 2 hours ago

image

I am using this Docker deployment server database version

taohe009 commented 1 hour ago

image Pictures don't work either

SpeedupMaster commented 1 hour ago

检查下minio的配置有没有问题

lobehubbot commented 1 hour ago

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


Check whether there is any problem with the minio configuration.

taohe009 commented 1 hour ago

What is the minio configuration?

SpeedupMaster commented 1 hour ago

What is the minio configuration?

https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose

taohe009 commented 1 hour ago

image There is no progress bar, and I don’t know how long it will take to upload.

taohe009 commented 50 minutes ago

https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose This is too complicated, I failed to deploy

SpeedupMaster commented 46 minutes ago

https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose This is too complicated, I failed to deploy

image 本地部署不是有个一键脚本

taohe009 commented 24 minutes ago

Proxy, if you need it

HTTP_PROXY=http://localhost:7890

HTTPS_PROXY=http://localhost:7890

Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.

OPENAI_API_KEY=sk-xxxx

OPENAI_PROXY_URL=https://api.openai.com/v1

OPENAI_MODEL_LIST=...

===========================

====== Preset config ======

===========================

if no special requirements, no need to change

LOBE_PORT=3210 CASDOOR_PORT=8000 MINIO_PORT=9000

Postgres related, which are the necessary environment variables for DB

LOBE_DB_NAME=lobechat POSTGRES_PASSWORD=uWNZugjBqixf8dxC

Casdoor secret

AUTH_CASDOOR_ID=a387a4892ee19b1a2249 AUTH_CASDOOR_SECRET=dbf205949d704de81b0b5b3603174e23fbecc354

MinIO S3 configuration

MINIO_ROOT_USER=YOUR_MINIO_USER MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD

Configure the bucket information of MinIO

MINIO_LOBE_BUCKET=lobe S3_ACCESS_KEY_ID=soaucnP8Bip0TDdUjxng S3_SECRET_ACCESS_KEY=ZPUzvY34umfcfxvWKSv0P00vczVMB6YmgJS5J9eO

这个.env 有配置说明吗? Is there any configuration instructions for this .env?

taohe009 commented 22 minutes ago

https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose This is too complicated, I failed to deployhttps://lobehub.com/zh/docs/self-hosting/server-database/docker-compose这个太复杂了,我部署失败

image 本地部署不是有个一键脚本

我是部署成功了,可是登录问题怎么解决? .env 里也没有了 AUTH0配置选项

I deployed successfully, but how do I solve the login problem? There is no AUTH0 configuration option in .env

SpeedupMaster commented 21 minutes ago

https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose This is too complicated, I failed to deployhttps://lobehub.com/zh/docs/self-hosting/server-database/docker-compose这个太复杂了,我部署失败

image 本地部署不是有个一键脚本

我是部署成功了,可是登录问题怎么解决? .env 里也没有了 AUTH0配置选项

I deployed successfully, but how do I solve the login problem? There is no AUTH0 configuration option in .env

这个本地部署用的casdoor 默认登录账号即 Casdoor 的默认账号,账号名 admin,密码 123

SpeedupMaster commented 19 minutes ago

Proxy, if you need it

HTTP_PROXY=http://localhost:7890

HTTPS_PROXY=http://localhost:7890

Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.

OPENAI_API_KEY=sk-xxxx

OPENAI_PROXY_URL=https://api.openai.com/v1

OPENAI_MODEL_LIST=...

===========================

====== Preset config ======

===========================

if no special requirements, no need to change

LOBE_PORT=3210 CASDOOR_PORT=8000 MINIO_PORT=9000

Postgres related, which are the necessary environment variables for DB

LOBE_DB_NAME=lobechat POSTGRES_PASSWORD=uWNZugjBqixf8dxC

Casdoor secret

AUTH_CASDOOR_ID=a387a4892ee19b1a2249 AUTH_CASDOOR_SECRET=dbf205949d704de81b0b5b3603174e23fbecc354

MinIO S3 configuration

MINIO_ROOT_USER=YOUR_MINIO_USER MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD

Configure the bucket information of MinIO

MINIO_LOBE_BUCKET=lobe S3_ACCESS_KEY_ID=soaucnP8Bip0TDdUjxng S3_SECRET_ACCESS_KEY=ZPUzvY34umfcfxvWKSv0P00vczVMB6YmgJS5J9eO

这个.env 有配置说明吗? Is there any configuration instructions for this .env?

如果本地使用的话,只需要设置apikey和baseurl就行了,其他的不用改

taohe009 commented 15 minutes ago

一点击登录 就自动跳转为: http://localhost:8000/login/oauth/authorize?response_type=code&client_id=a387a4892ee19b1a2249&redirect_uri=http%3A%2F%2Flocalhost%3A3210%2Fapi%2Fauth%2Fcallback%2Fcasdoor&scope=openid+profile+email&state=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoidUxheEd5YjlLWC00R1gyY1Nlb084Q004UzRvSnVQR3lIQWlpbHJBQ3dnVEVWWjJBYnFCYUdRWVViaTJnSnJYQldNTjVoR2hxejRLWHBocUNYcDItZ2cifQ..NiQTaLj5zhz8VvF7FNQTwQ.X8nYC-Jt1omLhjX6Dd0n47sB7Qg3dfkw2ZDAKEyA2cBi0oh6hlcqM--mrvEBx2KI8aKcnbmi3oDmQvwhzGJESBe19VGXi8WWMHNHEkoX3XjrLOpQ4ykLQbPupzTp6bi8RnxUXKoBPVw5yQfhgjOIUbnXiZ7DKPga136DMZwgUiqmw90llqPLilnNxq8-qEPr.FWDchNUekA3eFXjbLJbVxUAxBbv6pB3lFMEhn3Tdzo4&code_challenge=QKlbO10XYLwgzYFe3-VioM_D-YO3M39-yWJvI0FoSTI&code_challenge_method=S256

ERR_CONNECTION_REFUSED

SpeedupMaster commented 12 minutes ago

一点击登录 就自动跳转为: http://localhost:8000/login/oauth/authorize?response_type=code&client_id=a387a4892ee19b1a2249&redirect_uri=http%3A%2F%2Flocalhost%3A3210%2Fapi%2Fauth%2Fcallback%2Fcasdoor&scope=openid+profile+email&state=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoidUxheEd5YjlLWC00R1gyY1Nlb084Q004UzRvSnVQR3lIQWlpbHJBQ3dnVEVWWjJBYnFCYUdRWVViaTJnSnJYQldNTjVoR2hxejRLWHBocUNYcDItZ2cifQ..NiQTaLj5zhz8VvF7FNQTwQ.X8nYC-Jt1omLhjX6Dd0n47sB7Qg3dfkw2ZDAKEyA2cBi0oh6hlcqM--mrvEBx2KI8aKcnbmi3oDmQvwhzGJESBe19VGXi8WWMHNHEkoX3XjrLOpQ4ykLQbPupzTp6bi8RnxUXKoBPVw5yQfhgjOIUbnXiZ7DKPga136DMZwgUiqmw90llqPLilnNxq8-qEPr.FWDchNUekA3eFXjbLJbVxUAxBbv6pB3lFMEhn3Tdzo4&code_challenge=QKlbO10XYLwgzYFe3-VioM_D-YO3M39-yWJvI0FoSTI&code_challenge_method=S256

ERR_CONNECTION_REFUSED

casdoor正常运行? http://localhost:8000能进入到casdoor登录页面?

lobehubbot commented 12 minutes ago

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


Once you click to log in, it will automatically jump to: http://localhost:8000/login/oauth/authorize?response_type=code&client_id=a387a4892ee19b1a2249&redirect_uri=http%3A%2F%2Flocalhost%3A3210%2Fapi%2Fauth%2Fcallback%2Fcasdoor&scope=openid+ profile+email&state=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoidUxhe Ed5YjlLWC00R1gyY1Nlb084Q004UzRvSnVQR3lIQWlpbHJBQ3dnVEVWWjJBYnFCYUdRWVViaTJnSnJYQld NTjVoR2hxejRLWHBocUNYcDItZ2cifQ... 19VGXi8WWMHNHEkoX3XjrLOpQ4ykLQbPupzTp6bi8RnxUXKoBPVw5yQfhgjOIUbnXiZ7DKPga13 6DMZwgUiqmw90llqPLilnNxq8-qEPr.FWDchNUekA3eFXjbLJbVxUAxBbv6pB3lFMEhn3Tdzo4& code_challenge=QKlbO10XYLwgzYFe3-VioM_D-YO3M39-yWJvI0FoSTI&code_challenge_method=S256

ERR_CONNECTION_REFUSED

Is casdoor running normally? Can http://localhost:8000 enter the casdoor login page?