The upgrade from v11 to v12 (docker based) requires providing the password for user “seafile” via SEAFILE_MYSQL_DB_PASSWORD parameter in the .env file.
However, during the installation of v11 the password is not made known nor is the password in the conf files (seafiles.conf, seahub_settings.py) usable. They seem to be encrypted in the conf files, looking like ‘ab1bdd2a-d345-1a2b-sd12-c123e45c67ef’).
How can I conduct the docker based upgrade of Seafile from v11 to v12 without providing the password or where can I find the password of user ‘seafile’ in unencrypted format?
I don’t think there is an easy way to get the password from that. It will be much easier if you just reset the password in the database to one you know.
ALTER USER 'seafile'@'%' IDENTIFIED BY 'password_here';
I am aware how to change a password in MySQL, but that would only solve half of the problem.
After a MySQL password change, how do you update the password in the conf files (seafiles.conf, seahub_settings.py)? As stated in my first post, they seem to be encrypted.
I will have to update these passwords or my v11 setup will be dead before having the chance to upgrade to v12.
The password for user the user “seafile” in the “seafiles.conf” and “seahub_settings.py” files are not encrypted but in clear text, and can therefore be used as such in the “.env” file of the v12 setup.
My upgrade from v11 to v12 completed without issues.