QAnything
QAnything copied to clipboard
[BUG] log未见任何异常,但是页面一直loading,也无法创建知识库
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
- [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
- [X] 我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
bash run.sh 后,服务启动正常
登录页面: http://localhost:5052/qanything#/home
问题:
-
页面一直loading动画
-
创建知识库报500错误
期望行为 | Expected Behavior
页面正常,同时可以添加知识库
运行环境 | Environment
- OS: Windows 10 专业
- NVIDIA Driver: docker
- CUDA: docker
- Docker Compose:标准docker
- NVIDIA GPU Memory: 24GB (P6000)
QAnything日志 | QAnything logs
UPLOAD_ROOT_PATH: /workspace/qanything_local/QANY_DB/content rerank_port: 10001 embed_port: 10001 [2024-01-21 14:17:30 +0800] [858] [INFO] Sanic Extensions: [2024-01-21 14:17:30 +0800] [858] [INFO] > injection [0 dependencies; 0 constants] [2024-01-21 14:17:30 +0800] [858] [INFO] > openapi [http://0.0.0.0:8777/docs] [2024-01-21 14:17:30 +0800] [858] [INFO] > http [2024-01-21 14:17:30 +0800] [858] [INFO] > templating [jinja2==3.1.3] UPLOAD_ROOT_PATH: /workspace/qanything_local/QANY_DB/content rerank_port: 10001 embed_port: 10001 [2024-01-21 14:17:30 +0800] [855] [INFO] Sanic Extensions: [2024-01-21 14:17:30 +0800] [855] [INFO] > injection [0 dependencies; 0 constants] [2024-01-21 14:17:30 +0800] [855] [INFO] > openapi [http://0.0.0.0:8777/docs] [2024-01-21 14:17:30 +0800] [855] [INFO] > http [2024-01-21 14:17:30 +0800] [855] [INFO] > templating [jinja2==3.1.3] init local_doc_qa in local init local_doc_qa in local [2024-01-21 14:17:30 +0800] [858] [INFO] Starting worker [858] [2024-01-21 14:17:30 +0800] [855] [INFO] Starting worker [855] UPLOAD_ROOT_PATH: /workspace/qanything_local/QANY_DB/content rerank_port: 10001 embed_port: 10001 [2024-01-21 14:17:30 +0800] [856] [INFO] Sanic Extensions: [2024-01-21 14:17:30 +0800] [856] [INFO] > injection [0 dependencies; 0 constants] [2024-01-21 14:17:30 +0800] [856] [INFO] > openapi [http://0.0.0.0:8777/docs] [2024-01-21 14:17:30 +0800] [856] [INFO] > http [2024-01-21 14:17:30 +0800] [856] [INFO] > templating [jinja2==3.1.3] init local_doc_qa in local UPLOAD_ROOT_PATH: /workspace/qanything_local/QANY_DB/content rerank_port: 10001 embed_port: 10001 [2024-01-21 14:17:31 +0800] [857] [INFO] Sanic Extensions: [2024-01-21 14:17:31 +0800] [857] [INFO] > injection [0 dependencies; 0 constants] [2024-01-21 14:17:31 +0800] [857] [INFO] > openapi [http://0.0.0.0:8777/docs] [2024-01-21 14:17:31 +0800] [857] [INFO] > http [2024-01-21 14:17:31 +0800] [857] [INFO] > templating [jinja2==3.1.3] [2024-01-21 14:17:31 +0800] [856] [INFO] Starting worker [856] init local_doc_qa in local [2024-01-21 14:17:31 +0800] [857] [INFO] Starting worker [857]
复现方法 | Steps To Reproduce
No response
备注 | Anything else?
No response
add localhost to user_config file and restart service. it works
add localhost to user_config file and restart service. it works
Any more specific instructions? I saw the line "localhost" in my user.config file already and restarted the container. It never works.
add localhost to user_config file and restart service. it works
Any more specific instructions? I saw the line "localhost" in my user.config file already and restarted the container. It never works.
你要描述下你的现象,是否和我一样?
添加当前主机的IP到QAnything/user.config中
# cat user.config
172.20.0.35
# bash run.sh
添加当前主机的IP到QAnything/user.config中
# cat user.config 172.20.0.35 # bash run.sh
已经检查了user文件,但是重新启动之后还是面临同样的报错。求解答
遇到同样的问题, 检查.env.production中的VITE_APP_API_HOST是否配置正确, 原因是在输入服务器公网IP地址时输入过删除键,将front_end/dist删除以后重新输入服务器公网IP地址