[BUG] Stuck building timeline #639

Closed
opened 2026-02-04 21:36:44 +03:00 by OVERLORD · 30 comments
Owner

Originally created by @JasperVanEsveld on GitHub (Jan 31, 2023).

Describe the bug
Setup immich today, it worked nicely, could backup and view my photo's.

After sometime it prompted me to log back in (even though I checked stay logged in)
Now the timeline is stuck building, I can still search and view albums.

To Reproduce
Steps to reproduce the behavior:

  1. Open mobile app
  2. Close and wait till opening prompts login
  3. Building timeline no longer stops

Expected behavior
Maybe load for some time, and then display the photo's/videos

System

  • Phone OS [Android]: 13
  • Server Version: 1.43.1
  • Mobile App Version: 1.43.0 build 66
Originally created by @JasperVanEsveld on GitHub (Jan 31, 2023). **Describe the bug** Setup immich today, it worked nicely, could backup and view my photo's. After sometime it prompted me to log back in (even though I checked stay logged in) Now the timeline is stuck building, I can still search and view albums. **To Reproduce** Steps to reproduce the behavior: 1. Open mobile app 2. Close and wait till opening prompts login 3. Building timeline no longer stops **Expected behavior** Maybe load for some time, and then display the photo's/videos **System** - Phone OS [Android]: `13` - Server Version: `1.43.1` - Mobile App Version: `1.43.0 build 66`
Author
Owner

@JasperVanEsveld commented on GitHub (Jan 31, 2023):

Just checked if a phone restart would help, it did not.
Web view works fine

@JasperVanEsveld commented on GitHub (Jan 31, 2023): Just checked if a phone restart would help, it did not. Web view works fine
Author
Owner

@jrasm91 commented on GitHub (Feb 1, 2023):

I think I've experienced this myself. Does logging out and then back in change anything?

@jrasm91 commented on GitHub (Feb 1, 2023): I think I've experienced this myself. Does logging out and then back in change anything?
Author
Owner

@JasperVanEsveld commented on GitHub (Feb 1, 2023):

Oh yea, that fixed it thanks!

Think I will still leave this open, as it is still a bug.
But at least one with a simple work around :)

@JasperVanEsveld commented on GitHub (Feb 1, 2023): Oh yea, that fixed it thanks! Think I will still leave this open, as it is still a bug. But at least one with a simple work around :)
Author
Owner

@palitu commented on GitHub (Feb 13, 2023):

i too have had this issue

@palitu commented on GitHub (Feb 13, 2023): i too have had this issue
Author
Owner

@gfrabetti commented on GitHub (Feb 13, 2023):

Same here. Tried on my phone with 1k pics and It worked like a charm, but when I tried on my wife's phone with almost 30k pics it uploaded all fine (webview works 100%) but I'm stuck at building the timeline.

I tried restarting server, restarting phone, logging in and out...even tried logging in her account on my phone and it's all the same. When I check the logs on her account it's full of "Error while getting remote assets" errors.

@gfrabetti commented on GitHub (Feb 13, 2023): Same here. Tried on my phone with 1k pics and It worked like a charm, but when I tried on my wife's phone with almost 30k pics it uploaded all fine (webview works 100%) but I'm stuck at building the timeline. I tried restarting server, restarting phone, logging in and out...even tried logging in her account on my phone and it's all the same. When I check the logs on her account it's full of "Error while getting remote assets" errors.
Author
Owner

@jrasm91 commented on GitHub (Feb 13, 2023):

Often when there is a "Error while getting remote assets" error, it's due to the client/server being out of date. Make sure the server and mobile app are both up to date in this case.

@jrasm91 commented on GitHub (Feb 13, 2023): Often when there is a "Error while getting remote assets" error, it's due to the client/server being out of date. Make sure the server and mobile app are both up to date in this case.
Author
Owner

@erlenddahl commented on GitHub (Feb 16, 2023):

I just experienced this same bug myself. Both server and app were up to date. I was logged out because I had deactivated my network connection (I think), so I reconnected and logged in, and then it said "Building timeline" for a few hours before I found this issue. After logging out and in again, it built the timeline in about a second.

@erlenddahl commented on GitHub (Feb 16, 2023): I just experienced this same bug myself. Both server and app were up to date. I was logged out because I had deactivated my network connection (I think), so I reconnected and logged in, and then it said "Building timeline" for a few hours before I found this issue. After logging out and in again, it built the timeline in about a second.
Author
Owner

@alextran1502 commented on GitHub (Feb 24, 2023):

I've fixed this issue, please help me double check on the latest update 1.49

@alextran1502 commented on GitHub (Feb 24, 2023): I've fixed this issue, please help me double check on the latest update 1.49
Author
Owner

@jilles commented on GitHub (Mar 3, 2023):

I'm having this on server 1.50.1 and Android app 1.50.0 and about 150k pictures and 9k videos. Let me know what I can do to help debugging.

@jilles commented on GitHub (Mar 3, 2023): I'm having this on server 1.50.1 and Android app 1.50.0 and about 150k pictures and 9k videos. Let me know what I can do to help debugging.
Author
Owner

@SirBogner commented on GitHub (Mar 13, 2023):

Also seeing this bug on server version 1.50.1 and Android app 1.50.0.
It occured when I lost connect ion to WiFi whilst in app and I closed it to open it again.

One error which occurs a few times is:
MissingPluginException(No implementation found for method lastBackgroundFetchTime on channel immich/foregroundChannel)

Another error occured a single time:
HiveError: Box not found. Did you forget to call Hive.openBox()?

Logging out and logging back in is a working fix, although not perfect. Let me know if I can help in any other way.

@SirBogner commented on GitHub (Mar 13, 2023): Also seeing this bug on server version 1.50.1 and Android app 1.50.0. It occured when I lost connect ion to WiFi whilst in app and I closed it to open it again. One error which occurs a few times is: MissingPluginException(No implementation found for method lastBackgroundFetchTime on channel immich/foregroundChannel) Another error occured a single time: HiveError: Box not found. Did you forget to call Hive.openBox()? Logging out and logging back in is a working fix, although not perfect. Let me know if I can help in any other way.
Author
Owner

@alextran1502 commented on GitHub (Mar 29, 2023):

This should be fixed in the v1.52 release

@alextran1502 commented on GitHub (Mar 29, 2023): This should be fixed in the v1.52 release
Author
Owner

@wattsra commented on GitHub (Nov 18, 2023):

I'm getting this issue today on server version 1.87 and android app version 1.86 build 110

Is it a regression with the latest version?

@wattsra commented on GitHub (Nov 18, 2023): I'm getting this issue today on server version 1.87 and android app version 1.86 build 110 Is it a regression with the latest version?
Author
Owner

@Symbiot78 commented on GitHub (Jan 13, 2024):

seeing the same here on 1 iPhone. I've installed immich on 3 phones now and 2 just work. The last ( using my wife's account) just hangs there preparing timeline.

@Symbiot78 commented on GitHub (Jan 13, 2024): seeing the same here on 1 iPhone. I've installed immich on 3 phones now and 2 just work. The last ( using my wife's account) just hangs there preparing timeline.
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

I'm having this issue on my wife's iPhone, app version 1.96.0. Logging out and back in doesn't appear to work
should I start a new issue?

@figadore commented on GitHub (Feb 28, 2024): I'm having this issue on my wife's iPhone, app version 1.96.0. Logging out and back in doesn't appear to work should I start a new issue?
Author
Owner

@alextran1502 commented on GitHub (Feb 28, 2024):

@figadore Can you grab the log on her phone, did her phone finish the hashing process (circular loading icon on the bottom app bar)

@alextran1502 commented on GitHub (Feb 28, 2024): @figadore Can you grab the log on her phone, did her phone finish the hashing process (circular loading icon on the bottom app bar)
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

finish the hashing process (circular loading icon on the bottom app bar)

Not sure about this one, attaching a screenshot that hopefully answers the question(?)

image

Immich log Feb 27.csv

@figadore commented on GitHub (Feb 28, 2024): > finish the hashing process (circular loading icon on the bottom app bar) Not sure about this one, attaching a screenshot that hopefully answers the question(?) ![image](https://github.com/immich-app/immich/assets/3253971/bda88311-f4ba-4c69-93dc-7e418f769207) [Immich log Feb 27.csv](https://github.com/immich-app/immich/files/14428759/Immich.log.Feb.27.csv)
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

Here are some logs with more details
Immich logs debug Feb 27.csv

@figadore commented on GitHub (Feb 28, 2024): Here are some logs with more details [Immich logs debug Feb 27.csv](https://github.com/immich-app/immich/files/14428949/Immich.logs.debug.Feb.27.csv)
Author
Owner

@alextran1502 commented on GitHub (Feb 28, 2024):

@figadore There is an error of gathering the information of the album, I assume you have some assets on the server. Can you try kill the app and then open it again?

@alextran1502 commented on GitHub (Feb 28, 2024): @figadore There is an error of gathering the information of the album, I assume you have some assets on the server. Can you try kill the app and then open it again?
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

I assume you have some assets on the server. Can you try kill the app and then open it again?

There are a 267 assets, all from an external library. No albums created yet. I've killed the app multiple times, even uninstalled it

@figadore commented on GitHub (Feb 28, 2024): > I assume you have some assets on the server. Can you try kill the app and then open it again? There are a 267 assets, all from an external library. No albums created yet. I've killed the app multiple times, even uninstalled it
Author
Owner

@alextran1502 commented on GitHub (Feb 28, 2024):

@figadore are those assets on your account or your wife account? Did she select anything for backup on her phone?

@alextran1502 commented on GitHub (Feb 28, 2024): @figadore are those assets on your account or your wife account? Did she select anything for backup on her phone?
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

@figadore are those assets on your account or your wife account? Did she select anything for backup on her phone?

Nothing is selected for backup on her phone, and the assets are on my account. If those are the cause, I'd say the progress spinner is a bit confusing.

Going down that road a bit further (but maybe this should be a separate issue), I couldn't find the sharing setting for "Show in timeline" on the mobile app, and it doesn't appear to save when I toggle it in the web app (I toggle it, collapse the Sharing section, expand the sharing section, and it is untoggled again. I see nothing happening in the network tab, and nothing shows up in the js console).

@figadore commented on GitHub (Feb 28, 2024): > @figadore are those assets on your account or your wife account? Did she select anything for backup on her phone? Nothing is selected for backup on her phone, and the assets are on my account. If those are the cause, I'd say the progress spinner is a bit confusing. Going down that road a bit further (but maybe this should be a separate issue), I couldn't find the sharing setting for "Show in timeline" on the mobile app, and it doesn't appear to _save_ when I toggle it in the web app (I toggle it, collapse the Sharing section, expand the sharing section, and it is untoggled again. I see nothing happening in the network tab, and nothing shows up in the js console).
Author
Owner

@alextran1502 commented on GitHub (Feb 28, 2024):

@figadore Ah, then this explains the observation. Since the assets are on your account, they will not appear on your wife's account. The current mechanism means that you will have to choose an album for backup to display those local assets on the timeline.

Showing timeline on the mobile app can be toggle by visiting the partner's page view from the Sharing tab and click on the bottom at the upper right hand corner

@alextran1502 commented on GitHub (Feb 28, 2024): @figadore Ah, then this explains the observation. Since the assets are on your account, they will not appear on your wife's account. The current mechanism means that you will have to choose an album for backup to display those local assets on the timeline. Showing timeline on the mobile app can be toggle by visiting the partner's page view from the Sharing tab and click on the bottom at the upper right hand corner
Author
Owner

@figadore commented on GitHub (Feb 28, 2024):

@alextran1502 so the primary bug can be summarized as "Stuck 'Building timeline' when there are no photos to display" . Instead, it should show a message about "no photos" or "tap to upload your first photo" or something.

Since the assets are on your account, they will not appear on your wife's account.

This sounds like a secondary bug may be involved, where selecting "Show in timeline" for the partner sharing option does not work. It is still unclear whether this would prevent the initial bug from being encountered. For clarity, I'm talking about the feature mentioned in https://github.com/immich-app/immich/discussions/5692#discussioncomment-7850822 where the partner sharing photos should appear on the main timeline

@figadore commented on GitHub (Feb 28, 2024): @alextran1502 so the primary bug can be summarized as "Stuck 'Building timeline' when there are no photos to display" . Instead, it should show a message about "no photos" or "tap to upload your first photo" or something. > Since the assets are on your account, they will not appear on your wife's account. This sounds like a secondary bug may be involved, where selecting "Show in timeline" for the partner sharing option does not work. It is still unclear whether this would prevent the initial bug from being encountered. For clarity, I'm talking about the feature mentioned in https://github.com/immich-app/immich/discussions/5692#discussioncomment-7850822 where the partner sharing photos should appear on the main timeline
Author
Owner

@alextran1502 commented on GitHub (Feb 28, 2024):

@figadore Did you enable shared in timeline from her account, so that she can see your photos?

@alextran1502 commented on GitHub (Feb 28, 2024): @figadore Did you enable shared in timeline from her account, so that she can see your photos?
Author
Owner

@alextran1502 commented on GitHub (Feb 29, 2024):

@figadore Confirm that the show in timeline toggle is bugging out. Will push out a fix soon

@alextran1502 commented on GitHub (Feb 29, 2024): @figadore Confirm that the show in timeline toggle is bugging out. Will push out a fix soon
Author
Owner

@keesfluitman commented on GitHub (Jun 16, 2024):

Can confirm that anyone with no photos themselves gets this in a loop.

@keesfluitman commented on GitHub (Jun 16, 2024): Can confirm that anyone with no photos themselves gets this in a loop.
Author
Owner

@Piwochlap commented on GitHub (Jun 19, 2024):

Hi there, happened to me today on Android 13. The fix was, however, simple: just upload the first random photo. Thank you, Alex and other devs, for the fantastic app!

@Piwochlap commented on GitHub (Jun 19, 2024): Hi there, happened to me today on Android 13. The fix was, however, simple: just upload the first random photo. Thank you, Alex and other devs, for the fantastic app!
Author
Owner

@melyux commented on GitHub (May 11, 2025):

How do you upload a single photo? There's no upload button, Immich forces you to upload the entire album, and this happens while that local album is loading into the timeline even before uploading.

@melyux commented on GitHub (May 11, 2025): How do you upload a single photo? There's no upload button, Immich forces you to upload the entire album, and this happens while that local album is loading into the timeline even before uploading.
Author
Owner

@alextran1502 commented on GitHub (May 12, 2025):

@melyux choose the album that the asset is in. Don't press upload in the backup screen. Go to the main timeline and long press to select the asset you want to upload, there is an upload button at the bottom menu

@alextran1502 commented on GitHub (May 12, 2025): @melyux choose the album that the asset is in. Don't press upload in the backup screen. Go to the main timeline and long press to select the asset you want to upload, there is an upload button at the bottom menu
Author
Owner

@melyux commented on GitHub (May 12, 2025):

Ah okay, I had to force quit the app and open it and the timeline suddenly built all at once.

@melyux commented on GitHub (May 12, 2025): Ah okay, I had to force quit the app and open it and the timeline suddenly built all at once.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#639