[bug] Problems with emoji loading #523

Open
opened 2023-04-21 06:01:33 +00:00 by Ghost · 5 comments

Your setup

OTP

Extra details

Debian 11 in an LXC container.
I also run it behind a reverse proxy (2 actually). So if I understand it correctly, Akkoma works on port 4000, then Nginx on the same machine serves it as port 443 and then the reverse proxy on an another machine puts it outside on port 443.

Version

2023.04

PostgreSQL version

13

What were you trying to do?

I'm trying to pull emojis from a remote server, but the behaivour is really weird. First I select a pack, then try to 'Manage existing emoji', but what I get is Request failed with status code 404 - Pack misc does not exist. Then when I press 'Download pack', I see the same error. When I press 'Download shared pack to current instance' it actually downloads it, even though it couldn't find it earlier. But when I go to see it on my instance, it only downloaded the first page. So the first page of emojis are all good and other ones have corrupted files. And I can't even delete those corrupted emojis, because it gives me the same 404 error.

What did you expect to happen?

I expected it to download emojis properly and without those errors.

What actually happened?

Emojis didn't properly load.

Logs

No response

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup OTP ### Extra details Debian 11 in an LXC container. I also run it behind a reverse proxy (2 actually). So if I understand it correctly, Akkoma works on port 4000, then Nginx on the same machine serves it as port 443 and then the reverse proxy on an another machine puts it outside on port 443. ### Version 2023.04 ### PostgreSQL version 13 ### What were you trying to do? I'm trying to pull emojis from a remote server, but the behaivour is really weird. First I select a pack, then try to 'Manage existing emoji', but what I get is `Request failed with status code 404 - Pack misc does not exist`. Then when I press 'Download pack', I see the same error. When I press 'Download shared pack to current instance' it actually downloads it, even though it couldn't find it earlier. But when I go to see it on my instance, it only downloaded the first page. So the first page of emojis are all good and other ones have corrupted files. And I can't even delete those corrupted emojis, because it gives me the same 404 error. ### What did you expect to happen? I expected it to download emojis properly and without those errors. ### What actually happened? Emojis didn't properly load. ### Logs _No response_ ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
Ghost added the
bug
label 2023-04-21 06:01:33 +00:00
Author

I'm sorry if the issue is too hard to understand. I have very little experience with Akkoma and I don't know much about how it works

I'm sorry if the issue is too hard to understand. I have very little experience with Akkoma and I don't know much about how it works

I want to corrobate this yes, if you import emoji from another instance, only the first page of the emojis actually downloads the files. The shortcodes however DO get imported resulting in many many broken emoji and a few working ones (for most packs).

To reproduce:

  1. set up instance
  2. try to import akko.wtf's emoji (this is one where that at least works for me)
  3. import the neocats emoji pack (this is one with multiple pages)

Expected result:
All emojis get imported

Actual result:
Only the images for the first 30 emoji in the pack are imported, the rest have a broken image.

I want to corrobate this yes, if you import emoji from another instance, only the first page of the emojis actually downloads the files. The shortcodes however DO get imported resulting in many many broken emoji and a few working ones (for most packs). To reproduce: 1) set up instance 2) try to import akko.wtf's emoji (this is one where that at least works for me) 3) import the neocats emoji pack (this is one with multiple pages) Expected result: All emojis get imported Actual result: Only the images for the first 30 emoji in the pack are imported, the rest have a broken image.
Author

It's been 4 month since I opened the issue

For that time I already took a 1 month long break from the fediverse. Moved to Misskey afterwards. Used it for some time and then moved to Pleroma because Misskey is kinda not for me.

And now someone noticed the issue

xdd

It's been 4 month since I opened the issue For that time I already took a 1 month long break from the fediverse. Moved to Misskey afterwards. Used it for some time and then moved to Pleroma because Misskey is kinda not for me. And now someone noticed the issue xdd

Well, I just read it because I encountered a the same issue just now.

Well, I just read it because I encountered a the same issue just now.
Author

Oh, sorry, I didn't mean it like that

Just wanted to point out how time flies and what has happened to me and my Akkoma instance

Oh, sorry, I didn't mean it like that Just wanted to point out how time flies and what has happened to me and my Akkoma instance
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#523
No description provided.