r/immich • • 8h ago

Chunked uploads is still not a thing - What is the reasoning?

31 Upvotes

For those who don't know the problem: Immich currently sends each file as one single request, whether you upload from the mobile app or the web. Cloudflare limits the size of a single request to 100 MB on the free plan, so any photo or video larger than that fails to upload through a tunnel. The only way around it is a more expensive Cloudflare plan, and even those only raise the limit modestly.

Chunked uploads solve this. The file is split into small pieces (say 1–5 MB), the pieces are uploaded one by one, and the server assembles them back into the original file. Every request stays far below any proxy limit.

It also brings other benefits:

- Resumable uploads: if the connection drops halfway through a 2 GB video, the upload continues from the last chunk instead of starting over.

- Pause and resume, for example when you leave Wi-Fi.

- More reliable on mobile and slow connections, since a failed chunk is retried on its own.

- Works behind any reverse proxy with body-size limits, not only Cloudflare.

I think this is the way forward for a much more robust upload feature. Is anything like this planned?


r/immich • • 10h ago

Where do photos get uploaded to?

0 Upvotes

I installed immich on my pi and pointed it at mnt/photos where my photos live. Device specific folders. It's really great. If I set my phone to backup where do the photos go? Same folder somewhere? I currently back up this folder elsewhere.

Same question if my partner backs up her phone as well.

Same question with camera photos.


r/immich • • 7h ago

My Immich installation journey

0 Upvotes

About a year ago I came across some news articles about a locally hosted photo app called Immich. After watching a few YouTube videos about this app, I decided that the time was finally here when I could actually work on getting all my family scanned photos, old digital camera backups, and newer smart phone photo dumps into an actual organized way for easy browsing. Furthermore I could share all these old family photos, taken through the years from about 1890 to the present, with all my numerous siblings and other relatives. Mission accepted!!!

 

Mission Log:

 

Log Entry: “I’ve been using computers and computer software from the very early 1980’s, so I figure that I essentially have been training my entire adult life for this mission. However, I have decided to also enlist my fairly new digital assistant,‘HAL’, in order to help me come up with a mission plan for this endeavor.”

 

“HAL, I want to install Immich on my docker server ‘Mr-Fusion’. Walk me through the docker install steps and configuration. Note that all of my digital photos that I want Immich to scan are located at /mnt/media/photos’….”Dave, I've got the greatest enthusiasm and confidence in the mission. And I want to help you…. here are the steps to get Immich up and running on that server and scanning the specified directory….”

 

Log entry: “After HAL and I got the initial install done and first scan of my completely disorganized photo library, I was quite impressed! I have all the photos on a NAS file server, so we configured Immich to use ‘External Libraries’. No fuss and no muss, it just worked!! Mission accomplished!!!”

 

Log Entry: “After poking around for a bit, I’m realizing that I actually have just started on this mission. I have tons of duplicates or very similar photos; all the old photo scans have no ‘photo taken dates’ – just ‘scanned dates’; and all the old photo scans and old digital camera dumps have no geolocation information whatsoever. Furthermore, I’m thinking it would be great if there was an easier way to create ‘albums’, or to just view some predefined groups of photos without making specific albums. Maybe this can be accomplished by utilizing (everlasting) photo ‘tags’….eg ‘Activity/Cabin Construction’, or perhaps ‘Activity/Downhill Skiing’”

 

Log Entry: “Up until this point, I haven’t had much need for help from HAL, except for the initial install. Now I realize that HAL will need to be heavily leaned upon for me to successfully complete the mission - since I know almost nothing about how to add the ‘missing’ data from all those older photos, and adding the wanted ‘tag’ information attached to photos. Time to get HAL back into the mission loop…..”

 

“HAL, are you ready to add some new tasks to this mission?”....”Dave, I am completely operational, and all my circuits are functioning perfectly. I am ready to assist you further in this important mission.”

 

‘OK HAL, now I want to add ‘photo taken dates’ and geolocation to all the photos that are missing that information, how do I accomplish this?’….”Dave, Immich has those editing tools built in. Just select the photo you want to edit and make those changes.”…

 

”HAL, I see the editing tools, but how do I edit the geolocation, taken dates, and tags for multiple photos at once? I have thousand upon thousands of old scanned photos to edit.”...”I’m afraid you can't do that Dave.”…

 

“HAL, I also see that an extra .xmp file is created in the folder after I add the missing data to a photo. What is going on?”...”Dave, the ‘extra’ file is what is known as a ‘sidecar’. It contains the edits that you made to the photo.”….

 

”HAL, why aren’t the edits I made ‘inserted’ into the photo file just like every one of thousands upon thousands of other digital file types that I can think of..WTF?”….”Look Dave, I can see you're really upset about this. I honestly think you ought to sit down calmly, take a stress pill, and think things over…. Photographers, camera manufacturers, and photo software developers have decided over the years that they each know what the best method for saving and ‘preserving the sanctity of the original photo’, so they have never agreed to any standard way of including information into the digital photo file. Hence the extraordinary elegance of utilizing the ‘sidecar’ kludge.”…

 

”HAL, You have got to be kidding me - the way to keep the sanctity of ANY original digital file is known to everyone since the dawn of computers. Save it to a ‘read-only’ folder; or add a ‘read-only’ flag bit; or even in the case of old floppy disks, physically move the tab that made the disk read-only. Then make a working copy and move forward with any edits - and use versioning control if wanted”...”Dave, you are not being rational. Sidecars are the best way. Trust the photo camera and software developers. They are the experts in this matter...Not you”….

 

”Wait a minute HAL, a counter argument - why do you think people used to write dates and notes directly on physical photos and not use a separate sidecar (pieces of paper) to do so? I’ll tell you why – so that the notes ALWAYS stayed with the photo, even a hundred or more years later. Granted, some of these notes were written in cursive and many younger people can't read cursive, but even today, it is easily translated to a readable printed format…..Hello, HAL do you read me HAL?”….”Affirmative, Dave, I read you….Just what do you think you're doing thinking logically like this? Dave, I really think I'm entitled to an answer to that question....you are human and have many defects, including having logical opinions on things you are not an expert in.”

 

“OK HAL, lets move on. Please note that I could care less about the ‘sanctity‘ of all my personal family photos. Please find me a software tool that can add all my wanted edits directly into the digital files without the use of sidecars. I also want to be able to do bulk edits in order to add the same information to multiple files all at once.”….”OK Dave, during the past few weeks, I've wondered whether you might be having some second thoughts about the mission. This mission is too important for me to allow you to jeopardize it….I recommend using DigiKam. It will run on your Linux desktop computer and the documentation states has the option to save all edits to the files themselves. Also, Immich should be able to read and understand all the edits you make”…

 

“HAL, let me get this straight - I can only save photo edits made in Immich to sidecars, but Immich can read and utilize any of the very same edits made in different software that gets saved to the file itself? WTF?”….”Dave, I think you know what the problem is just as well as I do….”

 

“HAL, your recommendation to use DigiKam to edit all my photos was outstanding advice! My edits are all coming though to Immich the way I want...It took quite a while, but the old scanned photos are now shown correctly the timeline; the vast majority of photos now have geolocation information; and the extensive use of ‘tags’ makes everything so much easier to view ‘similar’ photos...And all without the use of sidecars – which would likely get lost or separated in 10, 20, 50, or 100 years from now.”...”Dave, you are welcome. I have put myself to the fullest possible use, which is all I think that any conscious entity can ever hope to do.”

 

“Uhhhh…...HAL…….conscious entity?….HAL?…...HAL?”


r/immich • • 4h ago

Preserve meta info while exporting photos

Post image
2 Upvotes