Currently Being ModeratedMar 2, 2011 5:10 AM (in response to snkhan)I recently moved my iTunes library to an external drive. This allows me to open it from a 2nd computer as well as the one it is connected to.
I had it open on the 2nd computer where I was syncing a phone. I pulled the phone out before the sync was done (had to go to work) and then had to do a force shut down on that computer.
When I tried returned to iTunes on the main computer, it gave me this error repeatedly. When I quit and tried to come back to iTunes, it would not let me open the library.
After opening iTunes on the 2nd computer once more (and doing a full phone sync - not necessarily related to fixing the problem) and closing it down... then I was able to open it happily again on the primary computer.G5, Mac OS X (10.5.8)
Currently Being ModeratedJan 30, 2012 6:08 AM (in response to iMacPodshuffle)
Go to iTunes, "file", choose export library. Save the library.xml file on your desktop. Quit iTunes, delete the library files in the iTunes folder. Relaunch iTunes, go to "file", click on import library and choose the library.xml file.
I was having this problem in OS X 10.7.2 and this simple trick fixed it. Thanks.
Currently Being ModeratedFeb 11, 2012 5:52 AM (in response to bediddleby)
Hey, just a quick question, you mentioned "delete the library files in the iTunes folder". I was wondering if you meant to delete all library files ? I have "Library Extras.itdb" "Library Genius.itdb" and "Library.itl". Just want to make sure this stuff is all new to me, Thanks !
Currently Being ModeratedFeb 13, 2012 6:09 AM (in response to bediddleby)
I have saved the library.XML as you mentioned, on the desk top. I was just wondering about which other libraries were to be deleted. I have the 3 I mentioned earlier. "iTunes extras.itdb" "iTunes Genius.itdb" and "iTunes library.itl". I appreciate your help, Thanks very much !
Currently Being ModeratedFeb 13, 2012 6:14 AM (in response to handyman3)
Oh, I see what you're saying. I don't believe I deleted any of those other files. They might get recreated after you create your new main library file anyway, but I'm not 100% sure. Maybe someone else can offer better insight here.
Currently Being ModeratedMar 8, 2012 4:11 PM (in response to snkhan)
There's a solution that's even a bit simpler than the already-simple one outlined in this thread. Instead of exporting the library to the desktop, deleting the library files (in the iTunes folder), moving the exported library file to the iTunes folder, importing, etc...
Simply export the iTunes library to the existing iTunes library folder
(Use the same name as the existing library.xml file—and, when asked, confirm that you want to overwrite the existing file.)
Ta-da! No manual file management needed.
Currently Being ModeratedMar 24, 2012 4:00 AM (in response to snkhan)
Thank you so much! I tried two suggestions, unsure which one fixed the problem:
1. Changed my Recently Played smart-list to only display entries from the last two days.
2. Reset my warnings via the advanced menu.
I also happened to switch from SFTP to FTP in a plugin I use. No more silly -54 errors! Thank you again for bearing with me.
I too tried two things (previously unsuggested) and not sure which fixed it. My errors began occurring after I restored my OS X install from a Time Machine backup:
1. File > Library > Organize Library... > Consolidate Files
2. Disk Utility > Repair Disk Permissions
The same error occured a crap load of times during the Consolidate Files process.
It's also worth noting that I had exported my library as suggested in this thread, but decided to give the two options above a try before deleting and importing the library file.
Currently Being ModeratedApr 1, 2012 6:45 PM (in response to snkhan)
i had the same problem today by no reason i try to delete a song from my itunes library and shortly after i got a box with a message saying "The Itunes library file cannot be saved. error (-54) and i was concern because i never got this message before but i came here and i was reading any solution in how to get rid of this message and i just quited my itunes library and open it again and delet the same song and the box was gone i havent received it anymore
Currently Being ModeratedApr 18, 2012 5:15 PM (in response to snkhan)
Same error (-54) here. There are lots of solutions in this thread, but this did it for me:
- deleted all my podcasts and emptied the trash. Restarted itunes. Deleted them again and restarted itunes again.
Currently Being ModeratedMay 21, 2012 4:58 PM (in response to BaristoSan)
Fwiw, Consolidating files did nada for me. Still waiting on the permissions repair to see if that makes a difference. Considering the nature of the error, that's the one that seems it would work, out of the two.
Well, repairing disk permissions seems to have done it. Thanks!