#Android app access to albums/folders restricted through bad android permissions GIT #16020

1 messages · Page 1 of 1 (latest)

visual sluice
dull groveBOT
#

:wave: Hey @visual sluice,

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

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :ballot_box_with_check: 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.

tight ice
#

@visual sluice Thanks a lot for opening a help desk thread. Did you always have this issue or is this something from a recent app update? If it used to work in a previous version, do you happen to know when you started experiencing this issue?

visual sluice
#

@tight ice Happy to help. Indeed this is from a app update. I had no issues with earlier versions. I started using Immich arround the end of december 2024. The exact version I used at that time, I do not remember. I guess it would be around v1.123.0.

tight ice
#

Also, I'd give you a test apk from the library we are using. Would you mind checking if you face the same issue there as well?

visual sluice
#

sure, I would love to try

tight ice
#

@visual sluice Can you install this APK, go to advanced usage -> gallery list and check if all the assets are listed? You can play around with the filters in the gallery list as well. Once all the photos are listed, can you share me the list of filters used.

visual sluice
#

@tight ice could it be that part of the issue is in what is writen in the permission menu? the subtext 'accessed in past 24 hours'?

tight ice
visual sluice
#

@tight ice Without change of filters or with change of filters, I see only what is currently available in the immich app. This happens in menu 'gallery list'. If I use a 'custom filter example' --> 'custom filter with sql' I am able to see all assets.

#

Sometimes I get this message

tight ice
#

That is super helpful. Thank you!

#

Can you go to gallery list -> Change filter options, and change the start date to an older time, and test?

#

Enable ignore size with image and need title option as well

visual sluice
visual sluice
woven veldt
#

Hey, I was one of the others that had the same Problem. Is further help still needed?

tight ice
woven veldt
tight ice
#

@visual sluice Do you mind me creating an issue in the library to check with the maintainers for this inconsistency by including your screenshots for reference? Do you also mind sharing your device specifications for the issue

visual sluice
#

I do not mind! Lets go, I want a fix 🤩. My device info is already in the GitHub issue, if I remember correctly. But to be sure: motorola edge 20 pro, android 13. Or do you need more detailed information?

tight ice
visual sluice
tight ice
tight ice
#

@visual sluice / @woven veldt Apologies for the ping. But can one of you install the following debug build (It can be installed alongside the production app), in the login page, go to setting -> advanced -> and enable the "use alternate device sync filter" option, come back to the login page, double tap the logo to login to the demo instance, and check if you can find all your local albums listed in the backup albums page?

dull groveBOT
fervent bolt
#

Uh, although, on the normal app, clicking that button shows them all

tight ice
#

Can you select the album for backup in the debug app and check if the timeline is populated with all of your assets? The normal app should have a different count for your camera folder when compared with the debug app, or are they the same?

fervent bolt
#

(normal app)

tight ice
#

Can you select recents in the debug app and check the timeline as well?

fervent bolt
visual sluice
#

@tight ice I will check, but am searching for time. I will tag you when I have tried

visual sluice
#

@tight ice Downloaded the debug build from the link in discord. Followed the instructions to try alternate device sync option. See image for result, it is stuck on the searching for local albums

tight ice
visual sluice
#

@tight ice With logging on 'fine', the above image could maybe help

#

The logs are telling me that indeed more local albums are found, however they are not shown in the backup window

tight ice
#

Thanks for testing it, the change is merged but it probably might not help you. I am currently working on rewriting the entire sync logic for a future release. I believe it might be addressed then. Fixing this in the current codebase is sadly not trivial

balmy zenith
visual sluice
#

@balmy zenith I do not mind. What do you wish me to do?

#

I have downloaded the .apk but did not install it yet

tight ice
visual sluice
vapid summit
#

I have the same problem since 3 weeks. The App don't show all folders.
When I try the fix-album-querying apk the log shows that they found 39 albums but stocks at loading. Without the special option it says 6 folders.
@alex.tran1502
@tight ice
I attached my log

balmy zenith
vapid summit
#

Yeah. That is the special option that I mentioned.
With this setting the log show 39 albums but stucks with the load circle.

balmy zenith
#

Can you help capture a screen recording?

vapid summit
#

I've already waited several times for over 30 minutes and more but it is still hangs when loading the folders with the setting.
A new installation of the app has already been made and a reset too.
Nothing helps.

balmy zenith
#

And do you see any album without that experimental settings turned on?

vapid summit
#

Without the experimental setting, only I see 6 folders. None of the 6 are of interest.

tight ice
spare fog
balmy zenith
spare fog
#

Nope, actually it’s mainly the “Camera” folder of which I see only the last 12 photos, instead of ~3000. The device is a OnePlus Nord 2, with Android 13

balmy zenith
#

hmm

spare fog
#

Also, all photos taken after installing the app can be seen. And now that I’m noticing, on the app I see exactly 2 weeks before of the app installation date

#

So it looks like a “limited library permission”, I don’t know if that’s the case or it’s just a coincidence

balmy zenith
#

hmm, can you try allowing all

spare fog
#

Yeah I’ve tried searching for something like this, but there no such setting. I can only allow or deny, without more restrictions

fervent bolt