-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Affected versions
- Seafile Server 12.0.14 CE docker
- Seafile Server 12.0.14 Pro docker
Problem
After changing the Default trash expiration time in seafile.conf, the library trash does not get emptied after the specified number of days.
Steps to reproduce
- Set
expire_days = 1
in[library_trash]
section ofseafile.conf
file - Create a file
test.txt
in a library of your choice and delete it afterwards - Check the trash of that library, the file
test.txt
should be there with a deletion timestamp - Wait the number of days specified in the
expire_days
variable, here one day (24h). - Check the library trash again, the file is still there
- Manually run the GC script
/opt/seafile/seafile-server-latest/seaf-gc.sh
in the seafile docker container, no blocks are cleaned up
seafile.conf
[fileserver]
port = 8082
use_go_fileserver = true
# The unit is in M. Default to 2G.
fs_cache_limit = 1024
[database]
type = mysql
host = db
port = 3306
user = seafile
password = asecurepassword
db_name = seafile_db
connection_charset = utf8
[notification]
enabled = true
# the ip of notification server. (default is `notification-server` in Docker)
host = notification-server
# the port of notification server
port = 8083
[quota]
# default user quota in GB, integer only
default = 1
[history]
keep_days = 1
[library_trash]
expire_days = 1