Blank images in timeline

No error message that I can find for this problem.

I’m running the latest version from April, I think, on Arch.
https://docs.akkoma.dev/stable/installation/arch_linux_en/

Everything works fine. It’s a single user server running (against advice) on a single domain.

However, I’m guessing since the last update, there is a problem posting images which I don’t do often and only just noticed.

Pleroma.Upload Base URL is set to: https://xyz.com/uploads/

Pleroma.Uploaders.Local Uploads is set to: /opt/akkoma/uploads

So, I create a post in the front-end and upload an image.

The image gets uploaded to the /opt/akkoma/uploads and I can curl it.

The post appears in my local time line but the image is blank…

If I right click on the image in the timeline I see that the URL is:-
https://xyz.com/uploads/d7098a5225de78279c6e7fbaf22a8f815937c79af8516fd9f9a384dc06734fcc.jpg
which is correct.

Grrrr… If I put this URL into the browser I get redirected to the xyz.com Akkoma home page…

So, I guess it’s a nginx redirect problem maybe? Can you point me in the right direction please?

base url should be https://xyz.com/media/ i think

edit; see Akkoma stable 2024.03 - Securer? I barely know her!

Good grief! Does that mean they’ve HARDCODED ‘/media/’ I just didn’t even consider that when I read that post during troubleshooting!!! I just assumed it had to be in a sub-directory rather than root.

Again, thank-you for your help!

less “hardcoded”, more “it was /media/ before and you’re having to replicate that deliberately instead of using a subdomain”

1 Like