Seafile from S3 backup

My hard-drive that contained my Seafile data directory is unusable. Fortunately I have a backup of the data dir in S3.

I moved the three folders commits, fs and blocks the individual S3 buckets like suggested in the documentation.

I reinstalled a fresh Seafile server on an EC2 instance and configured the back-end to be s3.

When I try to navigate to folders, I always get a 404 not found.

Do I need to run a migration, can it be a wrong EC2 permission?