I am struggling to send posts with images. Posts will go out fine but only show a a black image, probably indicating the image couldn’t be loaded from the server.
When I copy and paste an image I can see that “something” is added, the image is recognized but won’t show.
The default Akkoma webclient shows a white space representing the picture, on my Lapop I use Tokodon which recognizes that there is a picture, even allows to edit, but it shows all black
Because two clients show the same behaviour I presume the issue is server side, and most likely my media setup.
Here’s what I believe is the relevant part of my config:
When I look on the server I can see the image has been uploaded to ./uploads and it’s viewable on the server. Other than that no errors in the log which would provide a hint.
Here’s my nginx conf:
server {server_name fediversemedia.zell-mbc.com;
location ~ ^/(media|proxy) {
proxy_cache akkoma_media_cache;
proxy_pass http://localhost:4001; # or wherever your Akkoma backend listens
}…
I have to admit I never really understood the new Media setup so I think this is most likely just a configuration issue. It’d be great if anyone was able to spot what’s wrong or can provide a few troubleshooting ideas?
Not sure if it’s relevant, but I am running Akkoma with docker compose.
Thanks for getting back so quickly! Made the change, docker compose down –rmi all, and all that…Should I expect the image in that previous post come to live? I mean the image is in uploads, it could be found?
I also had a look at my nginx logs now, but can’t find anything obvious either.
Was wondering for a moment if updating the Postgres db wouldn’t be easier, was hoping for a table = posts, but the table structure I found looks a little more complex so I keep my hands off
By the way, found a way to test if media is working. Before, when I copied an image into a new post it would only show as black window, now I can actually see the image.
Confirmed with akkoma_fe and Tokodon.
So we are good, problem solved, and as always, thank you very much for your help!