Can't upload pictures
Hello,
I have installed Pleroma following this doc : https://docs-develop.pleroma.social/backend/installation/otp_en/ My Pleroma is behind a reverse proxy nginx container. So, even though I installed nginx on the pleroma container, I didn't write any nginx conf file in it. My nginx conf file is in the nginx reverse proxy container.
Does it make sens till here and is it ok to do so?
Then, my nginx conf file, inside my ngnix reverse proxy container is very much inspired from this one https://git.pleroma.social/pleroma/pleroma/-/blob/develop/installation/pleroma.nginx
but the tzo proxy_pass http://127.0.0.1:4000
became proxy_pass http://xxx.xxx.xxx.xxx:4000
with xxx.xxx.xxx.xxx being the local ip address of my pleroma container.
Do you think that it should work this way?
Well it almost does, here it is https://pleroma.defis.info
I can follow people, I get their posts. My problem is that I can't upload pictures at all, not even for my own avatar.
I can browse my files, choose one, the picture display but when I click on the save button, it obviously fail. If I look at firefox console, I get the following :
XHR PATCH https://pleroma.defis.info/api/v1/accounts/update_credentials [HTTP/2 500 Internal Server Error 9ms]
if I click on it, the error I find in the answer is
{"errors":{"detail":"Internal server error"}}
What could be wrong? What can I do? Could it be because Pleroma doesn't have write access to /tmp/pleroma-media-cache? Should I activate the media proxy cache something?