Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Create Backup Anymore #354

Open
1 task done
t-aus-m opened this issue Jul 25, 2024 · 2 comments
Open
1 task done

Can't Create Backup Anymore #354

t-aus-m opened this issue Jul 25, 2024 · 2 comments
Labels
needs-information Issue needs more information in order to work on it

Comments

@t-aus-m
Copy link

t-aus-m commented Jul 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

Since monday my phone is unable to create backups of molly. The back up fails after a few seconds.

ADB shows the following noticable events:

07-25 13:41:52.573 32128 32173 D FullBackupExporter: Exporting table: story_sends
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: Error during backup!
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: java.io.IOException: Size mismatch!
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.backup.BackupFrameOutputStream.write(BackupFrameOutputStream.java:114)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.backup.FullBackupExporter.internalExport(FullBackupExporter.java:199)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.backup.FullBackupExporter.export(FullBackupExporter.java:123)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.jobs.LocalBackupJobApi29.onRun(LocalBackupJobApi29.java:143)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:31)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:86)
07-25 13:41:52.790 32128 32173 W LocalBackupJobApi29: 	at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:49)

Steps to reproduce

  1. Open Backup settings
  2. Start Backup
  3. Wait for it to fail

Molly version

v7.8.1-2.up1-FOSS

Android version

Android 14

Device

Fairphone 5

Link to debug log

https://debuglogs.org/android/7.8.1/ee877882d6c829c670ccaadbc3fdfc93c298ff5fa93b921e23872d262c359d5a

@valldrac
Copy link
Member

It looks like a corrupted attachment is messing up the backup. To fix this, delete the broken attachment: go to Settings > Data and Storage > Manage Storage > Review Storage, and look for a file with a black thumbnail or one that won’t open. Once you delete it, the backup should work again.

@valldrac valldrac added the needs-information Issue needs more information in order to work on it label Aug 16, 2024
@t-aus-m
Copy link
Author

t-aus-m commented Aug 22, 2024

How can I find out which file causes the backup to fail? I deleted a bunch of corrupted files from the backup, but since I have over 2 GB of media, it would take a lot of time to go through all of the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-information Issue needs more information in order to work on it
Development

No branches or pull requests

2 participants