mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
parent
971fec216b
commit
3d75c8550c
|
@ -126,6 +126,12 @@ docker run -d --name seafile \
|
|||
|
||||
If you are one of the early users who use the `launcher` script, you should refer to [upgrade from old format](https://github.com/haiwen/seafile-docker/upgrade_from_old_format.md) document.
|
||||
|
||||
### Garbage Collection
|
||||
|
||||
When files are deleted, the blocks comprising those files are marked as unused but not immediately removed. To remove them, Seafile requires a ['garbage collection'](https://manual.seafile.com/maintain/seafile_gc.html) process to be run.
|
||||
|
||||
The required scripts can be found in the `/scripts` folder of the docker container. To perform garbage collection, simply run `docker exec seafile /scripts/gc.sh`. For the community edition, this process will stop the seafile server, but it is a relatively quick process and the seafile server will start automatically once the process has finished. The Professional supports an online garbage collection.
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
You can run docker commands like "docker logs" or "docker exec" to find errors.
|
||||
|
|
Loading…
Reference in a new issue