Over 1000 photos are stuck uploading - how to fix? PC

In short, I have 1337 files stuck uploading, how do I work out which are stuck?


More detail:

The Windows version of iCloud works differently from Mac and iOS. You have an "Upload" folder which you drag and drop folders of photos into. These files then remain in this folder even if you delete them. So this is not a Sync, it's purely a file transfer to iCloud.

User uploaded file


I uploaded over 15000 photos this way and it took a while, but now it's stuck. I have 1,337 items that are stuck uploading:

User uploaded file

But the problem is, how on earth do I work out which files haven't uploaded yet? Is there just 1 file that's blocked the upload and 1336 are behind it in the queue, or are there 1337 files that iCloud doesn't like?


Is there a log file for iCloud Photo upload?


I know there are 4325 files that aren't photos: txt, thm, psf, dat and ini, but no combination of these is anywhere near 1337.


I've tried adding a new photo to Uploads, but that doesn't get uploaded, and the count stays at 1337 which is even weirder.

iPhone 8 Plus, iOS 12, Windows 10

Posted on Oct 2, 2018 4:05 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 3, 2018 12:28 PM

Solved - find the files that have got stuck in the upload pipe! Which is pretty much what brastein said above. Anyway, this is how I did it:


1. Using Windows Explorer search I had already deleted over 4000 txt, thm, psf, dat and ini files

2. Open a Powershell prompt (Start menu)

3. Navigate to your Photos Upload folder, e.g.:

cd "C:\\Users\\Dave\\Pictures\\iCloud Photos\\Uploads"

4. Run this command:

Get-ChildItem -Recurse -Include \*.\* | Group-Object Extension -NoElement

5. This returns counts for each extension which was this for me:

`Count Name`

`----- ----`

`18626 .JPG`

`31 .picasaoriginals`

`15 .mts`

`2 .zip`

`4 .jbf`

`1 .bmp`

`2 .PNG`

`1 .info`

`6 .NPO`

`4 .mp4`

6. In Windows Explorer search bar (top right) enter each .extension and select and delete all files returned (checking them obviously and sometimes moving them elsewhere)


For me I deleted everything but the .JPG files. Waited a few seconds (also went into iCloud options and came back out) and suddenly files started uploading. The 4 .mp4 files were already in iCloud, and they had dodgy dates from 1947 on them!? So something unblocked the blockage. Could have been going into iCloud settings, but I suspect it was one of the files above I deleted.


Hope this helps someone.

Similar questions

4 replies
Question marked as Top-ranking reply

Oct 3, 2018 12:28 PM in response to jjkboswell

Solved - find the files that have got stuck in the upload pipe! Which is pretty much what brastein said above. Anyway, this is how I did it:


1. Using Windows Explorer search I had already deleted over 4000 txt, thm, psf, dat and ini files

2. Open a Powershell prompt (Start menu)

3. Navigate to your Photos Upload folder, e.g.:

cd "C:\\Users\\Dave\\Pictures\\iCloud Photos\\Uploads"

4. Run this command:

Get-ChildItem -Recurse -Include \*.\* | Group-Object Extension -NoElement

5. This returns counts for each extension which was this for me:

`Count Name`

`----- ----`

`18626 .JPG`

`31 .picasaoriginals`

`15 .mts`

`2 .zip`

`4 .jbf`

`1 .bmp`

`2 .PNG`

`1 .info`

`6 .NPO`

`4 .mp4`

6. In Windows Explorer search bar (top right) enter each .extension and select and delete all files returned (checking them obviously and sometimes moving them elsewhere)


For me I deleted everything but the .JPG files. Waited a few seconds (also went into iCloud options and came back out) and suddenly files started uploading. The 4 .mp4 files were already in iCloud, and they had dodgy dates from 1947 on them!? So something unblocked the blockage. Could have been going into iCloud settings, but I suspect it was one of the files above I deleted.


Hope this helps someone.

Oct 8, 2018 3:28 PM in response to jjkboswell

Happened again with 800 mov files, all taken with iPhone. Left running over night and it got stuck after about 200 uploads. You can tell when it's stuck because the CPU and Network send bytes are negligible for iCloudPhotos.exe for a long period of time (like hours), meaning it's not doing anything.


I've watched how iCloudPhotos works, and it seems to process 10 videos at a time (not sure about photos) so you'll see CPU hit around 50% on a quad core system. Then after about several minutes the CPU will drop to 0%, and the network traffic will ramp up on the transmit (I'm using Windows Resource Monitor and filtering on iCloudPhotos.exe). This will last a while depending on video sizes and upload bandwidth. And hey presto your iCloud Photos Uploading items count drops by 10. Then cycle repeats - process 10 files, upload 10 files, repeat.


So to fix it this time (it was just mov files, so no bad files), I restarted PC. No idea why it got stuck.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Over 1000 photos are stuck uploading - how to fix? PC

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.