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

Why has this occurred The file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged)”.

My itunes library suddenly that the file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged)”. I use an external hard drive for my Itunes.

iMac with Retina 5K display, OS X Yosemite (10.10.3)

Posted on Apr 15, 2015 5:27 PM

Reply
Question marked as Best reply

Posted on Apr 15, 2015 7:28 PM

The library file appears to have been corrupted. You say you use your external drive but is the whole library on it or only your media? No matter, you will have to rebuild the library file:


iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451

7 replies

Jun 30, 2015 1:28 PM in response to Limnos

Hey Friend. This same problem has just happened to me.


My entire library was on an external RAID. Just upgraded to 10.10.4 and got the notice my library file is damaged. I tried to the instructions on that link, but it didn't work. I think the .xml file was already over-written and blank.


Any ideas? Can i un-corrupt my file somehow? All the media is still there in the iTunes media folder, but i don't want to lose all my playlists...

May 21, 2016 9:31 PM in response to RyeDarrow

I had the same problem after a recent update. It took me a long time to figure out how to fix it, but finally did. It turns out the iTunes update was corrupt. I would copy a non-corrupt copy of the library.itl file from TimeMachine, put it in my music folder (on an external drive), open iTunes and voila! My whole library with all playlists, etc. are there. Then, after quitting and restarting iTunes I'd get the exact same corrupt file message and iTunes would create a new, empty library file. The way I resolved this is as follows:


Quit iTunes


Remove iTunes from Startup Items (if there). This is under system preferences (Mac), Users


Restart computer


Delete iTunes - I mean everything EXCEPT what is in your Music folder. Keep everything in the Music folder (whether in the default location or not)


Go to Apple's website, find the full download of the current version of iTunes, download it


Install iTunes, don't open it


Go into your "previous iTunes libraries" folder (in your music folder), change the name by removing the date, and move it to the Music folder, replacing the default library.itl file. Alternatively, go to Time Machine, find the last library.itl file before the corrupt update (in the Music folder) and move that to your current Music folder, replacing the one there.


Hold down option key and open iTunes


In the popup select "Choose Library"


Navigate to your recovered library and press enter (or open?)


iTunes should open with all your playlists, etc. Try restarting iTunes to make sure this worked. If not, cry.


Add iTunes to your Startup Items, if desired


Voila. Problem solved. (Well, at least it worked for me.)

Why has this occurred The file “iTunes Library.itl” does not appear to be a valid iTunes library file. iTunes has created a new iTunes library and renamed this file to “iTunes Library (Damaged)”.

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