Seafile is running out of space

I installed a Seafile server on a Windows computer to sync files (no more than 20GB) between several computers. Everything was going well until a few months later, one computer started having trouble syncing, and when I checked the server, I discovered it had run out of space. The space was increased and it worked fine for a while, until the problem returned. The space was increased again and it started working again. But now it’s almost 1TB and is running out of space again.

I checked the Seafile folders(seafile-server\seafile-data\storage\blocks) I see that there are three folders, each larger than 250GB.

How can I solve the problem?

There are a couple of things you should be aware of. First, if files are modified or deleted, seafile keeps the old data. In the WebUI you can restore old versions of files or recover deleted files from that old data. There is a setting in the UI to define for how long that history should be kept.

Deleted data isn’t removed automatically, even after it expires from the history period. You have to run the garbage collect program to clean up expired data. For details, see Seafile GC - Seafile Admin Manual