Docker-mc 404 on avatars

I’ve set up a fresh server using seafile-mc and docker compose, there seems to be issues with the paths for /media on nginx. Here’s what comes configured by default:

location /media {
    root /opt/seafile/seafile-server-latest/seahub;
}

Is this correct? I’m getting a 404 on avatars. The file default.png is there in /opt/seafile/seafile-server-latest/seahub/media/avatars/default.png

Am I the only one experiencing this? I’ve just spun up another seafile server using the compose project file straight from the official instructions and the /media links still don’t work.

I’m also having the same issue. Fresh Docker installation from the original compose, nothing changed…

Got it. Check FILE_SERVER_ROOT in the system admin configuration.

It is per default set to some seafile example dummy value.

depending on your install /with / without nginx) is has to be set to seafhttp.

I’m using it without nginx only internal so i set it so http://:8082

Then try to change the avatar and the new image is shown up

I’m using it with the included nginx, and that issue still persists

What is your FILE_SERVER_ROOT in systemadmin > config?

So you are acessing seafile direct with ip:port ?

It’s the correct one. Either way FILE_SERVER_ROOT is used for the fileserver, not for media like avatars.