NeoApplications / Neo-Backup

backup manager for android
GNU Affero General Public License v3.0
2.53k stars 124 forks source link

[Bug] could not list contents of user data #278

Open nutpantz opened 3 years ago

nutpantz commented 3 years ago

Latest update from fdroid Backup all user apps Android 8 Samsung s7 edge oem rom masjesk latest.

After the update over 30% of my apps failed to update with this error.

Taknok commented 2 years ago

Same on oneplus 7 stock ROM + root. Exemple:

But the folder is there: Screenshot_20211101-221623

smemsh commented 2 years ago

Same on Pixel 6 Pro:

Errors occurred
Airbnb: a: Could not list contents of
/data/user/0/com.airbnb.android

tons of apps have the issue

Taknok commented 2 years ago

Killing the app from app manager solves the issue sometimes (crappy work around).

MartinX3 commented 2 years ago

Same issue here with LineageOS 18.1 (Android 11) But I use the option Closing app process before backup A reboot fixed it, so I assume it got triggered by the app crashing while backing up my apps.

dptsolutions commented 2 years ago

This keeps happening to me. A reboot seemed to somewhat work. But eventually it seems the app crashed again and restarting it caused this issue to occur.

mimmiechan commented 2 years ago

Same trying to backup Gboard on Project Sakura Rom (based on LineageOS), Gboard flashed with OpenGApps.

a: Could not list contents of /data/user/0/com.google.android.inputmethod.latin

Tried changing keyboard (falling back to a non-Google keyboard I have), disabling the app, stop services. Didn't work. Then rebooted and it worked.

I use the option Closing app process before backup

I don't see such an option. Perhaps default in 7.0? It says that it will give the app the stop signal.

I find it strange. I'm not an expert, but it seems to me like it shouldn't be a problem since OABX has Superuser rights. Just snag that data!

arbaleast commented 2 years ago

Killing the app from app manager solves the issue sometimes (crappy work around).

thanks same error, restat app can temporally solve it

machiav3lli commented 2 years ago

Try restoring in main (single) if it works then it's a racing condition issue on Android's side. In batch: restoring apps alone first then data alone should solve this.

machiav3lli commented 2 years ago

And yeah, this is already handled better in the latest v8 alphas

Switch123456789 commented 2 years ago

Switching the "Files & media" permissions of OABX to "Deny" and then to "Allow management of all files" fixed it for me. Before it seemed to be not set properly, showing conflicting information in different Pages in the Ui, about if it is denied or allowed. Screenshot_20220304-232809_Lawnchair FP3 (LOS18.1)

dschrempf commented 2 years ago

I can confirm that the workaround of @Switch123456789 works.