Closed zhangleijun111 closed 1 month ago
👀 @zhangleijun111
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
哪里报错了?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Where was the error reported?
我网页进不去3210端口说我没权限
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: Arvin Xu @.> 发送时间: 2024年8月22日 15:11 收件人: lobehub/lobe-chat @.> 抄送: zhangleijun111 @.>, Mention @.> 主题: Re: [lobehub/lobe-chat] [Bug] 3210访问端口报错,报错图片如描述 (Issue #3548)
哪里报错了?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
“网页进不去3210端口说我没权限”和你提供的日志、配置信息有关联吗?你进不去网页那你怎么还有关于页截图? Ps.感觉应该弄一个issues指引了.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is "The webpage cannot be accessed through port 3210 and it says I don't have permission" related to the logs and configuration information you provided? If you can’t access the website, why do you still have a screenshot of the About page? Ps. I feel like we should make an issue guide.
哪里报错了?
哪里报错了?
haish还是这个问题大神
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Where is the error reported?
Where is the error reported?
haish is still the master of this problem
机器人检测到问题正文的语言不是英语,并自动翻译。👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
“无法通过端口 3210 访问网页,并提示我没有权限”是否与您提供的日志和配置信息有关?如果您无法访问该网站,为什么您还有“关于”页面的屏幕截图?附言。我觉得我们应该做一个问题指南。
bang帮忙看下哪里有问题??
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The robot detects that the question text is in a language other than English and automatically translates it. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is "Cannot access the webpage through port 3210 and prompts that I do not have permission" related to the log and configuration information you provided? If you can't access the site, why do you still have a screenshot of the About page? P.S. I think we should do a question guide.
Bang, can you help me figure out where the problem is? ?
你这个 issue 是关联 https://github.com/lobehub/lobe-chat/issues/3543 ? 另外,你确定你配置了 AUTH 和 S3?环境变量里下面这些值一看就不对啊😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET
- NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET
- NEXT_AUTH_SSO_PROVIDERS=auth0
- AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID
- AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET
- AUTH0_ISSUER=https://your-auth0-issuer.example.com/
- NEXTAUTH_URL=https://yourapp.example.com/api/auth
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is your issue related to https://github.com/lobehub/lobe-chat/issues/3543? Also, are you sure you have AUTH and S3 configured? The following values in the environment variables are wrong at first glance😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET - NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET - NEXT_AUTH_SSO_PROVIDERS=auth0 - AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID - AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET - AUTH0_ISSUER=https://your-auth0-issuer.example.com/ - NEXTAUTH_URL=https://yourapp.example.com/api/auth
你这个 issue 是关联 #3543 ? 另外,你确定你配置了 AUTH 和 S3?环境变量里下面这些值一看就不对啊 😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET - NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET - NEXT_AUTH_SSO_PROVIDERS=auth0 - AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID - AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET - AUTH0_ISSUER=https://your-auth0-issuer.example.com/ - NEXTAUTH_URL=https://yourapp.example.com/api/auth
对我想问我这些不配置可以使用吗,如果可以我就把他注释掉,我就想完成上传文档知识库问答并不想实现身份的验证
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is your issue related to #3543? Also, are you sure you have AUTH and S3 configured? The following values in the environment variables are wrong at first glance 😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET - NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET - NEXT_AUTH_SSO_PROVIDERS=auth0 - AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID - AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET - AUTH0_ISSUER=https://your-auth0-issuer.example.com/ - NEXTAUTH_URL=https://yourapp.example.com/api/auth
I would like to ask if these can be used without configuration. If so, I will comment them out. I just want to complete the upload document knowledge base Q&A and do not want to implement identity verification.
你这个 issue 是关联 #3543 ? 另外,你确定你配置了 AUTH 和 S3?环境变量里下面这些值一看就不对啊 😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET - NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET - NEXT_AUTH_SSO_PROVIDERS=auth0 - AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID - AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET - AUTH0_ISSUER=https://your-auth0-issuer.example.com/ - NEXTAUTH_URL=https://yourapp.example.com/api/auth
对我想问我这些不配置可以使用吗,如果可以我就把他注释掉,我就想完成上传文档知识库问答并不想实现身份的验证
我注释了启动服务也是报这个错 ![Uploading 82789fdfec8c6356328f3c9332cf2b5.png…]()
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is your issue related to #3543? Also, are you sure you have AUTH and S3 configured? The following values in the environment variables are wrong at first glance 😓
- KEY_VAULTS_SECRET=YOUR_KEY_VAULT_SECRET - NEXT_AUTH_SECRET=YOUR_NEXT_AUTH_SECRET - NEXT_AUTH_SSO_PROVIDERS=auth0 - AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID - AUTH0_CLIENT_SECRET=YOUR_AUTH0_CLIENT_SECRET - AUTH0_ISSUER=https://your-auth0-issuer.example.com/ - NEXTAUTH_URL=https://yourapp.example.com/api/auth
I would like to ask if these can be used without configuration. If so, I will comment them out. I just want to complete the upload document knowledge base Q&A and do not want to implement identity verification.
I commented that starting the service also reported this error. ![Uploading 82789fdfec8c6356328f3c9332cf2b5.png…]()
哎,绷不住了 所以你的问题还是上一个issue所述的身份验证配置有问题,(也许还包括S3配置)(或者你根本就没有配置--如果你真的用默认值配置的话) 包含知识库功能的服务端数据库版本lobechat必须配置S3和身份验证服务. 你需要熟读文档中的内容(https://lobehub.com/zh/docs/self-hosting/server-database),并按照文档中的指示从头开始.
PS. @arvinxx 建议issue模板里加一个"我已阅读相关文档和现存issue/discussions,确认XXX"之类的确认项
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Oops, I can’t hold myself any longer So your problem is still that there is a problem with the authentication configuration mentioned in the previous issue, (maybe also including S3 configuration) (or you have no configuration at all - if you really use the default value configuration) The server database version lobechat that includes the knowledge base function must configure S3 and authentication services. You need to read the content in the documentation (https://lobehub.com/zh/docs/self-hosting/server-database) and start from scratch according to the instructions in the documentation.
PS. @arvinxx suggests adding a confirmation item such as "I have read relevant documents and existing issues/discussions, confirm XXX" in the issue template.
一定要配置身份验证和s3才能用database这个镜像是吧
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: Gs @.> 发送时间: 2024年8月22日 16:34 收件人: lobehub/lobe-chat @.> 抄送: zhangleijun111 @.>, Mention @.> 主题: Re: [lobehub/lobe-chat] [Bug] 3210访问端口报错,报错图片如描述 (Issue #3548)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
You must configure authentication and s3 to use the database mirror, right?
Sent from my iPhone
------------------ Original email ------------------ Sender: Gs @.> Sent time: August 22, 2024 16:34 Recipient: lobehub/lobe-chat @.> CC: zhangleijun111 @.>, Mention @.> Topic: Re: [lobehub/lobe-chat] [Bug] 3210 access port error reported, the error picture is as described (Issue #3548)
一定要配置身份验证和s3才能用database这个镜像是吧
一定要配置身份验证和s3才能用数据库版本 lobechat是嘛,我以为注释掉就好了,那我去学习一下如何拿到这些参数
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
You must configure authentication and s3 to use the database mirror, right?
You must configure authentication and s3 to use the database version lobechat. I thought it would be fine if you commented it out. Then I will learn how to get these parameters.
✅ @zhangleijun111
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
📦 Environment
Docker
📌 Version
centos
💻 Operating System
Other Linux
🌐 Browser
Chrome
🐛 Bug Description
报错信息
📷 Recurrence Steps
这是我写的docker-compose文件 version: '3.8'
services: lobe-chat: image: registry.us-west-1.aliyuncs.com/jg-images/lobe-chat-database container_name: lobe-chat-database restart: always ports:
APP_URL=http://localhost:3210
networks:
postgres
postgres: image: registry.us-west-1.aliyuncs.com/jg-images/pgvector:pg16 container_name: postgres restart: always environment: POSTGRES_DB: lobechat POSTGRES_USER: root POSTGRES_PASSWORD: 888888 volumes:
networks: lobechat: driver: bridge postgres: driver: bridge
volumes: postgres_data:
🚦 Expected Behavior
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-08-22 06:39:04.195 UTC [1] LOG: starting PostgreSQL 16.3 (Debian 16.3-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2024-08-22 06:39:04.197 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2024-08-22 06:39:04.197 UTC [1] LOG: listening on IPv6 address "::", port 5432 2024-08-22 06:39:04.203 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-08-22 06:39:04.212 UTC [29] LOG: database system was shut down at 2024-08-22 06:38:34 UTC 2024-08-22 06:39:04.224 UTC [1] LOG: database system is ready to accept connections 2024-08-22 06:44:04.303 UTC [27] LOG: checkpoint starting: time 2024-08-22 06:44:04.519 UTC [27] LOG: checkpoint complete: wrote 5 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.203 s, sync=0.005 s, total=0.216 s; sync files=4, longest=0.003 s, average=0.002 s; distance=7 kB, estimate=7 kB; lsn=0/1BB4B48, redo lsn=0/1BB4B10 数据库报错信息
docker logs b3ff551bf38d [Database] Start to migration... \u2705 database migration pass.
\u25b2 Next.js 14.2.6
Network: http://0.0.0.0:3210
\u2713 Starting... \u2713 Ready in 180ms
📝 Additional Information
No response