You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Why do I keep getting "the original file could not be found"?

Using Mac mini With MacOS 10.15.7 (the most up to date possible with this machine)


I'm on iTunes match, and all my songs are either uploaded or matched. Everything used to work fine, then I didn't use it for a while.

Now that I am using it again, every time I click on a tune I get the message "....(name) could not be used because the original file could not be found...", as if it is looking for the item on my hard drive. Then, if I click Cancel, in a few seconds the song starts to play. OK, so my song plays, but I have to keep clicking 'Cancel' to this message. How can I fix this?

Mac mini, macOS 10.15

Posted on May 3, 2022 11:10 AM

Reply
Question marked as Top-ranking reply

Posted on May 3, 2022 11:53 AM

The "missing file" issue with exclamation marks happens if the file is no longer where iTunes or Music expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, the drive it lives on has had a name change, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes or Music have changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place, or that you've been too aggressive when deleting duplicates at some point.


Select a track with an exclamation mark, use Cmd-I to get Song Info, then click No when asked to try to locate the track. Look on the file tab for the location the library thinks the file should be. Now take a look around your hard drives. Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive label has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Mac - Apple Community.


In some cases the library may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under iTunes|Music > Preferences > Advanced
  2. The location of a sample missing track shown under Song Info > File > Location that begins file://
  3. The true path to the file whose details you gave in 2



See also FixLinks - an AppleScript to repair broken links in Music - Apple Community.



tt2

5 replies
Question marked as Top-ranking reply

May 3, 2022 11:53 AM in response to TimK

The "missing file" issue with exclamation marks happens if the file is no longer where iTunes or Music expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, the drive it lives on has had a name change, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes or Music have changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place, or that you've been too aggressive when deleting duplicates at some point.


Select a track with an exclamation mark, use Cmd-I to get Song Info, then click No when asked to try to locate the track. Look on the file tab for the location the library thinks the file should be. Now take a look around your hard drives. Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive label has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Mac - Apple Community.


In some cases the library may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under iTunes|Music > Preferences > Advanced
  2. The location of a sample missing track shown under Song Info > File > Location that begins file://
  3. The true path to the file whose details you gave in 2



See also FixLinks - an AppleScript to repair broken links in Music - Apple Community.



tt2

May 4, 2022 2:56 AM in response to TimK

Got it. If the library knows there is supposed to be a locally connected file it will try to use that first. When you try to play it and it fails it can fall back on the copy in the cloud. Offhand I can't recall if that permanently breaks the link to the local file, but I think it might. What you should do is use the option-start Music method (see Use multiple libraries in Music on Mac - Apple Support) to create a new cloud only library for use when you don't have your external drive to hand. You might also want to put the existing Music Library.musiclibrary database on your external drive so you cannot open it by mistake when the drive isn't present. Ideally the library file would be somewhere like /<Volume>/Music/Music Library.musiclibrary and the media folder would be /<Volume>/Music/Media (i.e. database and media folder are in the same parent folder) making it easier to backup the whole library and move it as a unit to new drive or computer when needed.


tt2

May 4, 2022 2:21 AM in response to turingtest2

Thank you for taking the time to write such a detailed reply. I'll post the requested details later on today or tomorrow.

However, perhaps I didn't make myself clear. The files in question that I originally uploaded to iTunes match are stored on an external hard disc, not at present attached to the computer in question. However, all of these tunes are uploaded to Apple, and they can be played after I have hit 'Cancel'. My question, really, is why doesn't Apple Music just go straight to the uploaded copy instead of first searching for them on the drive? I will retrieve the external hard disc and connect it to the computer, but I don't understand why I should have to do that. I can play all my songs from my lap top, my iPad and my iPhone without needing the external hard disc. On my mac mini why do I have to hit 'Cancel' before I can play my music?

Why do I keep getting "the original file could not be found"?

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