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

App Non Functional After 1.123.0 #14841

Open
1 of 3 tasks
TransRapid opened this issue Dec 21, 2024 · 10 comments
Open
1 of 3 tasks

App Non Functional After 1.123.0 #14841

TransRapid opened this issue Dec 21, 2024 · 10 comments

Comments

@TransRapid
Copy link

TransRapid commented Dec 21, 2024

The bug

App does not work at all aside from background backup. Constantly freezes up on launch if it opens. Cache has been cleared. App deleted, phone rebooted, then installed again. This issue started with this version.

Albums also fail to populate from the server. Timeline loads, but scroll causes freeze and then black screen.

Search causes instant freeze and then everything disappears and goes black. Server works perfectly fine, web app on the same device fine as well. Issue seems to be with this release.

The OS that Immich Server is running on

Android 14 November 2024 Security Update

Version of Immich Server

v1. 123.0

Version of Immich Mobile App

v1. 123.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

NA

Your .env content

NA

Reproduction steps

  1. Open App
  2. Tap or scroll.

...

Relevant log output

No response

Additional information

Issue started with v 1.123.0
Sony Xperia Mark 1 V
Over 68% available space free.
Unrestricted power usage. Occurs locally and over WAN.

Seems that on airplane mode the app doesn't freeze. Otherwise it is useless at this point. 3TB library. Forgot to include that.

Excessive battery drain as well. Full permissions for the app. Nothing withheld. No error logs.

@alextran1502
Copy link
Contributor

Can you try using the APK from this release to see if you are experiencing the same issue? https://github.com/immich-app/immich/releases/tag/v1.122.3

@alextran1502
Copy link
Contributor

alextran1502 commented Dec 21, 2024

Please help me do this. When you open the app, can you wait until the spinning icon at the bottom app bar stops spinning before using any action? I would class this issue as an optimization issue for a large library.

Please also try to use the local IP

@TransRapid
Copy link
Author

TransRapid commented Dec 21, 2024

This seems to be a thing where the app doesn't function until my entire library is cached. That is pretty unrealistic. Hopefully that gets fixed as it eats a ton of battery doing this.

Outside of the issue, timeline and library loading is one area that needs a lot of work as far as the app goes. Even when the app works, the timeline takes way too long to load. It is always considerably slower than other hosted solutions as far as the app goes. Loading the web version on the same device is always faster to the point I only use the app for backup and use the web version for everything else.

Obviously the benefits of Immich overall outweigh these annoyances, and the simple workaround is just using the app for nothing but backup.

@TransRapid
Copy link
Author

TransRapid commented Dec 21, 2024

Can you try using the APK from this release to see if you are experiencing the same issue? https://github.com/immich-app/immich/releases/tag/v1.122.3

Instant fix. Albums still refreshing, but refreshing not freezing.

I can check sever logs and try doing the same to compare differences. Didn't have errors when I looked though. No app errors either.

Also this is faster than I have ever had the timeline load, especially given I cleared everything data wise prior to installing this.

I was on 1.122.1 or 1.122.2 after I updated the server and it worked fine. It was after updating the app that issues began, so it really threw me off when I went to 1.122.3 prior app release and it didn't fix the issue, but I just now realized I went back to 1.122.3 not to the versions prior.

What is different about this, it literally now the same speed as other hosted solutions.

@alextran1502
Copy link
Contributor

I find it very strange that the APK works but the latest version doesn't I believe we did not changing anything that could have affected what you observed 🤔

@alextran1502
Copy link
Contributor

If you don't mind, please try to use the APK in the latest release and see if it makes a different https://github.com/immich-app/immich/releases/tag/v1.123.0

@TransRapid
Copy link
Author

Please help me do this. When you open the app, can you wait until the spinning icon at the bottom app bar stops spinning before using any action? I would class this issue as an optimization issue for a large library.

Please also try to use the local IP

I did try just waiting for it to stop spinning and it still freezes after a moment, then becomes unresponsive, goes black, and I can't gracefully exit.

I didn't try the local IP. and actually, but it does the same behavior locally on the same network when using FQDN with loopback/local.

I thought the same too. I left it plugged in, and on Wi-Fi overnight and during the day and it still crashed. I can try to reproduce with a smaller test library.

By optimization do you mean within PSQL? I actually forgot about that and might need to take a look at those settings, but what is weird is the web app runs it perfectly fine.

@alextran1502
Copy link
Contributor

Optimize of how the sync mechanism works on the mobile app. The web app and the mobile app use different rendering and data sourcing techniques since the mobile app also supports offline mode, so it has its own database. So that there is an overhead in keeping the data synchronized between the server and mobile databases.

We have a plan that will improve it, though, which we want to start work on after some other PRs merge.

However, the current issue is that it works fine on the previous version, not on the latest one.

@TransRapid
Copy link
Author

TransRapid commented Dec 21, 2024

Looking forward to those changes, obviously these are the sorts of things you run into as software is under very active development, but overall stability has been pretty good. Tradeoffs are more positive than not, hence I was willing to work around, because ultimately there are far fewer limitations with this, and I'm not wondering where or who has my data, and at their mercy. It was a bit unexpected to have that non functional app to where I couldn't even go into setting menu.

More surprising is how much faster that works though, and the noticeable difference in phone temperature as well as battery. I can duplicate the 1.123.0 release to have a secondary install and test different versions with a smaller test library and see how that does.

Going to keep this 1.122.3 APK you linked installed for now, but I can also install any number of alternate versions concurrently with no impact to each other.

Let me know what you might want to get a better picture. Going to try 1.123.0 with IP rather than host name.

If you want library specifics I can get those too and put in the original report. Forgot to do that initially.

I'm not sure if it's item count or size, but I imagine count is more problematic, the fact it worked before but not after was weird to me.

@TransRapid
Copy link
Author

Looking forward to those changes, obviously these are the sorts of things you run into as software is under very active development, but overall stability has been pretty good. Tradeoffs are more positive than not, hence I was willing to work around, because ultimately there are far fewer limitations with this, and I'm not wondering where or who has my data, and at their mercy. It was a bit unexpected to have that non functional app to where I couldn't even go into setting menu.

More surprising is how much faster that works though, and the noticeable difference in phone temperature as well as battery. I can duplicate the 1.123.0 release to have a secondary install and test different versions with a smaller test library and see how that does.

Going to keep this 1.123.3 APK you linked installed for now, but I can also install any number of alternate versions concurrently with no impact to each other.

Let me know what you might want to get a better picture.

If you want library specifics I can get those too and put in the original report. Forgot to do that initially.

I'm not sure if it's item count or size, but I imagine count is more problematic.

Update

Albums all populated as intended on the 122.3 APK. 123.0 that is installed concurrently remains the same. I forgot I can't text via IP because of firewall rules I have setup, but my router can locally resolve my DNS without leaving my network.

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

2 participants