The "solution" was to delete the path to the media folder.
I mention that in the post.
But that's CentOS, not Debian.
I had a quick look over the post here and to me it looks like a permission issue to the media folder.
Or the folder definition in the Nginx conf file is wrong.
100% sure that this is correct?
Just asking, I made many mistakes like typos etc.
@curioussoul you say that it's a "fresh install" but actually you then say
"After a broken database I wanted a fresh installation. So I deleted user seafile and started from scrarch."
It's not really fresh then. Small things like this is how the permissions get messed up in my experience
Let's see if we can get you over the line.