[Docker] Missing/Broken avatar with seafile-mc:7.1.3

Hi, my avatar is broken and Chrome shows this in error in console.

Failed to load resource: the server responded with a status of 403 ()

Hovewer, I can upload an avatar without any issue.

Okay, I have resolved today.

I have edited these lines in seafile.nginx.conf

From

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

To

location /seafmedia {
rewrite ^/seafmedia(.*)$ /media$1 break;
root /opt/seafile/seafile-server-latest/seahub;

2 Likes

Just wanted to say thanks :slight_smile:
This issue still exists in 7.1.5 and your post helped me.

Hi,
I had the same issue witch Seafile 8.0.4 and I managed to solve it thanks to your solution. My question is: is it normal that this issue exists since Seafile 7.1.3? Can this be caused by a misconfiguration on our end and not in the nginx default conf file?