[bug] akkoma doesn't change s3 links for avatars/bg #434

Closed
opened 2023-01-10 20:40:21 +00:00 by qugalet · 1 comment

Your setup

Docker

Extra details

Rocky Linux 8.4

Version

d9508474

PostgreSQL version

14

What were you trying to do?

A month ago, I changed my S3 provider to another one. The old one is dead now, I think, so all of my local avatars and wallpapers are gone.

What did you expect to happen?

That Akkoma will fetch these images from the new S3 provider.

What actually happened?

For some reason, Akkoma didn't change urls to another S3 provider url so local avatars/bg on pl.m0e.space are missing.

all local avatars are missing

Logs

akkoma-akkoma-1  |
akkoma-akkoma-1  | 20:33:36.591 request_id=FzkMzhZJEckMAkMAA3Ah [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/2bf446d4-1e69-4d53-82ac-c30729ad7978/christmas.jpg" failed: "host is unreachable"
akkoma-akkoma-1  |
akkoma-akkoma-1  | 20:33:42.634 request_id=FzkMzytj_UbVYx0AA4xC [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/ea101838347247d8240682121c4aee3a7d710885b0b4b34f2068365c9837a8cf.mp4" failed: "host is unreachable"
akkoma-akkoma-1  |
akkoma-akkoma-1  | 20:33:42.641 request_id=FzkMzy6vYz1faA8AA4xi [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/f8d14871-08ad-4e7e-9300-14c9d8f31241/image.png" failed: "host is unreachable"
akkoma-akkoma-1  |
akkoma-akkoma-1  | 20:33:42.643 request_id=FzkMz5dJ1d5IqNwAA4yi [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/670e4348843a9c0fb8f7bdf8a11a950ccf5eb7d5961ef4adad9f04913ec7cdd1.gif" failed: "host is unreachable"
akkoma-akkoma-1  |

Severity

I cannot use the software

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup Docker ### Extra details Rocky Linux 8.4 ### Version d9508474 ### PostgreSQL version 14 ### What were you trying to do? A month ago, I changed my S3 provider to another one. The old one is dead now, I think, so all of my local avatars and wallpapers are gone. ### What did you expect to happen? That Akkoma will fetch these images from the new S3 provider. ### What actually happened? For some reason, Akkoma didn't change urls to another S3 provider url so local avatars/bg on [pl.m0e.space](https://pl.m0e.space) are missing. ![all local avatars are missing](https://i.imgur.com/1owr13P.png) ### Logs ```shell akkoma-akkoma-1 | akkoma-akkoma-1 | 20:33:36.591 request_id=FzkMzhZJEckMAkMAA3Ah [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/2bf446d4-1e69-4d53-82ac-c30729ad7978/christmas.jpg" failed: "host is unreachable" akkoma-akkoma-1 | akkoma-akkoma-1 | 20:33:42.634 request_id=FzkMzytj_UbVYx0AA4xC [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/ea101838347247d8240682121c4aee3a7d710885b0b4b34f2068365c9837a8cf.mp4" failed: "host is unreachable" akkoma-akkoma-1 | akkoma-akkoma-1 | 20:33:42.641 request_id=FzkMzy6vYz1faA8AA4xi [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/f8d14871-08ad-4e7e-9300-14c9d8f31241/image.png" failed: "host is unreachable" akkoma-akkoma-1 | akkoma-akkoma-1 | 20:33:42.643 request_id=FzkMz5dJ1d5IqNwAA4yi [error] Elixir.Pleroma.ReverseProxy: request to "https://s3.nh.m0e.space/akkoma-uploads/670e4348843a9c0fb8f7bdf8a11a950ccf5eb7d5961ef4adad9f04913ec7cdd1.gif" failed: "host is unreachable" akkoma-akkoma-1 | ``` ### Severity I cannot use the software ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
qugalet added the
bug
label 2023-01-10 20:40:21 +00:00

this isn't a bug, nor is it maximum priority

I cannot use the software

you can re-upload your profile picture

uploads are entirely based on URL

mediaproxy can resolve this, but auto-updating upload URLs was never intended behaviour

this isn't a bug, nor is it maximum priority >I cannot use the software you can re-upload your profile picture uploads are entirely based on URL mediaproxy can resolve this, but auto-updating upload URLs was never intended behaviour
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#434
No description provided.