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.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

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

iTunes 12.2.0 have deleted all of my playlists and most songs...

I just upgraded to iTunes 12.2.0. and ALL of my playlists and most of my songs are now gone! I have tried to restore my previous iTunes library by Timemachine, but that did not help. I still have all of my music and playlists on my iPhone. What to do???

Posted on Jul 5, 2015 8:17 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 5, 2015 9:17 AM

I am desperate about an answer to this question. I am devastated.... everything is gone and I haven't made a backup recently.... HELP!! My apps for the iphone and iPad... everything is gone!!

106 replies

Jul 5, 2015 10:01 AM in response to andersfromaabybro

Okay, try not to panic. There are two things to try.


First, you should try to turn off iTunes in the Cloud, which I think requires going into Store > Account Info and selecting "Deauthorize This Computer" or something like that. (I can't check because I've got it turned off.)


Now quit iTunes. Look in the folder Music > iTunes > Previous iTunes Libraries. Hopefully, there is at least one document in there with the file extension .itl and a date *prior* to when you updated to to 12.2. If you find such a thing, then do this:


Back in the main iTunes folder, rename the files iTunes Library.itl and iTunes Music Library.xml (just add "corrupted" to the beginning of the file name, or something like that). Now rename the previous version to iTunes Library.itl, drag it into the main iTunes folder, and restart the iTunes app. (The XML file should regenerate automatically.) If all goes well, you should be looking at a version of your iTunes with all your playlists and songs restored. If you are given the option to use iTunes in the Cloud, just say No -- this seems to be where these problems are coming from.


If you can't find such a file, then you can look for one in TimeMachine -- just be sure the backup was made prior to upgrading to 12.2. Again, bring this into the iTunes folder, replacing the version that's been corrupted. I really do hope this works!


I hope Apple has taken note of this nightmare and is working on a fix.

Jul 5, 2015 11:47 AM in response to richard grant

You suggestion of 'reclaiming' an earlier Previous iTunes Library was also the solution yesterday for me. Now everything from my old iTunes, including music from from my cd and record collection, documents, etc. works fine in the new iTunes.

Incidentally, after working out the 'black screen' launch problem, and this problem of losing the old library, I was thrilled to find that syncing of my IOS devices works fine with the new iTunes. And last, I am staying away fro Apple Music for now, especially since is a paid subscription!

Charles Thomas

Jul 8, 2015 4:09 AM in response to richard grant

Richard, thank you for your explantion. Could you please explain further detail about which files to rename with 'corrupt' as this part is not totally clear to me:

"Back in the main iTunes folder, rename the files iTunes Library.itl and iTunes Music Library.xml (just add "corrupted" to the beginning of the file name, or something like that). Now rename the previous version to iTunes Library.itl, drag it into the main iTunes folder, and restart the iTunes app."


I hope you are able to break this down a bit for me, thank you.

Jul 8, 2015 4:47 AM in response to gaeln

gaeln, these are the two files -- they should be in the folder Music > iTunes:


• iTunes Library

• iTunes Music Library.xml


Just change the names to something like "iTunes Library (corrupted).itl" and iTunes Music Library (corrupted).xml" -- the exact name doesn't matter, as long as it's different from the original.


Now you can choose one of the previous Library files, name it "iTunes Library.itl" and drag it into the iTunes folder. When you restart iTunes, a new XML file will be generated automatically, and you should be okay from here.

Jul 8, 2015 7:18 PM in response to gaeln

Thank you Richard! I was nervous about deauthorizing everything but did it anyway. I couldn't find the iTunes Music Library.xml in my iTunes folder so I just dealt with the .itl file and did what you said. And now it looks like everything is back! What a relief!


From now on I am going to back up my computer before upgrading anything more from Apple. What a freaking hassle!

Jul 9, 2015 11:09 AM in response to andersfromaabybro

i have just been on the phone with iTunes support and they talked me through another way. Go to iTunes store, log in with your apple id, then on the right hand side of the screen click on purchased and download all (at the bottom of the screen). This downloads everything thats sitting in your cloud. Quick and easy...although it did take me being on the phone for 30 mins to get to this stage as the guy was struggling to find the setting himself

Jul 13, 2015 2:35 PM in response to richard grant

HI,

I have encountered the same problem, but when I follow your instructions, I can't find any file called iTunes Music Library.xml. Searching for .xml returns this:User uploaded file

I'm not seeing any iTunes music library.xml anywhere. And since this fix fix seemed to work for everyone else, and I'm unable to run into, I am way freaking out. However, in the my music, I'm pretty sure all of my music files are still here. I think. ARGH!!!

I'm running OS X 10.10.4.

Oh, and I see that Apple has released iTunes 12.2.1- does this update fix the problem???

Thank you so much for your help!

Jul 14, 2015 3:59 PM in response to richard grant

****.... My time machine doesn't work. It just basically died so it looks like I'm out of luck for that. I don't know what happened, but ever since the new update, everything has gone wrong. I plugged my phone in to sync with some new stuff I got, and all of the sudden everything went wrong. I did somehow get my albums back but my playlists are gone. I don't know how long it took building my various playlists with all the songs. And I tried finding the iTunes Library.itl like you said to look for in previous iTunes Libraries, but it's empty. I only have the one I listed as corrupt as it is. Is there away to get back the old iTunes Library since I can't access my time machine or is it gone for good? Please help me.

iTunes 12.2.0 have deleted all of my playlists and most songs...

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