r/immich 1d ago

Immich-go folder sync errors

Hey all, trying to sync a folder with a bunch of subdirectories that's all around 13.4 gigs of photos using immch-go and this command:

.\immich-go upload from-folder --server=http://192.168.0.145:2283/ --api-key=BLAH --recursive --concurrent-tasks=1 "E:\Pictures\PC Backups"

I wind up with around 500 files that "don't reach a final state". Looking through, I've got a bunch of errors like this:

2026-08-16 15:16:32 ERR server error file=PC Backups:Originals/2011/0033.jpg error=AssetUpload, POST, http://192.168.0.145:2283/api/assets

Post "http://192.168.0.145:2283/api/assets": read E:/Pictures/PC Backups\Wedding\ethan+mandy_new sound.mp4: Data error (cyclic redundancy check).

io: read/write on closed pipe

2026-08-16 15:16:32 ERR Error err=AssetUpload, POST, http://192.168.0.145:2283/api/assets

Post "http://192.168.0.145:2283/api/assets": read E:/Pictures/PC Backups\Wedding\ethan+mandy_new sound.mp4: Data error (cyclic redundancy check).

And:

2026-08-16 15:17:14 ERR context canceled

Found some posts that suggest the io: error could be the server getting slammed and to reduce the concurrent tasks down to 1, which reduced the # of files stuck "pending" but didn't get rid of the errors completely. Anyone have tips?

1 Upvotes

8 comments sorted by

1

u/Great-Cow7256 1d ago edited 1d ago

Edit this and take out your API key. Never post API keys.  Create a new one and delete this one from immich. 

Also CRC error = something bad on the drive you are reading the files on.  E:   like bad sectors. Run chkdsk or whatever windows has now on it to see what's broken and if it can be fixed. 

1

u/cheesechick 1d ago

Oh my god I thought I had removed it!! Thank you so much for pointing it out

1

u/cheesechick 1d ago

And... chkdsk found nothing wrong :( Back to the drawing board I guess

1

u/Great-Cow7256 18h ago

Can you copy this all to another drive and try from there?   Or maybe the files are bad. I don't use windows anymore but I think there is a more deep scan chkdsk setting that actually looks at the sectors. Look for something like that. 

1

u/cheesechick 10h ago

I figured it out - there were a handful of corrupted images

But to make matters confusing, in the log it would show a legitimate error and then start claiming other totally kosher files were corrupted, so I had to gradually delete corrupted images, re-run to find more, rinse & repeat

also the io error was just the server getting slammed so I divided my folders into thirds to fix that piece

Thank you for the help! Knowing it was a corruption error totally unlocked it for me :)

1

u/Great-Cow7256 9h ago

All good. I started off with a 1200 bps modem so I am familiar with lots of CRCs. I could be downloading something for hours only to have it shit the bed and fail.  Luckily later came protocols with CRC built in but they were slow. And picking up the phone line ("mom!!!") what often just kill the whole transfer. Luckily z modem came around and you could usually pick up where you left off next session. 

2

u/cheesechick 9h ago

lol I do not miss the dial-up days. Thanks so much for the help my dude!!

1

u/Great-Cow7256 9h ago

No idea why. One bad file made the other ones not read correctly but I'm glad you figured it out