immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
38.73k stars 1.83k forks source link

Android app crashed when viewing shared album #10139

Open DaanHend opened 3 weeks ago

DaanHend commented 3 weeks ago

The bug

I have a shared album (800ish images) where its around 50/50 my photos and that of the other shared account. When I view that album on my phone it works the first seconds scrolling etc. Then it start getting slower and laggier till it just freezes the whole app and eventually crashes. It does even do it when I just open the album and dont do anything. It will crash/close the app after 20 seconds orso.

Note: checked the mobile version just now. And I see that my tailscale even crashed.

I've seen some troubles when I was on holiday and the album wasnt that big. But I didnt really pay attention to it after coming back from holiday and the album is filled.

The OS that Immich Server is running on

dsm 7

Version of Immich Server

v1.106.1

Version of Immich Mobile App

v1.106.1 build.142

Platform with the issue

Your docker-compose.yml content

Compose should not matter as it's not related I think. its really basic one. I saw also the breaking changes and applied them correctly for v1.106.1

Your .env content

Env. should not matter as it's not related I think. its really basic one.

Reproduction steps

1. Create album with 400 images
2. Share with other account
3. Let that account also add 400 images.
4. access album from main account on android app and use it.
5. After 20/30 seconds it stops. Maybe more beefier mobile takes longer. not sure. 

Relevant log output

Last log detail i could find on finest before crash:
connect attempt will timout after 20000

Additional information

I scrolled through the webapp and the album. It just works there.

Using Pixel 7

alextran1502 commented 3 weeks ago

You don't need the finest log, debug log, or normal log should work. Can you try to reproduce then export the log and include it here

DaanHend commented 3 weeks ago

Here you go: Immich_log_2024-06-11T17_20_39.938345.log

Timestamp 17:18 is when I cleared the log and after that entered the album. 17:20 is after crashing and opening the application again.

DaanHend commented 3 weeks ago

Is it something you can recreate Alex or somebody else? I cant test on a different way, so I do not know if its related to myself or if its an actual bug.

alextran1502 commented 3 weeks ago

I will get to this one eventually

DaanHend commented 12 hours ago

Update from my side to add to the issue: I moved the thumbnails folder to a ssd. Retrieval & loading of thumbnails is better. The app seems to handle it better now, but crashes after a while. It seems it cant handle the blurry images before thumbnail loads. Because having the thumbnails loaded seems to make the experience smooth again.