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

All the content from my iTunes library has disappeared

The other day I went onto iTunes and everything had disappeared from it except for the music in the Cloud. All the music is still intact in the folders on my computer and when I double click any song it reappears on iTunes but without any information like number of plays, and I obviously don't want to do this manually for every song as I have nearly two thousand. I synced my iPod with iTunes again but no message came up and the music is still on my iPod, as if it is only 'hiding' on iTunes. I'm not sure if it's something to do with the fact i got a new iPod a few days ago, but iTunes worked perfectly when I first got it so I'm confused about what's happened.

iPod touch

Posted on Apr 2, 2013 8:54 AM

Reply
Question marked as Best reply

Posted on Apr 2, 2013 9:02 AM

Empty/corrupt library after upgrade/crash

Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.


In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.


User uploaded file


Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied and renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.


If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.


When you get it all working make a backup!


Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.


I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.


tt2

184 replies

May 10, 2013 2:39 PM in response to earthrox59@yahoo.com

You're interested in the file with the musical note which is the .itl file, the other will be the .xml


The instuctions now become:


Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library as iTunes Library (Corrupt) and then rename the restored file as iTunes Library - start iTunes while holding down shift, click Choose then browse to and open ..\iTunes\iTunes Library


tt2

May 10, 2013 2:49 PM in response to turingtest2

BLESS YOUR EVER-LOVIN HEART!


It even has my most recent playlists.


I hate to even go there, but can you explain further where those cloud symobls went and why they showed up to begin with? I like this library, it is basic and all there, and doesn't have the clouds which then I had to download songs... most of my playlists are back, and I am only a little nervous plugging in my Nano, since that was when things went most wrong. But first, I have to save this somewhere. Can I just drag it to my seagate?


btw I will be canceling my AVG and going for that free other one someone mentioned above... just in case!

May 10, 2013 3:08 PM in response to earthrox59@yahoo.com

When you are "signed in" to iTunes 11 with an "empty" library iTunes will show cloud links to your previous purchases because it doesn't know they already exist on your computer. Now that you're connected to your earlier library it can see those files so doesn't show the cloud links. Since the backup maybe a few months old you should probably use File > Add Folder to Library and add the iTunes Media folder.


You can just drag & drop the iTunes folder to your external drive as a backup, but this backup gives you a way to efficently update the backup in future. If you pay attention to the preview of changes it will also alert you to any potential problem, e.g. if it was about to replace your archived .itl file with a much smaller one that would show that the library had been corrupted.


I've switched to Microsoft Security Essentials. Free and no nags.


tt2

May 10, 2013 3:17 PM in response to earthrox59@yahoo.com

Thanks so much! I just coped two versions of my iTunes library to my external drive. The first time I used synctoy, and wound up moving wayyyyyy too much stuff, with three "errors" and the iTunes library I renamed "iTunes Library" didn't move over, just the one named, "iTunes library corrupt" which, by the way, turned out to be the correct library. I don't know why the name didn't change. I then did a drag and drop from my library to the external harddrive, into a new file called, 2nd attempt iTunes backup. Just in case. Now I will also create one on my harddrive. I do not trust my iPod not to mess things up again.


I am very happy.

May 10, 2013 3:23 PM in response to turingtest2

googling window security essentials brings up mediocre reviews. is that that only one you use? Do most people use more than one security program? I never give it much though til now, with this AVG business. Wow, I am going to step aay from my computer for a while! I'm fried.


thanks again, your've been awesome. I hope you have a great, day, tt2!!!!

May 10, 2013 3:34 PM in response to earthrox59@yahoo.com

Yes, I just use MSE but I'm also cautious about where I roam on the net or what things I click on. Having cleaned up after various "best of breed" AV packages have failed to protect the computers of friends and colleagues from "drive by" attacks I take such reviews with a pinch of salt. Any AV package can fail to protect against the new. I'd rather not pay or have my system slowed down by something that I know cannot offer complete protection. I've also got an arsenal of backup and recovery tools should the worst happen.


Multiple AV software is a potential cause of instability so I would caution against installing more than one. Avast is another option.


tt2

May 10, 2013 5:35 PM in response to earthrox59@yahoo.com

This is why my instructions tell you to make a copy of the library file you restore rather than switching between alternatives with the shift-start-iTunes process. Even if the problem repeats you haven't touched the orginal and can restore it again on demand.


Disabling AVG won't undo the damage it has already caused. Uninstall AVG, copy a known good library file into the correct location, then shift-start iTunes if you're currently connected to a file on another path.


tt2

May 10, 2013 6:06 PM in response to turingtest2

I did as you suggested. I made a copy and put it on my external device. When I opened it from there, it was the cloud version. However, and I say this with a very tired brain, right now, it all seems good. I took AVG off my computer, installed the Windows one. I restarted my computer a few times and then clicked on the little iTunes icon... and my whole lovely library is there. I now need to look at the one on the external drive again and possibly re-backup the library. Somehow the only one there was named, iTunes library corrupt. I'll get back to you.



just opened it from seagate external and it is fine. I don[t know why it didn't work earlier but . whatever. thanks again.

May 10, 2013 7:02 PM in response to earthrox59@yahoo.com

Have we checked you don't have a Sony VAIO? If you've removed AVG and rebooted then you've removed the main culprit that I'm aware of at present. If you've installed another AV package it is as well to exclude the iTunes folder from real time scans. Perhaps you have some other active file scanning software that trips up iTunes as it goes about the business of updating the library files.


tt2

May 10, 2013 7:10 PM in response to turingtest2

I don't know. I don't know how to check that. As far as I know I just have the windows security program installed now.

It's like there's something at work here, going into my external drive even, and changing the library. It was fine. I rebooted, and an hour later looked in on it, and the library was missing half my stuff. I just went in and was able to finally land on a decent version, after clicking a long series of "previous library" tabs that kept opening up. Still not the version I wanted, but it has my ripped songs and some playlists. I had to hold down the shift key and eventually got there. This is disheartening. Would a best buy Geek be able to sort it out? I am exhausted.

May 11, 2013 3:47 PM in response to earthrox59@yahoo.com

Ok, I have repeatedly been able to open iTunes files and see all my stuff. Strangely enough, even the iTunes Library Corrupt files work. Also, fter renaming the corrupt ones, my computer renamed it again, and the corrupt one is named iTunes Library.

However, I have so many versions on my computer, I wonder if iTunes is having a hard time deciding which one to open, so it opens the wrong one. ONly if I hold shift down and choose, can I get the right one.

Now, I also have the wrong one backed up on my external drive.

I have two on my desktop which work, one is a folder named, "Hopefully iTunes Backup" (which opens to a file with a musical note on it, named iTunes Library 13-02-10, and the other folder on my desktop is named simply, iTunes Library (2)

When I go into my Music folder, there are layers upon layers of previous iTunes Libraries.

Today, every library I click on opens to the one I want, with all my songs and everything.


Even the backup on my external drive works.


Can I safely delete all the libraries but one? which one should I save? What exactly are the qualities, extensions, whatever, that I should look for and/or name it so iTunes will only find it? How do I prevent the one on my external drive from being changed when I plug it into my computer?


I am really nervous about plugging my iPod in, too, because it seems to muck up everything. And it seems like if things get mucked up on my computer, theyu get mucked up on my external drive, too.


any help will be great.


R

All the content from my iTunes library has disappeared

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