Import iTunes library into clean installation of Catalina

Hullo all, hope you can help:


  • I backed up my iTunes library (the entire "iTunes" folder—contains about 95GB of music ripped from my CDs) on an external hard disk.
  • I installed Catalina on a newly reformatted hard disk on my iMac.
  • I copied the backed up iTunes library into ~/Music (Home folder → Music).
  • I launched the Music app. It showed my handful of iTunes purchases, but not my playlists nor the music I had ripped from CDs. 🤔


Clearly, my iTunes library was not upgraded at that point. The Music app was just seeing the music associated with my iCloud account. Second try:


  • I quit and I deleted the new "Music" folder that was created (~/Music/Music).
  • I launched the Music app holding down option. It asked me the choose a music Library and pointed it to the "iTunes Library.itl" file (~/Music/iTunes/iTunes Library.itl).
  • The Music app launched. Again, only my iTunes purchases appeared, no playlists. 😢


Any idea how I can get the Music app to upgrade and see my older iTunes music library? There are plenty of playlists, ratings, play counts, album artwork from rare CDs that I scanned myself, even some digitised vinyl. This process has worked with previous OS updates, so I would expect my backed up iTunes library should somehow be able to be imported.


Any thoughts?

iMac Line (2012 and Later)

Posted on Oct 14, 2019 1:29 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 14, 2020 10:04 AM

Hi all, after a bit of struggle (same issue, only importing purchases and Apple Music files), this is how it finally worked.



OLD SETUP

My trusted 2010 Mac Pro 5,1 running High Sierra with a "System" SSD boot partition and a "Data" internal HDD RAID array, where the iTunes Library is residing in a Data/Music/iTunes Library folder (the database itl. file is there and the actual music is residing in the subfolders).  This includes ~250Gigs of CD's ripped to Apple lossless.


NEW SETUP

A new Mac Mini running Catalina

An External LaCie


The intention was to move the library along with playlists and obviously the many lossless files to the Mac mini with the new library permanently residing on the external LaCie.


So I copied the entire Music/iTunes Library from the Mac Pro to the external LaCie (took a while over USB 3.0!) resulting in LaCie/Music/iTunes Library... structure


WHAT DIDN'T WORK


  1. Using the Migration Assistant.   I wanted a clean setup, created a new user on the new Mac, but the Assistant also recreated a "new old" user on the new system and suspiciously quickly copied over something.  I ended up with a new Music Library under a different user that contained neither my playlists nor the original rips, only purchased and Apple Music stuff.  No good
  2. Option-clicking the Catalina Music app and selecting the old .itl file - the same thing without even the playlists.
  3. Trying Import Playlist... from the Mac mini - nothing


So I thought if in the old setup the actual iTunes Library.itl was residing on a non-system volume (Data/Music/iTunes Library) along with all the ripped albums, how the heck the new Music app is going to tell the difference if I make the path to the library database file exactly the same?


I then changed the name of the external drive from the default "LaCie" to "Data", Option-selected the Music App on the Mac mini, pointed to the old iTunes Library.itl database  and voilà! - all of my files and playlists are here.


I hope the above makes sense. In any case, the solution seems to be to move your library and the location of the database to an external volume and do the same so you skip the extra steps here because of my unnecessarily complex scenario (moving the library from the internal hard drive an old computer running High Sierra to the external drive on the new one running Catalina)


Спасибо!

Similar questions

93 replies

Nov 26, 2019 6:43 AM in response to turingtest2

oh my I deleted this old xml file because I had my 'library' on my Synology-NAS. That had an app called ITunes server and all songs were in iTunes on my computer.

Because of this, and the fact that the file was very old I deleted it some time ago. Why can't I just simply import the whole bunch?

Well it seems a good time to say goodbye to the Apple music app.

Dec 5, 2019 8:36 PM in response to Orestes Chouchoulas

Many thanks! This worked! I struggled in so many, many ways to get my playlists to load, trying a lot of other suggestions off the web. And this finally worked!


One little detail that may help others, and that wasn't immediately clear to me from the above: First you have to go into your old iTunes (in my case, on another laptop), and go to File > Library > Export Library. I put that on my iCloud, and then went in to Music and followed the instructions above. (The file that iTunes exported was simply called Library.xml in my case.)


This saved me so much work. Thanks again!

Dec 25, 2019 4:12 PM in response to Orestes Chouchoulas

Hi,

i tested Catalina on my test Mac Book Pro and have the same issue, my Library dont migrate to the new music app.. Only purchased sources i will see.. The old Library not migrated to the new Music App. With my iTunes (antoher Mac) will running my library without any errors.


I take the same solution (Import Playlost from XML File..)


I Think Apple not interested any solution for this issue.. My used Running IMAC still standing on older OSX 1.14. for al long time,propably...



...




Dec 26, 2019 7:22 AM in response to tim21i_dot

Wow, me too!

I upgraded to Catalina and signed up for Apple Music then my music that was on an external drive just "disappeared".


Only part of the songs that are in my "Music" play.. the other songs pop up a notice to find the location for the song and it is nowhere to be found.. its like they were wiped from my system.

I just finished ripping 200 CD's from my collection into my iMac and donated them before I move.. now I only have 700 of 1800 songs in my library..

I'll be watching this thread.

Oct 18, 2019 1:21 PM in response to turingtest2

Ok, noticed a new behaviour. If I delete all the new "Music" libraries and launch the music app, it pops up this dialogue box:


When I select "Choose Library..." and point it at my "iTunes Library.itl" file, it doesn't like it and pops up the same dialogue box again. If instead I select "Create Library..." it launches and shows just my iTunes purchases, none of my ripped tracks. So the behaviour we are observing is not "half importing" or anything like that. It's actually not importing anything at all, as if the .itl file were not at all parseable.


If that doesn't give anyone any more ideas, I'll downgrade a second Mac to Mojave, install my iTunes library, and then upgrade to Catalina without reformatting. Let's see if that does anything.

Oct 18, 2019 1:51 PM in response to Orestes Chouchoulas

See Repair security permissions for iTunes for Mac - Apple Community to make sure Music is allowed to read the file.


Otherwise see Empty/corrupt iTunes/Music library after upgrade/crash - Apple Community to try repairing the library with a copy from the Previous iTunes Libraries folder. I'd suggest copying, pasting, and renaming as if you were going to open iTunes with rather than simply accessing the file in the Previous iTunes Libraries folder.


tt2

Jan 8, 2020 6:05 PM in response to Orestes Chouchoulas

I, too, have this issue. I've tried everything I could think of to to avail. Tonight I finally broke down and called Apple technical support.


The representative I spoke with initially suggested changing the "Music Media folder location" under Preferences > Files to be the iTunes Media folder from my old iTunes folder structure, which I copied to my Mac after installing Catalina. On the first attempt I got an error along the lines of "required file not found". I did a reboot, tried again, and was able to select the folder. Sadly, upon closing Preferences and restarting the Music app, still none of my music was showing up in the app.


I also tried the Option+Click method when opening the Music app and pointing to my old iTunes Library file. Like Orestes Chouchoulas above, I received an endless loop of the dialog box opening again after selecting the file.


Eventually, the representative suggested I go to File > Import and select the folder that contained my music files from the old iTunes folder structure. For me, that was iTunes > iTunes Media > Music. In doing so, the Music app did import all the songs from my iTunes library, and indeed this may be enough for some. This solution did not, however, import Playlists or carry over any library metadata like the original Date Added, Rating, etc. At this dead end, it would seem Orestes Chouchoulas' solution above – (In the Music app, go to File → Library → Import Playlist… then navigate to your old iTunes folder and select the iTunes Music Library.xml file) – would be better.


The most interesting thing I gleaned from my call was that migration of iTunes libraries to the Music app happens seamlessly and automatically when upgrading from previous versions of macOS to macOS Catalina. Unfortunately, it seems those of us who prefer to do a clean install were not considered. I asked the representative if there are plans to release a migration tool for those of us who did a clean install and, unsurprisingly, he said no.


So, my next course of action is to copy my iTunes library to a Mac running a previous version of macOS and then do any upgrade to Catalina. With any luck, after install I'll have a copy of my iTunes music migrated to the new Music app folder structure. From there, I can copy the files to my own Mac. Cumbersome, no doubt, but as of now I see it as the only potential way to do a true migration of my library.

Feb 13, 2020 9:16 PM in response to MacMarwil

4.) After that, I held the ALT Button on the Keyboard and clicked on the Music app.


this leads to a window where you can pick a Library. sorry, no screenshots, as I am on the road, but I am sure we all know that window 🙂


5.) Pick the File you just renamed (Music Library) in the iTunes Folder and confirm. *


music.app will suggest to save a new Library called „music“. Just save this new Library and it should look like this:



You should now have all your music in your Library and all songs be playing in the app.


So what happened here is, that music.app actually changed the file paths of your music files. If you go to preferences of a song and click the file tab, it should direct exactly to the itunes Folder.


6.) make sure, that your music „home“ directory in music.app preferences is set right (your music Folder)...



now you should have the 90% solution. Everything is working and all songs are playing in the frontend, but in the backend there are still two libraries....


the itunes one from the past, and the music one from now on. So if you add a n ew Album or File (see the highlighted File in the screenshot from above „- - - - . .“ (or so...🙂) it is actually an album that was added after all those steps, and it proves that new library additions will go to the new library...






*Don‘t ask me why, but if you pick the itunes Library.itl the folder paths won‘t be adapted and you‘ll be left with dead links to your music path





Feb 15, 2020 3:01 AM in response to unusualroutine

Yes, I could convert my lib into 128 kBit/s files. I could chop my hands off, too.


The entire process took about 20 minutes for 42,017 files or 409 GB. (Copying the files beforehand from my external Adata SSD took another 23 minutes.) And, again, AT NO POINT in the process of assigning the old lib to Musik does anything duplicate.


Quote: “This sounds like you haven‘t changed the music.app media path in the preferences of the software


Right. But why should I? The path is correct, it’s working.

I could manually move the iTunes Media folder into the Music folder (while the Musik app is closed) and reassign it after opening Musik. But I’m scared of confusing things and make a mess of a formerly running system …


Last night I relied on the .xml file—and it saved my a**. ;)

Fortunately, it contained my newest data. But I know, it won’t get updated any longer. I need to switch to a software that is able to handle the Music Library file—Mixxx won’t do so, I’m afraid.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Import iTunes library into clean installation of Catalina

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