I
Immich2mo ago
Thrawn

how often does immich query android albums?

I've been using Immich for about 6 months now. I have it set to do an auto-upload from only one Album on my Android device. I take pictures that I want to be in that album, inspect them, then if I like em, manually move them into the album that I've pointed Immich to. However, I've noticed that after I move the photos/videos into that album, then go into Immich, the upload doesn't happen. When I look at the mobile app's list of albums, the "count" of items in the album is still the previous count, before I did the move. So I'm wondering, how frequently does Immich "query" the albums to see if new items have been added? Note: i do have a workaround of going to settings -> Sync Status -> and then running sync local and hash asset. This makes the Count increment up to the right amount. Then I need to quit the app, then go back in. THEN at long last, the upload happens. Not super convenient though, since I'd rather it be as simple as "put photo in this particular album, then Immich ingests it" Note #2: This only started happening on the New Timeline (now the default) - when I first started using Immich on my phone on the previous/old timeline system, the background auto-upload from selected album, worked fine. My wife, ironically, with her iPhone, has no problems in this regard (I know everyone's been talking about background upload on iOS - yes, her background upload is as broke as the rest of yours, but at least it does upload fine when she opens the Immich app on her iPhone). For me on Android, I didn't think I'd have this issue, but it mostly seems to be about the lack of querying the albums...?
9 Replies
Immich
Immich2mo ago
:wave: Hey @Thrawn, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Thrawn
ThrawnOP2mo ago
Right yes - sorry of course, I'm on 2.1.0 for both Server and Mobile application.
Alex Tran
Alex Tran2mo ago
There is an issue currently that if you are moving the asset between album, the app does not pick up the changes unless you go to App Settings > Sync Status then press on Sync Local It is an easy fix however we are testing the fix to make sure it does not lock up the device’s database
Thrawn
ThrawnOP2mo ago
Thank you Alex! Great to hear it from The Man himself 🙂 is this being tracked with a particular issue # - if so i will watch for it in future release notes (which I always read and enjoy)
Alex Tran
Alex Tran2mo ago
You can track it here #23323
Immich
Immich2mo ago
[Pull Request] fix: fully sync local library on app restart (immich-app/immich#23323)
Thrawn
ThrawnOP3w ago
awesome! Unfortunately after updating both android app and server to 2.3.1 and doing my usual personal workflow (take pictures, move certain photos to the immich-sync'd album on phone) the same behavior continues - only a Sync Local makes the app actually notice the immich on-device album has updated and actually start the upload. Darn, looks like 23323 may not have been the fix for this 🙁
Alex Tran
Alex Tran3w ago
the full sync run when the app is killed and reopen I assume you just keep the app in the background?
Thrawn
ThrawnOP3w ago
Running in the background? Yes, of course. I haven't made any changes to the default settings of the Immich app in that regard. Re Android itself, I gave the app the "unrestricted" power profile to make sure it wouldn't be limited. As a user, I'd hope to just have immich app running in the background, querying the list of monitored android photo albums for their photo count every reasonable amount of time - 30-60 seconds for instance. If it detects a difference from what it last saw, it queues an upload action. Obviously I'm not a programmer. Having an application do something as intensive as that even as little as once a minute may be a lot. Perhaps like what Google Play Services does, like how it reports gps location to an easy to access location rather than making apps query it directly in a computationally intensive way. Anyway, thanks for your time. So I should just expect to need to force kill the Immich app and reopen it every time I move a picture from the default camera album on my phone, to the one Immich is monitoring? And do that now after the patch, instead of Sync Local?

Did you find this page helpful?