[BUG] Background backup progress notification doesn't work when the backup is interrupted #389

Closed
opened 2026-02-04 20:12:57 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @JVT038 on GitHub (Oct 29, 2022).

Originally assigned to: @fyfrey on GitHub.

Describe the bug
My backup progress was accidentally interrupted (my phone switched from Wi-Fi to cellular, back to Wi-Fi) and now the backup progress just says 0% (0/4614).
However, the other notification about the detailed backup progress, does continue, and shows the info about the currently uploaded item. So when the backup progress is interrupted, the backup progress notification no longer functions properly.

Task List

Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.

  • I have read thoroughly the README setup and installation instructions.
  • I have included my docker-compose file.
  • I have included my redacted .env file.
  • I have included information on my machine, and environment.

To Reproduce
Steps to reproduce the behavior:

  1. Start a backup
  2. Make sure the backup progress notification is enabled
  3. Interrupt the backup (e.g. disable Wi-Fi)
  4. See error

Expected behavior
I expected the notification to continue like nothing happened, and properly showing the percentage of uploaded items

System

  • Phone OS [iOS, Android]: 11
  • Server Version: 1.33.0
  • Mobile App Version: 1.33.0 build.52
Originally created by @JVT038 on GitHub (Oct 29, 2022). Originally assigned to: @fyfrey on GitHub. **Describe the bug** My backup progress was accidentally interrupted (my phone switched from Wi-Fi to cellular, back to Wi-Fi) and now the backup progress just says 0% (0/4614). However, the other notification about the detailed backup progress, does continue, and shows the info about the currently uploaded item. So when the backup progress is interrupted, the backup progress notification no longer functions properly. **Task List** *Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.* - [x] I have read thoroughly the README setup and installation instructions. - [ ] I have included my `docker-compose` file. - [ ] I have included my redacted `.env` file. - [x] I have included information on my machine, and environment. **To Reproduce** Steps to reproduce the behavior: 1. Start a backup 2. Make sure the backup progress notification is enabled 3. Interrupt the backup (e.g. disable Wi-Fi) 4. See error **Expected behavior** I expected the notification to continue like nothing happened, and properly showing the percentage of uploaded items **System** - Phone OS [iOS, Android]: `11` - Server Version: `1.33.0` - Mobile App Version: `1.33.0 build.52`
Author
Owner

@alextran1502 commented on GitHub (Oct 29, 2022):

@zoodyy Can you help me take a look at this behavior when you have sometimes? Thank you

@alextran1502 commented on GitHub (Oct 29, 2022): @zoodyy Can you help me take a look at this behavior when you have sometimes? Thank you
Author
Owner

@fyfrey commented on GitHub (Oct 31, 2022):

I could not really reproduce the error on my device or emulator. I think the issue is that Android drops notifications once too many are made by an app (maybe this limit is manufacturer or version depended).

With #907, I reduced the number of notifications per second for each single uploaded asset, hoping that the main upload progress notifications are no longer dropped.

@fyfrey commented on GitHub (Oct 31, 2022): I could not really reproduce the error on my device or emulator. I think the issue is that Android drops notifications once too many are made by an app (maybe this limit is manufacturer or version depended). With #907, I reduced the number of notifications per second for each single uploaded asset, hoping that the main upload progress notifications are no longer dropped.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#389