Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

attempting to copy to the disk failed. an unknown error occurred (-54) external drive

Starting this morning, I get this error when I sync my iPhone:


Attempting to copy to the disk 'Media' failed. an unknown error occurred (-54)


My iTunes media is stored on an external drive (called 'Media'). I have tried:

  • repairing disk permissions
  • repairing the disk 'Media' using Disk Utility
  • restarting the computer
  • doing a hard reset on my iPhone


There seem to be a lot of threads discussing this particular error, but I haven't seen any solutions that work for me. Has anyone else had this problem and solved it?


Thanks!

iPhone 6, iOS 9.0.2

Posted on Oct 17, 2015 8:03 PM

Reply
Question marked as Best reply

Posted on Oct 18, 2015 3:07 PM

== Error -54 ==

From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)


First, try simply restarting your computer.


Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).


iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.


Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files


Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114


Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.


iTunes: Missing folder or incorrect permissions may prevent authorization - http://support.apple.com/kb/ts1277


Troubleshooting permissions issues in Mac OS X - http://support.apple.com/kb/HT2963

3 replies
Question marked as Best reply

Oct 18, 2015 3:07 PM in response to Daniel Lovall

== Error -54 ==

From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)


First, try simply restarting your computer.


Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).


iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.


Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files


Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114


Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.


iTunes: Missing folder or incorrect permissions may prevent authorization - http://support.apple.com/kb/ts1277


Troubleshooting permissions issues in Mac OS X - http://support.apple.com/kb/HT2963

attempting to copy to the disk failed. an unknown error occurred (-54) external drive

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