-
Notifications
You must be signed in to change notification settings - Fork 431
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
更新最新版后启动错误,无法进入UI #691
Comments
参考这个解决:#673 |
先是出现错误:UNIQUE constraint failed: sites.path |
那可能 sqlite 文件损坏了,重新安装吧 |
我里面十几个站点,会需要重新配置? |
重新安装进不去,用户名密码不正确,admin/admin进不去,原来的用户名密码也进不去 |
删掉原来的db |
我直接删除了原来的db,其他配置参数不变,然后重新部署,会创建一个新的db,但使用admin/admin登录,提示用户名密码不正确,然后错误日志2024/11/01 14:24:18 /home/runner/work/nginx-ui/nginx-ui/internal/user/login.go:38 record not found |
解决了,要把那个app.ini文件也一并删除才行 |
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
2024-11-01 13:49:42 FATAL /home/runner/go/pkg/mod/github.com/uozi-tech/cosy@v1.9.12/model/model.go:61 malformed database schema (idx_sites_path) - invalid rootpage
2024/11/01 13:49:42 /home/runner/go/pkg/mod/github.com/uozi-tech/cosy@v1.9.12/model/model.go:51
[error] failed to initialize database, got error malformed database schema (idx_sites_path) - invalid rootpage
The text was updated successfully, but these errors were encountered: