From 99e79e54fe8df17cb586d33630db5bc3199f67a5 Mon Sep 17 00:00:00 2001 From: Daniel Pan Date: Tue, 12 Nov 2024 15:36:24 +0800 Subject: [PATCH] Update administration/account.md --- manual/administration/account.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/manual/administration/account.md b/manual/administration/account.md index 1b22111e..224e757d 100644 --- a/manual/administration/account.md +++ b/manual/administration/account.md @@ -8,9 +8,6 @@ When you setup seahub website, you should have setup a admin account. After you Since version 11.0, if you need to change a user's external ID, you can manually modify database table `social_auth_usersocialauth` to map the new external ID to internal ID. -For version below 11.0, if you really want to change a user's ID, you should create a new user then use this admin API to migrate the data from old user to the new user: https://download.seafile.com/published/web-api/v2.1-admin/accounts.md#user-content-Migrate%20Account. - - #### Resetting User Password @@ -20,9 +17,13 @@ In a private server, the default settings doesn't support users to reset their p #### Forgot Admin Account or Password? -You may run `reset-admin.sh` script under seafile-server directory. This script would help you reset the admin account and password. +You may run `reset-admin.sh` script under seafile-server-latest directory. This script would help you reset the admin account and password. Your data will not be deleted from the admin account, this only unlocks and changes the password for the admin account. +!!! tip + Enter into the docker image, then go to `/opt/seafile/seafile-server-latest` + + #### User Quota Notice Under the seafile-server-latest directory, run `./seahub.sh python-env python seahub/manage.py check_user_quota` , when the user quota exceeds 90%, an email will be sent. If you want to enable this, you have first to [set up notification email](../config/sending_email.md).