Files not deleted in Amazon S3

I have setup seafile-pro-server-7.0.9 using docker, running behind Traefik 2.0.1 with Cloudflare as CDN and storage on Amazon S3
Everything (webui, certificates,client sync etc.) is working as expected - apart from one biggie:
Files (and libraries) deleted in Seafile (webui or client) remain in S3.
History for the library is disabled, trash is empty and no versioning is enabled on S3.

I posted configuration files on github:
https://github.com/ksga/seafile_pro_docker

Any suggestions?

You have to run GC to delete old files and libraries, see: https://download.seafile.com/published/seafile-manual/maintain/seafile_gc.md

1 Like

Thank you @marcusm - seems to have done the trick.
Quite a lot of error messages from the script:
https://pastebin.com/G8mzkAT6
Anything I should be worried about?

Glad to hear that. - You should check if memcached service is running and configured correctly. See: https://download.seafile.com/published/seafile-manual/deploy/add_memcached.md

Found the error… corrected the following lines in seafile.conf:
from:
memcached_options = --SERVER=localhost --POOL-MIN=10 --POOL-MAX=100
to:
memcached_options = --SERVER=memcached --POOL-MIN=10 --POOL-MAX=100

Had issues with GC destroying the libraries, but after fixing memcached and starting over it seems to be working as expected.

Thanks again.

1 Like