signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.62k stars 2.66k forks source link

Sticker corrupted #5762

Open epochera opened 2 years ago

epochera commented 2 years ago

Bug Description

Steps to Reproduce

  1. launch signal desktop
  2. go to sticker

Actual Result:

Sticker image corrupted

Expected Result:

Stick image should be shown properly

Screenshots

alt text

Platform Info

Signal Version:

5.29.1 production

Operating System:

EndeavourOS

Linked Device Version:

Link to Debug Log

https://debuglogs.org/741b0863ba8a9a66572c931d86430951f940ee5f3f215a47a4ef38647da07887.gz

indutny-signal commented 2 years ago

Sorry you ran into this. Did you move signal config folder around to a different machine or back it up recently?

Could you run this command as well, please?

find /home/flanux/.config/Signal/stickers.noindex/

Thank so much!

epochera commented 2 years ago

@indutny-signal Thanks for you reply. Yes, I did system restore recently.

here are command result: https://pastebin.com/MHeZKfx0

scottnonnenberg-signal commented 2 years ago

@epochera Based on that find result, your system restore did not bring back any of your sticker images. Were they excluded from your backup somehow?

epochera commented 2 years ago

Thanks, the issue is fixed by copy stickers.noindex again. It is my environment issue.

by the way, if the stickers.noindex corrupted, is possible re-download it again?

outpoints commented 1 year ago

@epochera Based on that find result, your system restore did not bring back any of your sticker images. Were they excluded from your backup somehow?

Do you know if it's possible to fix this if you can't find an old backup of them?

scottnonnenberg-signal commented 1 year ago

@outpoints If you can find those sticker packs again, uninstalling and reinstalling should fix them. You can start with one to see if it works as we expect.

outpoints commented 1 year ago

@scottnonnenberg-signal it doesn't :/ Do you have any other ideas?

This is what it says in debug logs

ERROR 2023-03-01T22:26:24.568Z Top-level unhandled promise rejection: Error: ENOENT: no such file or directory, open '/home/user/.config/Signal/stickers.noindex/b8\b835c31b2412379586648c08cd720918ab1d9a44957ae92e16e7029e1f32e065'

I found issue #3917 but I'm not sure how to actually fix it

scottnonnenberg-signal commented 1 year ago

@outpoints Unfortunately Signal Desktop isn't currently designed to allow random deletion of its files on disk.

One way you can definitely fix it is by starting your Desktop instance over from scratch - specifically, deleting the entire directory and re-linking. Note that will also delete all of your messages. So it's probably not what you want.