All data corrupted after index failed


I just started with seafile and created a server by using docker with the docker compose file. Everything looks good and I have synced one folder.
The next folder I want to sync are my pictures and some zip files.

It constantly saying index failed, and it corrupted all my files (including photos)!

How is this even possible? And how can I fix this?