sms-backup-plus icon indicating copy to clipboard operation
sms-backup-plus copied to clipboard

Error during restoration : IO Error

Open Aelyth opened this issue 4 years ago • 23 comments

Expected behaviour : Restoration of SMSs

Actual behaviour : Unable to restore any SMSs

Steps to reproduce the behaviour : Click on "Restore" and change Message app to SMS Backup+

Please specify the following:

  • Android version : 9
  • Phone model / brand : Motorala Moto G6 Plus
  • SMS Backup+ version installed : Beta
  • Messaging app : Default SMS app

The application does not seem to be able to restore the SMSs it has saved previously. When I launch the restoration, and Message app to SMS Backup+, it starts to run, then to calculate, but stays suck at this step, then switches back the Message app to the phone default message app, and display "IO Error". I've tried with 100 SMS also, the result is the same. Can you please help me ?

Thank you by advance, Have a nice day !

Aelyth avatar Apr 15 '20 14:04 Aelyth

@Aelyth approximately how long does is spend "calculating" before showing "IO Error"?

Please attach the debug log to this issue #1018 on Github?

kurahaupo avatar Apr 26 '20 05:04 kurahaupo

@kurahaupo About 5 minuts.

How can I find the debug log ?

Aelyth avatar Apr 29 '20 17:04 Aelyth

From the menu choose "view log". Note the file path at the top, if it is not the default /storage/emulated/0/Android/data/com.zegoggles.smssync/files/sms_backup_plus.log Come back to this web page and tap on "attach files" at the bottom of the reply pane. Choose "files" and use "file manager" (details of this step depend on your phone) and follow the path you noted above. Depending on your file manager you will start with either storage or Android.

kurahaupo avatar May 03 '20 12:05 kurahaupo

Hello,

Sorry for the delay ! Here is my debug log. I did à save that I canceled before trying to restore. sms_backup_plus.log

Aelyth avatar Jun 30 '20 20:06 Aelyth

Sorry for my delay too. The log seems to show 4 manual attempts, and indicates a problem with your login credentials (ça dit Erreur d'authentification et informations d'identification non valides (échec)). Is this a new installation on a new device (or one that has been factory-reset)? I suggest re-entering your IMAP credentials. If it still has a problem restoring, it might be helpful to confirm or refute whether it can back up at least one message.

kurahaupo avatar Jul 08 '20 03:07 kurahaupo

It is not actually new. It's a kinda new device because it is not the one from which I started to save messages, but I have since two years now, and I save my messages using SMS backup ever since. I just reauthentified before trying, and I am able to save my messages in my Gmail mailbox without any trouble. How can I try to backup only 1 message ? I tried with 100, because it is the minimum, but it still does not work.

Aelyth avatar Jul 08 '20 16:07 Aelyth

I am commenting the subject again as it seems a bit forgotten

Aelyth avatar Sep 01 '20 14:09 Aelyth

I am commenting the subject again as it seems a bit forgotten

Aelyth avatar Sep 01 '20 14:09 Aelyth

I am commenting the subject again as it seems a bit forgotten

Aelyth avatar Sep 01 '20 14:09 Aelyth

salut @Aelyth

Depuis que vous avez mis à jour vos informations d'identification, est-ce que les « Erreur d'authentification » figurent dans le journal? Since you updated your credentials, do the « Erreur d'authentification » messages still appear in the log?

The point is to check that at least one message can be backed up; if you can back up more that's no problem, but restricting to just one makes the test repeatable.

When you're testing restoration, it may be helpful to move all the messages except one out of your backup folder in Gmail, so you can control exactly which message gets restored.

kurahaupo avatar Sep 27 '20 23:09 kurahaupo

salut @Aelyth

Depuis que vous avez mis à jour vos informations d'identification, est-ce que les « Erreur d'authentification » figurent dans le journal? Since you updated your credentials, do the « Erreur d'authentification » messages still appear in the log?

The point is to check that at least one message can be backed up; if you can back up more that's no problem, but restricting to just one makes the test repeatable.

When you're testing restoration, it may be helpful to move all the messages except one out of your backup folder in Gmail, so you can control exactly which message gets restored.

Hello @kurahaupo

No, the identification error are not in the debug log, and when I tried with only one message, it seemed that it was working, but I tried with my oldest message, and it doesn't show up after the restoration in my default message app. To summarize, the app told me that the message has been backed up, but nothing seems to appear in my message app on my phone.

Aelyth avatar Oct 25 '20 19:10 Aelyth

I comment again to revive the subject !

Aelyth avatar Nov 18 '20 22:11 Aelyth

@Aelyth Hi.

Just checking that I understand: you can't restore your older messages, but I'm not quite clear on whether you have successfully restored at least one other message; is that the case?

If the problem is triggered by the age of the messages, then we need to consider the behaviour of the other messaging app.

SMS Backup+ works by reading messages from and writing messages to the SIM card. It's assumed that other messaging apps will read from there too.

Some messaging apps, such as Google Hangouts, don't follow that convention: they remove all messages from the SIM and store them elsewhere (Hangouts own storage, for example). They may also have their own idea of what messages in the SIM should be ignored as "duplicates". (It's also possible that SMS Backup+ is inadvertently tagging the messages in a way that induces the other app to ignore them; but we can't fix that until we find out how it works.)

I don't have a Moto G6+, so I don't know what the default messaging app is on such a phone. Do you know if it leaves messages in the SIM or moves them elsewhere?

kurahaupo avatar Feb 16 '21 15:02 kurahaupo

@kurahaupo Hi,

No, I didn't manage to successfully restore even one message. When I tried with one, the application said that it has been restored, but the message didn't show up in my messages in my default application.

My default application is "Messages". I don't know at all, how can I check ?

Aelyth avatar Feb 16 '21 16:02 Aelyth

After a quick search, this is my default message application : https://play.google.com/store/apps/details?id=com.google.android.apps.messaging&hl=en_US&gl=US

Aelyth avatar Feb 16 '21 16:02 Aelyth

@Aelyth thanks

kurahaupo avatar Feb 16 '21 16:02 kurahaupo

@Aelyth thanks

@kurahaupo Hello ! Any idea of what I can do ?

Thank you, have a good day !

Aelyth avatar Apr 03 '21 16:04 Aelyth

Are you still using Android version 9, or has your phone software been updated?

As I found from another bug report, there was an update to Android recently that causes SMS Backup+ to fail when a limit is set on the number of messages to be processed, causing the app to abort and/or all messages to be skipped.

Now it will only work if "all messages" is selected.

kurahaupo avatar Apr 03 '21 19:04 kurahaupo

I'm still using Android 9, I just checked to be sure.

Aelyth avatar Apr 04 '21 11:04 Aelyth

@kurahaupo Any idea/news on this subject, please ?

Aelyth avatar May 10 '21 12:05 Aelyth

@kurahaupo Hello again, is there any possibility to look this issue again please ?

Aelyth avatar Nov 08 '21 12:11 Aelyth

This may be resolved by PR #1049. If you can build and install, please check on your device.

kurahaupo avatar Dec 11 '21 11:12 kurahaupo

Hello @kurahaupo, I'm not sure to understand how I should proceed to build and install, can you explain to me please ?

Aelyth avatar Jan 08 '22 15:01 Aelyth