Failed to create initial root user: Error 1062: Duplicate entry 'admin@cloudreve.org' for key 'uix_cd_users_email'

xuo3flqw  于 5个月前  发布在  其他
关注(0)|答案(3)|浏览(50)

Describe the bug

Failed to create initial root user: Error 1062: Duplicate entry ' admin@cloudreve.org ' for key 'uix_cd_users_email'

Step to reproduce

./cloudreve -c /path/to/conf.ini

** Server

  • OS: Cent OS 8
  • Cloudreve Version 3.8.3

Additional context

Please check whether the admin account exists before creating a new one.

f8rj6qna

f8rj6qna1#

think you must be in the service upgrade workflow, can you please provide the original Cloudreve version that this database file be created

bfrts1fy

bfrts1fy2#

Before upgrading, the Cloudreve version is 3.8.0.
The database is created by Cloudreve 3.5.0.

wtzytmuj

wtzytmuj3#

It is worth mentioning that I changed the email address of the root user after it was created by Cloudreve 3.5.0.
But I confirm that the user with email ' admin@cloudreve.org ' indeed exists before upgrading from Cloudreve 3.8.0.

相关问题