If i set my local backup to run when my device is asleep (like 5am) the backup will never run as the device is asleep at 5am and won't run when the device wakes up, which will result in never having the backup done
[8.5.1] [main ] 2026-03-31 05:16:56.715 GMT+02:00 I PersistentAlarmManagerL: [LocalBackupListener] onReceive(null)
[8.5.1] [main ] 2026-03-31 05:16:56.719 GMT+02:00 I PersistentAlarmManagerL: [LocalBackupListener] scheduling exact alarm for: 1774927428000 hasManagerPermission: true
[8.5.1] [main ] 2026-03-31 05:31:56.698 GMT+02:00 I PersistentAlarmManagerL: [LocalBackupListener] onReceive(null)
[8.5.1] [main ] 2026-03-31 05:31:56.698 GMT+02:00 I PersistentAlarmManagerL: [LocalBackupListener] onAlarm(): scheduled: 1774927428000 actual: 1774927916698
[8.5.1] [806 ] 2026-03-31 05:31:56.701 GMT+02:00 I Job: [JOB::185333d1-7c97-4cfe-bef9-b8ce48ac42db][LocalArchiveJob] onSubmit() (Time Since Submission: 1 ms, Lifespan: Immortal, Run Attempt: 1/3, Queue: __LOCAL_BACKUP__)
[8.5.1] [815 ] 2026-03-31 05:31:56.703 GMT+02:00 I JobSchedulerScheduler: JobScheduler enqueue of (0)
[8.5.1] [844 ] 2026-03-31 05:31:56.705 GMT+02:00 I JobRunner: [JOB::185333d1-7c97-4cfe-bef9-b8ce48ac42db][LocalArchiveJob][JobRunner-Core-4] Running job. (Time Since Submission: 4 ms, Lifespan: Immortal, Run Attempt: 1/3, Queue: __LOCAL_BACKUP__)
[8.5.1] [844 ] 2026-03-31 05:31:56.705 GMT+02:00 I LocalArchiveJob: Executing backup job...
[8.5.1] [main ] 2026-03-31 05:31:56.709 GMT+02:00 I PersistentAlarmManagerL: [LocalBackupListener] scheduling exact alarm for: 1775013739000 hasManagerPermission: true
[8.5.1] [844 ] 2026-03-31 05:31:56.712 GMT+02:00 D NotificationCancellatio: cancelLegacy() called with: notificationId = [31321]
[8.5.1] [844 ] 2026-03-31 05:31:56.713 GMT+02:00 I GenericForegroundServic: [startForegroundTask] Task: Création de la sauvegarde Signal…, ID: 2
[8.5.1] [main ] 2026-03-31 05:31:56.716 GMT+02:00 D GenericForegroundServic: [onCreate]
[8.5.1] [main ] 2026-03-31 05:31:56.716 GMT+02:00 D GenericForegroundServic: [onStartCommand] Action: start
[8.5.1] [main ] 2026-03-31 05:31:56.717 GMT+02:00 I GenericForegroundServic: [onStartCommand] Adding entry: ChannelId: backups_v2, ID: 2, Progress: 0/0 determinate
[8.5.1] [844 ] 2026-03-31 05:31:56.720 GMT+02:00 W NotificationController: Tried to update the progress, but the service was no longer bound!
[8.5.1] [844 ] 2026-03-31 05:31:56.721 GMT+02:00 W NotificationController: Tried to update the title, but the service was no longer bound!
[8.5.1] [main ] 2026-03-31 05:31:56.722 GMT+02:00 D GenericForegroundServic: [onBind]
[8.5.1] [main ] 2026-03-31 05:31:56.722 GMT+02:00 I NotificationController: [onServiceConnected] Name: ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.service.GenericForegroundService}
[8.5.1] [main ] 2026-03-31 05:31:56.722 GMT+02:00 I GenericForegroundServic: handleReplace() ChannelId: backups_v2, ID: 2, Progress: 0/0 indeterminate
[8.5.1] [844 ] 2026-03-31 05:31:56.730 GMT+02:00 D ArchiveFileSystem: canWrite() check attempt 1/5
[8.5.1] [844 ] 2026-03-31 05:31:57.311 GMT+02:00 D NotificationController: [close] Unbinding service.
[8.5.1] [844 ] 2026-03-31 05:31:57.311 GMT+02:00 D GenericForegroundServic: [stopForegroundTask] ID: 2
[8.5.1] [main ] 2026-03-31 05:31:57.311 GMT+02:00 D GenericForegroundServic: [onUnbind]
[8.5.1] [844 ] 2026-03-31 05:31:57.311 GMT+02:00 I GenericForegroundServic: Stopping foreground service id=2
[8.5.1] [main ] 2026-03-31 05:31:57.313 GMT+02:00 D GenericForegroundServic: [onStartCommand] Action: stop
[8.5.1] [main ] 2026-03-31 05:31:57.313 GMT+02:00 I GenericForegroundServic: [onStartCommand] ID: 2, Removed: ChannelId: backups_v2, ID: 2, Progress: 0/0 indeterminate
[8.5.1] [main ] 2026-03-31 05:31:57.313 GMT+02:00 I GenericForegroundServic: Last request. Ending foreground service.
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: [JOB::185333d1-7c97-4cfe-bef9-b8ce48ac42db][LocalArchiveJob][JobRunner-Core-4] Failing fatally due to an unexpected runtime exception. (Time Since Submission: 612 ms, Lifespan: Immortal, Run Attempt: 1/3, Queue: __LOCAL_BACKUP__)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: java.lang.NullPointerException
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.backup.v2.local.FilesFileSystem.<init>(ArchiveFileSystem.kt:347)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.backup.v2.local.FilesFileSystem.<init>(ArchiveFileSystem.kt:328)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem.<init>(ArchiveFileSystem.kt:156)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem.<init>(ArchiveFileSystem.kt:0)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem$Companion.fromUri(ArchiveFileSystem.kt:79)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.jobs.LocalArchiveJob.run(LocalArchiveJob.kt:75)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:99)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:62)
[8.5.1] [844 ] 2026-03-31 05:31:57.313 GMT+02:00 W JobRunner:
[8.5.1] [main ] 2026-03-31 05:31:57.321 GMT+02:00 D GenericForegroundServic: [onDestroy]
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException:
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: java.lang.NullPointerException
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.backup.v2.local.FilesFileSystem.<init>(ArchiveFileSystem.kt:347)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.backup.v2.local.FilesFileSystem.<init>(ArchiveFileSystem.kt:328)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem.<init>(ArchiveFileSystem.kt:156)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem.<init>(ArchiveFileSystem.kt:0)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.backup.v2.local.ArchiveFileSystem$Companion.fromUri(ArchiveFileSystem.kt:79)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.jobs.LocalArchiveJob.run(LocalArchiveJob.kt:75)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:99)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:62)
[8.5.1] [844 ] 2026-03-31 05:31:57.325 GMT+02:00 E SignalUncaughtException:
[8.5.1] [844 ] 2026-03-31 05:31:57.332 GMT+02:00 I JobManager: Successfully flushed.
Guidelines
Bug description
Follow up about the issue described in #14689 (comment)
If i set my local backup to run when my device is asleep (like 5am) the backup will never run as the device is asleep at 5am and won't run when the device wakes up, which will result in never having the backup done
Screenshots
No response
Device
Oneplus 15
Android version
16
Signal version
No response
Link to debug log