I’m trying out Seafile in a docker container, but I’m not sure how to run the garbage collection tool. It says to stop the Seafile server before running seaf-gc.sh, but I have to stop the containers to stop the server. So how do I run seaf-gc.sh if the docker container doesn’t exist? Thanks
I guess my brain wasn’t working. I assume I could run the container but with a bash shell as the entrypoint and then run the garbage collector.
Does the enterprise version support garbage collection while the server is running?
You can run the garbage collection inside the container manually, but you can aswell do something like this:
docker exec seafile /opt/seafile/seafile-server-latest/seaf-gc.sh -t 1 --rm-fs