From f192008e3b9f91b9c3f885062e5adf139b1290dd Mon Sep 17 00:00:00 2001 From: Jizhou Deng Date: Mon, 15 Dec 2025 10:31:24 +0800 Subject: [PATCH] 1.fix some errors; 2.add SECRET_KEY instructions --- manual/config/seahub_settings_py.md | 3 +++ manual/setup/setup_with_multiple_storage_backends.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/manual/config/seahub_settings_py.md b/manual/config/seahub_settings_py.md index 34cf36c2..c0115150 100644 --- a/manual/config/seahub_settings_py.md +++ b/manual/config/seahub_settings_py.md @@ -107,6 +107,9 @@ ENABLE_CHANGE_PASSWORD = True # If show contact email when search user. ENABLE_SHOW_CONTACT_EMAIL_WHEN_SEARCH_USER = True + +# SECRET_KEY is used by the Django framework to generate sessions and CSRF tokens. If it is changed, all users need to re-login again. +SECRET_KEY = ``` ## Single Sign On diff --git a/manual/setup/setup_with_multiple_storage_backends.md b/manual/setup/setup_with_multiple_storage_backends.md index b8693b67..3717c0b2 100644 --- a/manual/setup/setup_with_multiple_storage_backends.md +++ b/manual/setup/setup_with_multiple_storage_backends.md @@ -33,7 +33,7 @@ By default, Seafile dose not enable multiple storage classes. So, you have to cr 1. Create the storage classes file: ```sh - nano /opt/seafile-date/seafile/conf + nano /opt/seafile-data/seafile/conf ``` For the example of this file, please refer [next section](#exmaple-of-storage-classes-file) @@ -51,7 +51,7 @@ By default, Seafile dose not enable multiple storage classes. So, you have to cr !!! tip - Make sure you have added [memory cache configurations](../config/env.md#cache-configurations) to `seafile.conf` - - Due to the *Docker persistence strategy*, the path of `storage_classes_file` **in the *Seafile container*** is different from the host usually, so we suggest you put this file in to the Seafile's configurations directory, and use `/shared/conf` instead of `/opt/seafile-date/seafile/conf`. Otherwise you have to add another persistent volume mapping strategy in `seafile-server.yml`. If your Seafile server is not deployed with Docker, we still suggest you put this file into the Seafile configurations file directory. + - Due to the *Docker persistence strategy*, the path of `storage_classes_file` **in the *Seafile container*** is different from the host usually, so we suggest you put this file in to the Seafile's configurations directory, and use `/shared/conf` instead of `/opt/seafile-data/seafile/conf`. Otherwise you have to add another persistent volume mapping strategy in `seafile-server.yml`. If your Seafile server is not deployed with Docker, we still suggest you put this file into the Seafile configurations file directory. ## Exmaple of storage classes file