mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #539] centos7.9 /home/runner/work/nginx-ui/nginx-ui/internal/user/login.go:20 record not found #6050
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#6050
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seven54 on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/539
centos7.9出现错误 /home/runner/work/nginx-ui/nginx-ui/internal/user/login.go:20 record not found
初始化无法正常。账号密码无法正常登陆
@0xJacky commented on GitHub (Sep 5, 2024):
安装后访问 ip:port/#/install 执行初始化了吗
@seven54 commented on GitHub (Sep 5, 2024):
有的。用ubuntu20.04系统没有问题。
@0xJacky commented on GitHub (Sep 5, 2024):
这个截图看起来还是centos7 的日志
然后就是,你可以用工具打开看一下 database.db 的 auths 表里有没有 admin 这个用户。
@seven54 commented on GitHub (Sep 5, 2024):
@seven54 commented on GitHub (Sep 5, 2024):
我用ubuntu的配置db文件替换回centos的就可以了。
@0xJacky commented on GitHub (Sep 5, 2024):
emm 不是,你进入 auths 表里看看内容(不要截图发上来),看一下有没有 name 为 admin 这一行
@0xJacky commented on GitHub (Sep 5, 2024):
ok