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

docker compose 部署后无法登录,提示django无法解析字段 #1511

Open
Remielyzs opened this issue Apr 13, 2023 · 3 comments
Open

Comments

@Remielyzs
Copy link

_arkid-be_logs.txt

多次尝试后,输入错误的用户名密码会直接提醒密码错误,自己注册一个用户后登录会提示两种不同的无法解析字段(未保留)
log文档为admin/admin登录的错误提醒
系统Ubuntu 22.04
docker 23.03 build 3e7cbfd
docker compose v2.17.2

@welylongguikeji
Copy link
Contributor

可以尝试重启看看是否能解决这个问题

arkid对django的model层做了扩展,但这个扩展似乎不太稳定,目前还不清楚什么原因导致的

@Remielyzs
Copy link
Author

全部重启吗,我刚刚连上数据库看了一下,对应的表都有,但是在后端里没显示对应的,特别是com_开头的那些都没有

@Remielyzs
Copy link
Author

我这边重启docker和机器都试过了,还是无法使用。不过检查发现字段选项以及给出的数据表定义中均没有com_longgui开头的一串数据表。并且它们看起来是一系列规范调用的方式而非实际意义上的数据表。在报错中查到com_longgui_auth_factor_password/init.py中220行的调用出现了问题
image
结合上下文,213-217获取了用户列表,220的对象转换是重新获取了用户吗?

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

2 participants