Apple Event: May 7th at 7 am PT

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

Every time I launch iTunes, my library/playlists have been cleared.

I use Windows 7 and have a Nano 7th generation. After it cleared my library the first time, I restored everything and again today, it cleared my library/playlists.

Posted on Mar 15, 2013 7:47 PM

Reply
Question marked as Best reply

Posted on Mar 15, 2013 10:20 PM

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


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.




Would you mind telling me which anti-virus package you use? It may be that it is disturbing iTunes when it tries to write out the fresh database, as it does after almost any activity with your library. I'm noticing more of this type of problem than usual and trying to see if there is any pattern. It may help to prevent a repeat of the problem if you look at the advanced options for your AV package and see if you can find a way to exclude the iTunes folder from any real-time scanning process.


tt2

7 replies
Question marked as Best reply

Mar 15, 2013 10:20 PM in response to Christopher Rexrode

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


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.




Would you mind telling me which anti-virus package you use? It may be that it is disturbing iTunes when it tries to write out the fresh database, as it does after almost any activity with your library. I'm noticing more of this type of problem than usual and trying to see if there is any pattern. It may help to prevent a repeat of the problem if you look at the advanced options for your AV package and see if you can find a way to exclude the iTunes folder from any real-time scanning process.


tt2

Mar 16, 2013 4:58 AM in response to turingtest2

Thanks for the response. I backup my itl and xml files every month so I was able to restore my library. My biggest issue is that it keeps clearing those files every time I shut down my laptop. I'm not sure when the last time iTunes updated, but I don't believe it has been within the last week. I currently use AVG Anti-Virus. AVG recently found something and removed it on 3/13, which I believe was before either of the two times that my libraries were reset. The file in question was something called Files Scout. I will definitely go into my AVG scan and take the iTunes folder out for future scans since it's highly unlikely I will ever have a virus within my music folder.

Mar 16, 2013 6:24 AM in response to Christopher Rexrode

You're welcome. 🙂

...I will definitely go into my AVG scan and take the iTunes folder out for future scans since it's highly unlikely I will ever have a virus within my music folder.


Indeed. FWIW I asked a few similar questions regarding AV yesterday and so far AVG seems to have been consistently involved when people have got back to me... By no means conclusive, but certainly suggestive.


tt2

Mar 16, 2013 8:05 AM in response to turingtest2

I just submitted a question as well - and am now thinking that AV may have had something to do with it. Yesterday's report states that there was a "trojan horse found on iPodService.exe". I find that hard to believe, but AV "healed" this problem.


I do not back up my library monthly - that's going to change - so is there anything I can do to restore to a state that it was in prior to 3/15?

Mar 16, 2013 9:58 AM in response to megmattmt

If you use the most recent library file you have using the method give above you can then use a tool such as iTunes Folder Watch to scan the media folders and update the library with files that have been added/removed/renamed since then. You'll lose the intermediate playcounts and any new playlists that you've made but that is probably the best that can be achieved.


tt2

Every time I launch iTunes, my library/playlists have been cleared.

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