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

重复添加列:llm_setting 列已经存在 和 删除不存在的列:model 列不存在 #588

Open
2 tasks done
hxin4347 opened this issue Jan 3, 2025 · 0 comments
Open
2 tasks done

Comments

@hxin4347
Copy link

hxin4347 commented Jan 3, 2025

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

有没有人日志出现了这个报错,一提问就Error 请检查模型是否配置正确,知道到这个情况求支个招
2025-01-03 06:10:51,414 - [PID: 626][Sanic-Server-0-0] - [Function: execute_query_] - ERROR - 执行数据库操作失败:1060 (42S21): Duplicate column name 'llm_setting',SQL:ALTER TABLE QanythingBot ADD COLUMN llm_setting VARCHAR(512) DEFAULT '{}'
2025-01-03 06:10:51,418 - [PID: 626][Sanic-Server-0-0] - [Function: create_tables_] - INFO - Index created successfully: ALTER TABLE QanythingBot ADD COLUMN llm_setting VARCHAR(512) DEFAULT '{}'
2025-01-03 06:10:51,420 - [PID: 626][Sanic-Server-0-0] - [Function: execute_query_] - ERROR - 执行数据库操作失败:1091 (42000): Can't DROP 'model'; check that column/key exists,SQL:ALTER TABLE QanythingBot DROP COLUMN model

期望行为 | Expected Behavior

No response

运行环境 | Environment

- OS:
- NVIDIA Driver:
- CUDA:
- Docker Compose:
- NVIDIA GPU Memory:

QAnything日志 | QAnything logs

No response

复现方法 | Steps To Reproduce

No response

备注 | Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant