Published 11 days ago
Published 11 days ago
BarryCui
Updated 11 days ago
0
docker exec safeline-mgt resetadmin
panic: failed to init models: AutoMigrate Error: ERROR: could not open file "base/16384/16416": No such file or directory (SQLSTATE 58P01)
goroutine 1 [running]:
main.main()
/work/main.go:45 +0x1cc
No response
No response
Windsley
Updated 11 days ago
0
经验证,目前在 9.4.0 版本中暂未复现该现象。
另外,反馈中的 resetadmin 用于重置管理员密码,并非重置 TOTP。如需重置 TOTP,请执行:
docker exec safeline-mgt resettotp
建议将使用版本升级至 9.4.0 后,再使用上述命令进行验证。若仍有异常,请补充具体操作步骤、现象及相关截图,以便进一步定位。