I
Immich•3y ago
Shmoogy

iOS foreground upload crashes app continuously

I setup immich server, redis, and postgresql on my Unraid server. While trying to upload my 44k images the app continuously crashes. As far as I can tell it's kind of random - I've gotten through approximately 2500 images/videos successfully. iOS app and server are both up to date, phone is iPhone 14 pro. Is there any way I can provide better guidance to help fix this bug ? I suspect it's happening in background more as well but my phone got ... very hot so I disabled it .
No description
25 Replies
Alex Tran
Alex Tran•3y ago
I am putting more logs into the app as well as a better way to share the log information in the next release I am hoping to have more insight into this at the meantime, can you trigger the foreground backup and let me know if it works as expect?
Shmoogy
ShmoogyOP•3y ago
Foreground backup is what is crashing 😦 it's intermittent unless the upload order is randomized
Alex Tran
Alex Tran•3y ago
Ah I see thank you, sorry for the inconvenient I am probably pushing new update tonight so tomorrow we can look more into this issue with bettter info
Shmoogy
ShmoogyOP•3y ago
No worries. Sounds good I will look out for an update and try to provide whatever logging I can do
Shmoogy
ShmoogyOP•3y ago
@Alex hi! I updated and got the new logging. Still crashing on foreground upload. Please let me know if I can do anything more to help
No description
No description
Alex Tran
Alex Tran•3y ago
Thanks, this is very helpful. I didn't have any info to fix this last time, now I do 😄 Let's see if I can track down the bug
Shmoogy
ShmoogyOP•3y ago
Sure thing. Let me know if you have a test flight for any intermediate updates - idk how App Store updates go but I can assist in testing as I can reliably reproduce it
Alex Tran
Alex Tran•3y ago
There is a test flight setup for public sining up but I have been lazy to push it 😄 Can you help me confirm that the time of the crash is the time of the error log? I just want to make sure I am chasing the correct bug
Shmoogy
ShmoogyOP•3y ago
So I did it twice clearing logs. Interesting thing is the null isn't crashing it but I'm not 100% sure it's this either
Shmoogy
ShmoogyOP•3y ago
No description
Shmoogy
ShmoogyOP•3y ago
Going to try one more. It ran for approx 3 mins before crashing
Alex Tran
Alex Tran•3y ago
Can you help export the log? the export function should be fixed
Shmoogy
ShmoogyOP•3y ago
How do I upload a text file here lol
Alex Tran
Alex Tran•3y ago
You export the file and just upload the file here or using the share symbol in the native dialog pop up to Discord
Shmoogy
ShmoogyOP•3y ago
Thanks
Alex Tran
Alex Tran•3y ago
Thanks
Shmoogy
ShmoogyOP•3y ago
Let me clear logs and do one more
Shmoogy
ShmoogyOP•3y ago
Last thing was asset state set again
Alex Tran
Alex Tran•3y ago
Okay thank you
Shmoogy
ShmoogyOP•3y ago
@Alex have a fun update for you. I updated the app and server component and it was still crashing - went to enable logging and it crashed still - but I didn't see any good errors other than out of memory . I updated to the most detailed level of logging and it stopped crashing.. ran over 1k uploads. I have to charge and let the phone cool down but will try later again
No description
No description
Alex Tran
Alex Tran•3y ago
Can you click on one of the out of memory error and copy the stack trace?
Shmoogy
ShmoogyOP•3y ago
Sorry I had cleared it as I was testing several things. I'm running into a lot of weirdness when I enable logging and have various states set. Some cause the to hang - the app becomes unresponsive (when at uploads can't hit the < to go back, BUT sliding left does take back to the images but they never load. What I can reproduce right now appears to be an issue that crashes my version
No description
No description
Shmoogy
ShmoogyOP•3y ago
Also getting a lot of these
No description
No description

Did you find this page helpful?