Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Signal Android does not save all media files

Open vince-from-nice opened this issue 2 years ago • 9 comments

Bug description

I want to save all my media files (915 Mb, 2262 files) in one shoot but sadly not all of the files are saved, only ~30% !

Steps to reproduce

  • Go to Data and Storage > Manage storage > Review storage
  • Select Media
  • Tap and hold on an attachment.
  • Select all.
  • Tap Save

Actual result:

A popup says the files are being saved to local storage. After many seconds, there's no more popup (and no error message). 692 pictures have been saved into Pictures directory and 17 videos into the Movies directory (I've cleaned these directories before the launch the backup).

Expected result:

I would expect to have all the media files saved and not ~30% only.

Device info

Device: Redmi Note 11 Android version: 13 Signal version: 6.39.1

vince-from-nice avatar Nov 12 '23 20:11 vince-from-nice

Note that if I redo the backup I always have the same amount of saved files (692 pictures and 17 videos instead of 2262 files).

vince-from-nice avatar Nov 12 '23 20:11 vince-from-nice

Wow...hrm. A debuglog would be helpful in seeing if the process fails for a particular reason.

cody-signal avatar Nov 13 '23 15:11 cody-signal

Actually at the end of the process (~30s) there is a quickly displayed message saying an error has occurred. But strangely I don't see any error in the log file (at least no error message in the last hour) but maybe you can find something... Thanks, Vincent.

vince-from-nice avatar Nov 13 '23 20:11 vince-from-nice

I have just updated to 6.40.5 and tried 2 times to save all my media files. It still fails (22+699 files saved instead of 2304) and here is the log file.

Note that error has occurred on both attempts so it could be the clue: SaveAttachmentTask: SaveAttachmentTask: Caused by: java.io.FileNotFoundException: /data/user/0/org.thoughtcrime.securesms/app_parts/part2511049236473473679.mms: open failed: ENOENT (No such file or directory)

Any idea ?

vince-from-nice avatar Nov 26 '23 23:11 vince-from-nice

Would it be possible to NOT abort the whole backup process if some files are missing ? The user should be informed that some files are missing (and thus not saved) but at least all the existing files will be saved.

vince-from-nice avatar Dec 08 '23 15:12 vince-from-nice

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 15 '24 00:02 stale[bot]

The issue is still present with a recent version of Signal for Android (6.42.3).

vince-from-nice avatar Feb 15 '24 16:02 vince-from-nice

I tried another global backup with the latest release (7.11.3). I've selected all my media files (1912 elements) and the process has finished without any error.

But I can see that 1744 pictures and 137 videos has been saved => 1881 / 1912 = 98%, it's still not yet perfect but it's much better than before. I did another attempt and it gave me 1770 + 141 files saved.. it misses just one ! I'm very happy with that :)

vince-from-nice avatar Jul 19 '24 22:07 vince-from-nice

A third attempt did the same result: 1911 files saved.

vince-from-nice avatar Jul 19 '24 22:07 vince-from-nice