[BUG] Backup in upload loop on specific asset #49

Closed
opened 2026-02-04 16:59:53 +03:00 by OVERLORD · 15 comments
Owner

Originally created by @thefirstofthe300 on GitHub (Apr 5, 2022).

Describe the bug
Backup of a specific asset (unknown if picture or video) from Android app goes from 0-100% and then restarts.

To Reproduce
I'm sure if I knew what asset it was trying to upload, I could give you the file to troubleshoot.

Expected behavior
Backup completes

Smartphone (please complete the following information):

  • Device: Pixel 6 Pro
  • OS: Latest Android 12

First off, this is an awesome little project that's providing me with exactly the experience I want. I love how it places the emphasis on the mobile device.

Secondly, what's the best way to provide debug logs from my Android device for you?

Originally created by @thefirstofthe300 on GitHub (Apr 5, 2022). **Describe the bug** Backup of a specific asset (unknown if picture or video) from Android app goes from 0-100% and then restarts. **To Reproduce** I'm sure if I knew what asset it was trying to upload, I could give you the file to troubleshoot. **Expected behavior** Backup completes **Smartphone (please complete the following information):** - Device: Pixel 6 Pro - OS: Latest Android 12 First off, this is an awesome little project that's providing me with exactly the experience I want. I love how it places the emphasis on the mobile device. Secondly, what's the best way to provide debug logs from my Android device for you?
Author
Owner

@Eidenz commented on GitHub (Apr 5, 2022):

Pretty sure that's the same as #106, which was fixed a few hours ago and is awaiting APK rebuild.

@Eidenz commented on GitHub (Apr 5, 2022): Pretty sure that's the same as #106, which was fixed a few hours ago and is awaiting APK rebuild.
Author
Owner

@alextran1502 commented on GitHub (Apr 5, 2022):

@thefirstofthe300 @Eidenz is correct, I will push out a new release soon

@alextran1502 commented on GitHub (Apr 5, 2022): @thefirstofthe300 @Eidenz is correct, I will push out a new release soon
Author
Owner

@alextran1502 commented on GitHub (Apr 5, 2022):

@thefirstofthe300 @Eidenz The issue should be fixed in the latest release

@alextran1502 commented on GitHub (Apr 5, 2022): @thefirstofthe300 @Eidenz The issue should be fixed in the [latest release](https://github.com/alextran1502/immich/releases/tag/v1.6.0_10-dev)
Author
Owner

@Eidenz commented on GitHub (Apr 6, 2022):

@alextran1502 unfortunately, the issue doesn't seem to be fixed on my end. I did update my android app & server though (1.6.0 build.10 & 1.6.0).

The upload is stuck on a jpg picture taken from my phone camera.

@Eidenz commented on GitHub (Apr 6, 2022): @alextran1502 unfortunately, the issue doesn't seem to be fixed on my end. I did update my android app & server though (1.6.0 build.10 & 1.6.0). The upload is stuck on a `jpg` picture taken from my phone camera.
Author
Owner

@alextran1502 commented on GitHub (Apr 6, 2022):

@alextran1502 unfortunately, the issue doesn't seem to be fixed on my end. I did update my android app & server though (1.6.0 build.10 & 1.6.0).

The upload is stuck on a jpg picture taken from my phone camera.

Hmmm 🤔 can you share the image?

@alextran1502 commented on GitHub (Apr 6, 2022): > @alextran1502 unfortunately, the issue doesn't seem to be fixed on my end. I did update my android app & server though (1.6.0 build.10 & 1.6.0). > > > > The upload is stuck on a `jpg` picture taken from my phone camera. Hmmm 🤔 can you share the image?
Author
Owner

@Eidenz commented on GitHub (Apr 7, 2022):

I uploaded it to my server, it should keep all the metadata you might need.
https://cloud.eidenz.com/f/1bce681241b24bfd86e4/

@Eidenz commented on GitHub (Apr 7, 2022): I uploaded it to my server, it should keep all the metadata you might need. https://cloud.eidenz.com/f/1bce681241b24bfd86e4/
Author
Owner

@alextran1502 commented on GitHub (Apr 7, 2022):

@Eidenz This is a strange problem because I don't have any problem backing up the photo on my device (Samsung S9) and Android emulator. You said it is stuck on the image and not backing up anything else, correct?

Do you have a way to get the log file and send them to me?

@alextran1502 commented on GitHub (Apr 7, 2022): @Eidenz This is a strange problem because I don't have any problem backing up the photo on my device (Samsung S9) and Android emulator. You said it is stuck on the image and not backing up anything else, correct? Do you have a way to get the log file and send them to me?
Author
Owner

@Eidenz commented on GitHub (Apr 7, 2022):

Hm.. I've retried to get some logs and it just started syncing without issue.

I was at work earlier, so maybe the network there was blocking the request or something. Sorry about that, all good then xp

@Eidenz commented on GitHub (Apr 7, 2022): Hm.. I've retried to get some logs and it just started syncing without issue. I was at work earlier, so maybe the network there was blocking the request or something. Sorry about that, all good then xp
Author
Owner

@notarobot63 commented on GitHub (Apr 11, 2022):

Hi, I think I got the same issue here. Backup is stuck at 2558 assets remaining and is looping. Newly taken photos are backed up without a problem though. I m on last versions both on phone and one server. I tried on 2 different networks and on mobile network: same issue.
Let me know how I can provide more information that can help.
Edit: It seems to be stuck on a video, but previous and similar videos worked without a problem

@notarobot63 commented on GitHub (Apr 11, 2022): Hi, I think I got the same issue here. Backup is stuck at 2558 assets remaining and is looping. Newly taken photos are backed up without a problem though. I m on last versions both on phone and one server. I tried on 2 different networks and on mobile network: same issue. Let me know how I can provide more information that can help. Edit: It seems to be stuck on a video, but previous and similar videos worked without a problem
Author
Owner

@alextran1502 commented on GitHub (Apr 11, 2022):

@notarobot63 Can you get me the metadata of the video? I.e file extension, file size...etc? Is this video something you can share? Is your phone Android or iPhone?

@alextran1502 commented on GitHub (Apr 11, 2022): @notarobot63 Can you get me the metadata of the video? I.e file extension, file size...etc? Is this video something you can share? Is your phone Android or iPhone?
Author
Owner

@notarobot63 commented on GitHub (Apr 11, 2022):

@alextran1502 Nevermind I'm not sure that this file is the problem as I'm not sure it's the one beeing backuped. If I read you correctly Immich backup files chronologically, but I'm missing files after Feb 27, 2022 and no more backup before this date. Not sure on how to debug this

@notarobot63 commented on GitHub (Apr 11, 2022): @alextran1502 Nevermind I'm not sure that this file is the problem as I'm not sure it's the one beeing backuped. If I read you correctly Immich backup files chronologically, but I'm missing files after Feb 27, 2022 and no more backup before this date. Not sure on how to debug this
Author
Owner

@alextran1502 commented on GitHub (Apr 11, 2022):

@notarobot63 can you check in your photo gallery app of your phone what is the next asset right after the last asset that is shown on Immich's timeline?

What is your phone model?

@alextran1502 commented on GitHub (Apr 11, 2022): @notarobot63 can you check in your photo gallery app of your phone what is the next asset right after the last asset that is shown on Immich's timeline? What is your phone model?
Author
Owner

@notarobot63 commented on GitHub (Apr 11, 2022):

Nevermind, client_max_body_size on my reverse proxy solved it. Sorry I didn't thought about it before.

@notarobot63 commented on GitHub (Apr 11, 2022): Nevermind, client_max_body_size on my reverse proxy solved it. Sorry I didn't thought about it before.
Author
Owner

@alextran1502 commented on GitHub (Apr 11, 2022):

@notarobot63 No problem, I ran into that issue a while back as well :) I am glad it is working for you!

@alextran1502 commented on GitHub (Apr 11, 2022): @notarobot63 No problem, I ran into that issue a while back as well :) I am glad it is working for you!
Author
Owner

@alextran1502 commented on GitHub (Apr 25, 2022):

I am closing this issue, if you have any further questions, please reopen this issue.

@alextran1502 commented on GitHub (Apr 25, 2022): I am closing this issue, if you have any further questions, please reopen this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#49