Images don't load in (android) clients #768

Closed
opened 2024-05-02 07:31:53 +00:00 by Cedric · 2 comments

Hi Akkoma Gang,

I upgraded last night to the latest version (3.13.1). After struggling a bit with the new :base_url compulsory option and setting it to /media so that it points to where thinges used to be, I'm having a problem with the images in my posts: they load fine in the web interface, but none of my clients (Fedilab, Moshidon) can load the new images (the old ones load ok) and my instance is effectively broken.

I can't see where to find the error in the logs in know about (docker log, nginx).

Could you help please?

Thanks.

Hi Akkoma Gang, I upgraded last night to the latest version (3.13.1). After struggling a bit with the new :base_url compulsory option and setting it to /media so that it points to where thinges used to be, I'm having a problem with the images in my posts: they load fine in the web interface, but none of my clients (Fedilab, Moshidon) can load the new images (the old ones load ok) and my instance is effectively broken. I can't see where to find the error in the logs in know about (docker log, nginx). Could you help please? Thanks.

setting it to /media

do you mean that your option is literally just /media? if so that'll be why, your external clients will be working with just a path

it needs to be a full URL, https://somewhere/media/

>setting it to /media do you mean that your option is literally just `/media`? if so that'll be why, your external clients will be working with just a path it needs to be a full URL, `https://somewhere/media/`
Author

Thanks! That was really stupid. I assumed it needed a relative url since it knows what the site's url is. That solved it!

Thanks! That was really stupid. I assumed it needed a relative url since it knows what the site's url is. That solved it!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#768
No description provided.