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

迁移服务器之后登录提示账号密码错误 #2292

Open
sunt1009 opened this issue Nov 19, 2024 · 6 comments
Open

迁移服务器之后登录提示账号密码错误 #2292

sunt1009 opened this issue Nov 19, 2024 · 6 comments

Comments

@sunt1009
Copy link

从A服务器迁移到B服务器之后,登录提示账号密码错误,通过docker方式迁移的。权限检查了都给了,这种一般是什么原因导致的

@star7th
Copy link
Owner

star7th commented Nov 19, 2024

那应该就是账号密码错误吧。如果是数据库本身错的话,应该一开始就提示验证码无法通过。
我觉得你没升级对,我不知道你哪里没按照官方文档说的做,我无法枚举所有情况

@star7th
Copy link
Owner

star7th commented Nov 19, 2024

你可以先尝试在B服务器全新安装。如果全新安装没问题,那就是新文件有问题。有时候,docker挂载,给了权限都不一定能写入,有安全进程限制,比如selinux

@star7th
Copy link
Owner

star7th commented Nov 20, 2024

尤其注意教程后面的常见误区 https://www.showdoc.com.cn/help/2511252204165611

@sunt1009
Copy link
Author

全新安裝之后通过默认密码123456可以正常登录无误,然后将旧服务器的数据库复制到新的服务器给777权限,再次登录提示密码错误,尝试过各种方式还是不行

@star7th
Copy link
Owner

star7th commented Nov 20, 2024

是不是没挂载上,导致密码还是123456 ,所以一直报密码错误

@sunt1009
Copy link
Author

是不是没挂载上,导致密码还是123456 ,所以一直报密码错误

可能与docker版本有关系,升级了docker版本就好了

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