new-api icon indicating copy to clipboard operation
new-api copied to clipboard

v0.10.8无法启动

Open funnycups opened this issue 10 months ago • 11 comments

Routine Checks

  • [x] I have confirmed there are no similar issues currently
  • [x] I have confirmed I have upgraded to the latest version
  • [x] I have thoroughly read the project README, especially the FAQ section
  • [x] I understand and am willing to follow up on this issue, assist with testing and provide feedback
  • [x] I understand and acknowledge the above, and understand that project maintainers have limited time and energy, issues that do not follow the rules may be ignored or closed directly

Issue Description v0.10.8版本无法启动,使用sqlite数据库 日志:

[SYS] 2026/02/04 - 00:28:33 | initializing token encoders
[SYS] 2026/02/04 - 00:28:33 | token encoders initialized
[SYS] 2026/02/04 - 00:28:33 | SQL_DSN not set, using SQLite as database
[SYS] 2026/02/04 - 00:28:33 | database migration started
[FATAL] 2026/02/04 - 00:28:33 | [failed to initialize database: invalid DDL, unbalanced brackets]

Steps to Reproduce

  1. 更新至v0.10.8的任意alpha版本
  2. 启动 Expected Result 成功启动

funnycups avatar Feb 03 '26 16:02 funnycups

请尝试最新版

Calcium-Ion avatar Feb 03 '26 16:02 Calcium-Ion

使用latest拉取的新镜像仍然报同样的错误

funnycups avatar Feb 03 '26 16:02 funnycups

一样,大概12点左右的更新导致无法启动new-api,相同的错误。只能回退到0.10.7

TyroneVeblen avatar Feb 03 '26 16:02 TyroneVeblen

same issue

xrb936 avatar Feb 03 '26 16:02 xrb936

只有这点日志了?排查不了问题啊

Calcium-Ion avatar Feb 03 '26 17:02 Calcium-Ion

只有这点日志了?排查不了问题啊

一直重启,就显示这四行

xrb936 avatar Feb 03 '26 17:02 xrb936

麻烦看一下docker日志,到底是执行到哪条sql语句出现的错误

Calcium-Ion avatar Feb 03 '26 17:02 Calcium-Ion

这个就是docker里的日志了,没其他内容的样子

funnycups avatar Feb 03 '26 17:02 funnycups

可以试试等会的新版本,在构建,没问题了麻烦帮关闭issue

Calcium-Ion avatar Feb 03 '26 17:02 Calcium-Ion

换到最新镜像问题解决 开发者辛苦了

billylicn avatar Feb 04 '26 03:02 billylicn

确认解决,感谢

funnycups avatar Feb 04 '26 03:02 funnycups