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

How do I stop itunes from corrupting it's library on almost a daily basis?

How do I stop itunes from corrupting it's library on almost a daily basis? It's actually becoming infurating to use, and what's happening is I am losing my downloads since the last automated itunes backup (having to rename & replace the current corrupted library with the last backup which is usually a day or two old). What can cause this? Is there ANY alternative to using itunes for Apps (which is the sole use I have for it)? If not, APPLE PLEASE REMOVE THE NEED FOR THE DATABASE SO IT DOESN'T HAVE THE ABILITY TO CORRUPT ITSELF... :'(

Posted on May 4, 2012 5:44 AM

Reply
16 replies

Sep 27, 2012 10:25 AM in response to zhulien

It is likely something particular to your setup. I only see a post about a corrupt database every few weeks and then it is a once-off thing. If you tell us more about your setup then it would help. For example, 2000 apps sounds like an huge number. How large is your database altogether? If it is huge and you keep it on an external drive then it could be a networking or connection issue.

Sep 27, 2012 12:25 PM in response to Limnos

I don't think 2000 is many, however I did reduce it to about 400 and still I get the issue every couple of days. As for the setup, what info can help? I am using a iMac i5 with 16gb RAM and performing an info on the default iTunes created Music folder (which has nothing in it except for what iTunes put there), it is about 122.24GB and 4125 items. I don't know what that number of items is actually as iTunes has always maintained it.


There is no music, there are about 20 movies also.

Sep 27, 2012 1:30 PM in response to zhulien

I know you don't want to do this but I would create a brand new library and add items already on your computer to that. It is possible the your library and the backups you are using are corrupt. This is the only way to ensure that if this continues that it is not the library itself. Conceivably it could be one of the files introducing something into the library that is causing the issue but take it a step at a time.


I have a bigger library than you, though I do not have a single app. 2000 apps is more than 10x all the applications I have on my computer, and my computer is designed to handle more than your idevice. I should also add I have never in 10 years of iTunes, and predecessor, had a corrupt library.

Sep 28, 2012 7:09 AM in response to zhulien

Fine, up to you. Still, it's like saying a Toyota makes a substandard Corolla model because one tire on one particular vehicle has a hole and repeatedly goes flat. Ignoring it won't fix it.


Have you run Disk Utility to verify your hard drive? Perhaps this is just the tip of an iceberg.


By the way, creating a new library does not mean you have to download everything again. You just create a new library file and add things to that. Still, if there's something in one of those many apps of yours that is adding a strange character into the iTunes library and corrupting it then the only way you are going to discover that is by a very slow process of adding items one by one and testing until you find the problem.

Sep 30, 2012 3:23 AM in response to Limnos

honestly, thanks for trying to help - appreciated.


I have run Disk Utility and the hard disk is fine, The only things in my library are movies and apps - how do i add them to it without downloading?


regarding strange characters - some are Japanese releases (in the international app store) which have japanese names that didn't always render as you would expect - however they seem to be ok (for the last year).

Sep 30, 2012 10:08 AM in response to zhulien

Things you see in iTunes are stored in various sub folders in your main iTunes folder as in:


Image of folder structure and explanation of different iTunes versions (turingtest2 post) - https://discussions.apple.com/thread/2741246?answerId=13025536022#13025536022 and https://discussions.apple.com/thread/3700206?answerId=17457605022#17457605022


Start iTunes and immediately hold down the option key. Create a new library somewhere. Go to your old iTunes folder and drag items to the window for the new library. Maybe only grab a folder or part of one at a time. It will copy these items to the new library (so you need lots of extra room on your computer).

Oct 30, 2012 4:51 AM in response to zhulien

Again, it must be something particular to your computer setup or the files you are using. If you have any external drives involved then it could be a communications error, especially if they are not Mac format. I have over 20,000 items in my iTunes library and have never once in over 10 years of using iTunes had a corrupt library.


I don't have Japanese characters. It is conceivable they could be presenting a problem, though I am sure Apple distributes iTunes in Asian countries and iTunes should be able to handle other font characters. I do have European accented characters and iTunes does not choke on them.

How do I stop itunes from corrupting it's library on almost a daily basis?

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