I
Immich3d ago
Accia

Automatic sync directly from iCloud

Hi there, i was wondering if there's an utility to sync media directly from icloud without "passing by" the app, something server side/site side which allows the user to log in on iCloud and automatically sync the media uploaded on iCloud so that it's not necessary to do it from the phone
25 Replies
Immich
Immich3d ago
:wave: Hey @Accia, 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Xiticks
Xiticks3d ago
So you don't want to use Immich app at all? Just syncing based on what's on icloud? icloudPD might be your best shot, using external libraries in Immich
Accia
AcciaOP3d ago
Kind of, it's been a few months since the app has automatically uploaded medias on the background, so I want to catch up on the media that hasn't been uploaded in the meantime, however i still want to use the phone, and not leave it unlocked with the foreground backup going
Xiticks
Xiticks3d ago
Do you have that many photos? You could use the beta timeline which allows parallel upload, so it should be fast (if you're on your local network, or have relatively fast internet)
Accia
AcciaOP3d ago
7k main problem is having the storage full on the iphone, as i noticed that the sync gets stuck very often after uploading a few medias So i figured syncing stuff from icloud directly would be less of a hassle phone wise
Xiticks
Xiticks3d ago
oh yeah, your assets are on icloud not on the phone (I suppose) so it has to dowload them to upload them
Accia
AcciaOP3d ago
yep
Xiticks
Xiticks3d ago
Well you can try IcloudPD on your computer so you can dowload all your photos from Icloud, then upload them on Immich with immich-go I'm not sure how it would work on the app side though, as it will still need to get the hash of the photos to check if it need to update them
Accia
AcciaOP3d ago
Mh ok, one last thing, has the background sync improved at all (as in media syncing without opening the app at all)? It never really worked for me I had kind of abandoned the app ever since v 1.127 or so since it wasnt working and just updated to 1.132
Xiticks
Xiticks3d ago
I know they are working on it with the beta timeline It is now handled by the OS, so it should be better
Accia
AcciaOP3d ago
ewven thought i doubt it's server side stuff
Xiticks
Xiticks3d ago
For now, it can't put your photos in the queue without opening the app So you have to open it from time to time, this ways in create the asset queue, Then this asset queue is "given" to the OS so it manages the upload
Accia
AcciaOP3d ago
Ok thanks for the infos
Xiticks
Xiticks3d ago
You should try it (after updating to the latest on both server and app side) It can be disabled easily
Accia
AcciaOP3d ago
no idea how to switch to the beta timeline tho, i'll look into it app and server should be updated
Xiticks
Xiticks3d ago
yes for the beta timeline to work properly both should be on the same version And for it to show, the server has to have it supported inside your immich app -> profile pic -> settings -> 1st option
Accia
AcciaOP3d ago
Ah ok thnaks Btw i suppose syncing stuff directly from icloud would have the same effect as syncing it from another phone with the same icloud acc Which is what i did in the first place to sync 30k photos/videos I thinks i'll go with this route again
Xiticks
Xiticks3d ago
Yes, I suppose "same effect" wdym?
Accia
AcciaOP3d ago
Rehashing all the photos on the main device and sadly not displaying the correct count of media (overall), since it only counts the photos/videos uploaded from that device but faster than doing it all on the main phone
Xiticks
Xiticks3d ago
Your phone would still have to dowload every photos to hash them, it just won't upload them If I understand correctly how it is supposed to work There is a plan to fix that, but it's not yet implemented
Accia
AcciaOP3d ago
it might hash them directly from icloud, i havent had to wait that much at all to start syncing on the main phone
Xiticks
Xiticks3d ago
Maybe it hashes from the "light photo" I'm not a an Immich dev so I don't exactly know how it works, sorry
Accia
AcciaOP3d ago
might be anyways thanks a lot for the help
Xiticks
Xiticks3d ago
No problem!
Immich
Immich3d ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?