NeoApplications / Neo-Backup

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

[Bug] All backups failing #783

Closed wastemans closed 11 months ago

wastemans commented 11 months ago

Description

All backups in my schedule are failing with this error:

is.xyz.mpv
package not processed: is.xyz.mpv :
java.lang.NullPointerException: file
NullPointerException
file
at android.net.Uri.fromFile(Uri.java:481)
at com.machiav3lli.backup.items.StorageFile.getUri(Unknown
Source:96)
at
com.machiav3lli.backup.items.StorageFile.getPath(Unknown
Source:10)
at com.machiav3lli.backup.items

Steps To Reproduce

  1. Create a new job
  2. User Apps, All backup types
  3. Run manually or on a schedule
  4. All fail after a few minutes.

Expected behavior An additional backup is performed.

I suspected this to be a storage issue, but it's able to read the contents of the backup directory and its existing backups. I cleared cache, data, no luck. I uninstalled the app and reinstalled and built a new schedule, still the same error.

System Information(please complete the following information):

hg42 commented 11 months ago

I guess the schedule is executed automatically (via schedule time).

do other kinds of backups work?

Are the apps in the schedule of a specific kind (like only system, etc.) or do they have a high diversity?

Please create a support log (long press title, share support log). It contains access tests (you could also have a look yourself), though there is no schedule specific test.

Please create a log of the backup. If it's only about automatic schedules, then enable autoLogAfterSchedule. Use long press title/prepare support to set useful options.

In general the logs are more useful, if you use the neo version, because it contains real names instead of "unknown source" and shortened names like "a" etc.)

wastemans commented 11 months ago

do other kinds of backups work? None of these methods work.

Are the apps in the schedule of a specific kind (like only system, etc.) or do they have a high diversity? It's all user apps, all backup types, and all fail.

I can see the log you're asking for but when I click "shareSupportLog" nothing happens?

wastemans commented 11 months ago

Might be having more storage issues here. The log says it can't make the "!-LOGS" folder in Neo and in another program. Storage is to blame so far - will do some digging myself and update here.

wastemans commented 11 months ago

I am a fool!!

mkdir: cannot create directory ‘!-LOGS’: No space left on device