Our admin suddenly left and we realized we cannot change the email address of the Admin account. How do we change their email address without losing data? It’s very important to us since we have a lot of info stored here.
Thank you so much. One final related question: we have one massive 750GB library owned by the admin. Is transferring that to another account via the interface an issue?
From what I looked at from the database, it doesn’t look good. The email is set in many tables which all have to be updated. I found this list on github but it could be outdated:
This is still something you can check on a test instance.
Thank you. I went through the code and to the best of my knowledge it looks like changing the repo owner is a simple database update so it shouldn’t matter how big the repo is.
Can’t post links: [github]/haiwen/seafile-server/blob/1288c1ec103f5dbb6158d2fc15dedffc5b03d912/server/repo-mgr.c#L2070
We only have 9 user licenses and use all 9. If I attempt to create another with the reset-admin.sh method, will this cause issues?
No idea, I use the community version. What I would do in your position is bypassing the limitation by transferring the libraries to another user, removing the old admin account, creating the new one and transferring the data back. This has obvious confidentiality issues you may not want to deal with and could be really tedious for a large number of libraries.
In any case I don’t know more at this point. Good luck with your problem, it’s quite disturbing there isn’t an easier way to update an email address.
Hello,you can create a new admin account by seahub, then this account can list all the repos on the server, and you can transfer the original admin’s repos to others.You can run the reset-admin.sh to create the new admin’s account.