I
Immich2w ago
pono

Discrepancy between iOS shared album and synced album

I'm so happy that Immich can create albums on the server from a shared iOS album. But I'm seeing a discrepancy between the number of photos locally in iOS and in the Immich album. I have tried reuploading all photos manually to the album but that doesn't seem to work :/ Any advice for forcing a sync between the shared album on iOS and the Immich album?
No description
No description
41 Replies
Immich
Immich2w ago
:wave: Hey @pono, 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. :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. :ballot_box_with_check: 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.
pono
ponoOP2w ago
iOS 1.142.1.build.224 server: 1.142.1 plenty of storage space left, no changes made to immich or my system
Immich
Immich2w ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Alex Tran
Alex Tran2w ago
How many assets do you see when selecting that album for backup?
pono
ponoOP2w ago
962. But there are only 592 that show up in the Immich album
shenlong-tanwen
Can you check the mobile app logs and see if you can find any errors there? Also, do you mind sharing them here
pono
ponoOP2w ago
Looks like there are some remote-sync errors (others too but that sounded most relevant) One of the weird things is that I tried to just directly upload some of the pictures to the album and it recognized them as duplicates but didn’t change the count for how many items where there
shenlong-tanwen
Hold on, Can you go into the Library tab -> On this device -> Then open this particular album and see if you can find anything with a crossed cloud icon?
pono
ponoOP2w ago
Looks like everything in there has a Cloud ✔️
shenlong-tanwen
Can you find duplicate assets in there? It could be that you have 370 duplicates within the album that are ignored by the server as duplicates
pono
ponoOP2w ago
It doesn’t look like there are any (and certainly not 370) duplicates in there :/
shenlong-tanwen
Let's try this then, Can you go into the app settings -> advanced -> enable the troubleshooting setting. Then from the same on this device -> album view, open an asset that you are sure is not on the server, swipe up and tap the advanced info icon there (should be the first one), and see if the newly opened page has a matching remote asset entry
pono
ponoOP2w ago
Enabled that setting, now trying to find an image that isn’t on the Immich album Yea, there is a remote asset entry
shenlong-tanwen
You can use the info on the remote asset entry to find the same asset on the web app
pono
ponoOP2w ago
interestingly, it shows that it should be in the album
shenlong-tanwen
Can you find the same asset inside the album on the web app?
pono
ponoOP2w ago
yeah, i've found one in the web app it isn't tagged to be in the album if there was an easy way to create a diff of the album on my phone and the remote one, i wouldn't mind going through and readding all the pictures to the album
shenlong-tanwen
I see, Can you go into the backup page -> top right settings icon -> then under the Sync albums setting, there should be an "Organize into albums" button. Can you tap that and see if that puts the asset inside the album?
pono
ponoOP2w ago
i've hit that before, but just repressed it
shenlong-tanwen
Make sure that the app can access the server when you use this action. Wait for it to complete and share the mobile app logs and we can check if there are some error reported during this process
pono
ponoOP2w ago
i'm connected (on the same local network) and the log says the Remote Sync completed
shenlong-tanwen
Can you check if that worked and the assets are put into the proper albums on the server?
pono
ponoOP2w ago
doesn't seem to. so interestingly when viewing a picture on the 'On This Device' album that is not in the Immich album, when I click Troubleshoot, it says the image isin the correct album but when i view it on the web, it does not have the same association oh i see, only the local asset says it's in the album
shenlong-tanwen
Yeah, we don't list the remote albums the asset is a part of there. If you don't mind repeating the same process, can you open the log view, clear everything there using the delete button, close and reopen the app, use the same "Organize into albums" button, wait for it to complete and share the new mobile logs here?
pono
ponoOP2w ago
sure
pono
ponoOP2w ago
seems like there's some files that are in a wedged state (not related to the album I care about), which might be preventing something from working
shenlong-tanwen
This is indeed odd, We can add some additional logs to this process to better troubleshoot this :monkaHmm:
pono
ponoOP2w ago
no worries. i've got to take off to help with dinner rn anyways i'll try and dig up some more logs and post them thanks for all your help!!
shenlong-tanwen
We need to add this in the codebase and we can troubleshoot this after that is released. I'll see if we already have some fine logs on the app to troubleshoot this. Thanks for working through this
pono
ponoOP2w ago
no problem at all, your support has been incredible! thanks for YOUR help!
Alex Tran
Alex Tran2w ago
I think it could be artifact from the previous implementation, if you can, do you mind delete the remote album and try relink it?
pono
ponoOP2w ago
I deleted the album in Immich, then removed the Shared Album from backing up and reselected it and then synced. It brings it back with 571 items (not the expected 970). I'll try and do some more digging when I get some time to see if something weird is cached, and if there's anything particular about the photos it is not adding to the album.
Alex Tran
Alex Tran2w ago
usually if there is such discrepancy, the missing photos could be in the trash?
pono
ponoOP2w ago
When I select Troubleshoot on the mobile app for an item that is local but not in the remote album, there is no Local ID. Is that expected? there is a Remote ID, so it's on the server. just not associated with the album
shenlong-tanwen
A local asset should always have a local ID. What icon does the asset have? A cloud crossed icon or cloud only icon?
pono
ponoOP2w ago
cloud with a check mark when i do Library -> On this device -> $ALBUM, all the items have a check mark. but when i view the album, i'm missing ~300 items. So they are on the server, just not getting matched into the Immich created album
shenlong-tanwen
Can you update the app, set the log level to fine, then go into the backup settings page, tap the "Organize into albums" button and share the mobile logs after the process is completed?
shenlong-tanwen
:monkaHmm: We could run some queries against the local SQLite DB to see what's actually happening. Can you export it to your desktop and ping me?

Did you find this page helpful?