-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
iOS app crashes during upload #54
Comments
Hey @simonliu99, What was the length of the video and was the video recored from your phone or you downloaded else where? Thanks |
Video is 4:29 minutes long, taken on a DJI Mini 2 but transferred to my phone. Source shouldn't be an issue as it uploaded a 1:04 long video from the drone just fine. |
Do you know the raw file format of the video? I've seen some instances that uploading the files that were not taken with the phone that caused some error because the file encoding cannot be read by the decoder. I will look more into this once I have more information from you. |
Looks to be .mp4 H.264, I'll try to grab some logs in Xcode |
Here's the console logs using search "immich"
|
Hmm, the console log is different from the crash log. Although from the look I see this
Would it be possible for you to share the video that cause the crash? that would be the best way to reproduce the scenario. If not, we will find another way. |
You can find the video here: https://www.dropbox.com/s/etv3brwlxlasadw/Video%20Mar%2013%2C%206%2042%2011%20PM.mp4?dl=0 |
Thanks, I will load it to my phone and let you know what I find. |
This is strange. I downloaded and airdropped the video to my phone. I am running the latest release on the app store and I could upload the video just fine. What model is your iPhone? Did the app crash when you start uploading that video or after it reached 100% or during the uploading process? |
That is strange, I have an iPhone Xs Max on the latest version of iOS. The app would crash after a couple percent of upload. I can try on another device to see if it is isolated to my device. |
Welps, it worked on an iPhone 8 Plus. Guess it's just my device then. |
I am glad it is working on other phones. Weird though, I don't like problem like this where it is device's dependence since I don't have the device to troubleshoot 😓. I am closing the issue now, if you encounter any other problem, feel free to reopen it |
Hey guys I'm having the same issue as Simon on 2 seperate phones..
I've managed to back up over 400 photos but now the app is consistantly crashing when it hits 1% upload on the next file😞 (Happy to attach logs but no idea how to find them!) |
Hi @boffnoff, Does the app crash on both devices? Since the backup is in chronological order, can you chase down the file that is going to be backup by looking for it from your phone gallery and see what it is? |
Yup. I'm pretty sure the next file queued for upload is a 7.67Gb video I took. It's 4K 60fps Dolby Vision HEVC video if that helps? |
@boffnoff I assume this is the video taken from your iPhone, correct? Were you able to get the log from the server container when you start the upload process? |
I'm also still running into this issue on my iPhone Xs Max. There aren't any details in the container logs besides the client disconnecting so it seems like potentially an app issue.
|
Yeah, I assume this is the large file problem, there is a timeout for reading the video file before uploading, I set it for 5 seconds. I think this is the issue. I will load the video onto my phone and take a look at the problem. |
Yup took the video on the iPhone 13 Pro, no effects/filters or anything applied. In fairness the Immich iOS app was able to upload a separate 3Gb video I also took on the iPhone perfectly fine! Is there a maximum upload file size limit?
|
@boffnoff Not really, I set the max size that can be accepted as 50GB. So this should work, I haven't been able to put the video on my phone yet. Too large to transfer via air drop T_T |
App crashes occasionally when uploading long(er) videos, no errors on server side. I have "Share With App Developers" enabled so you might be able to see crash logs but I'm not sure how to collect them myself.
The text was updated successfully, but these errors were encountered: