Merge pull request #588 from haiwen/remove_notification_config

remove notification configuration
This commit is contained in:
Daniel Pan 2025-09-12 14:42:00 +08:00 committed by GitHub
commit 37084745c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 16 deletions

View File

@ -403,18 +403,3 @@ go tool pprof http://localhost:8082/debug/pprof/heap?password=8kcUz1I2sLaywQhCRt
go tool pprof http://localhost:8082/debug/pprof/profile?password=8kcUz1I2sLaywQhCRtn2x1
```
## Notification server configuration
Since Seafile 10.0.0, you can ask Seafile server to send notifications (file changes, lock changes and folder permission changes) to [Notification Server component](../extension/notification-server.md).
```
[notification]
enabled = true
# IP address of the server running notification server
# or "notification-server" if you are running notification server container on the same host as Seafile server
host = 192.168.0.83
# the port of notification server
port = 8083
```
!!! tip
The configuration here only works for version >= 12.0. The configuration for notificaton server has been changed in 12.0 to make it clearer. The new configuration is not compatible with older versions.

View File

@ -212,7 +212,7 @@ Although the configurations in environment (i.e., `.env`) have higher priority t
2. Clean up redundant configuration items in the configuration files:
- Open `/opt/seafile-data/seafile/conf/seafile.conf` and remove the entire `[memcached]`, `[database]`, `[commit_object_backend]`, `[fs_object_backend]` and `[block_backend]` if above sections have correctly specified in `.env`.
- Open `/opt/seafile-data/seafile/conf/seafile.conf` and remove the entire `[memcached]`, `[database]`, `[commit_object_backend]`, `[fs_object_backend]`, `[notification]` and `[block_backend]` if above sections have correctly specified in `.env`.
- Open `/opt/seafile-data/seafile/conf/seahub_settings.py` and remove the entire blocks for `DATABASES = {...}` and `CAHCES = {...}`
In the most cases, the `seafile.conf` only include the listen port `8082` of Seafile file server.