【已解决】新安装9.0.10社区版本,无法创建用户

现象

./seafile-server-latest/seahub.sh start

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...

----------------------------------------
It's the first time you start the seafile server. Now let's create the admin account
----------------------------------------

What is the email for the admin account?
[ admin email ] xxxxxxx@xxxx.com

What is the password for the admin account?
[ admin password ] 

Enter the password again:
[ admin password again ] 

Error happened during creating seafile admin.



Seahub is started

Done.

web登陆页面可正常打开

没有更多日志,无法定位问题

怎么打印更多调试日志?

查阅帖子,因为不支持 mysql8.0?

解决方法:

因为mysql8.0中,默认密码插件从“mysql_native_password”更改为“caching_sha2_password”
执行
ALTER USER ‘seafile’@‘127.0.0.1’ IDENTIFIED WITH mysql_native_password BY ‘your_password’;