Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
thefirstofthe300 opened this issue Apr 5, 2022 · 15 comments
Closed

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

thefirstofthe300 opened this issue Apr 5, 2022 · 15 comments

Comments

@thefirstofthe300
Copy link

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?

@thefirstofthe300 thefirstofthe300 changed the title [BUG] [BUG] Backup in upload loop on specific asset Apr 5, 2022
@Eidenz
Copy link
Contributor

Eidenz commented Apr 5, 2022

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

@alextran1502
Copy link
Contributor

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

@alextran1502
Copy link
Contributor

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

@Eidenz
Copy link
Contributor

Eidenz commented 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.

@alextran1502
Copy link
Contributor

@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?

@Eidenz
Copy link
Contributor

Eidenz commented Apr 6, 2022

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

@alextran1502
Copy link
Contributor

@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?

@Eidenz
Copy link
Contributor

Eidenz commented Apr 6, 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

@notarobot63
Copy link

notarobot63 commented 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

@alextran1502
Copy link
Contributor

alextran1502 commented 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?

@notarobot63
Copy link

@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

@alextran1502
Copy link
Contributor

@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?

@notarobot63
Copy link

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

@alextran1502
Copy link
Contributor

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

@alextran1502
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants