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

Photos error "an unexpected error occurred attempting to prepare your library"

Hello Everybody,


Today I've updated to the latest version of Yosemite and launched the Photos application. After about 15 minutes, the following error appears when the app is trying to build my photo library: "an unexpected error occurred attempting to prepare your library". Progress didn't go over 30%, even when not selecting to use iCloud Photo Library.

System info: Macbook Pro Mid 2012, Yosemite 10.10.3


Thanks a lot for your help!


Regards,


Fernando

MacBook Pro, OS X Yosemite (10.10.3)

Posted on Apr 8, 2015 5:11 PM

Reply
11 replies

Apr 8, 2015 5:35 PM in response to ferhlopez

Same thing has happened to me. I'm using a MacBook Aluminum (Late 2008) upgraded to 8GB of RAM and 1TB HDD running Yosemite 10.10.3. I successfully set up the photo app on an admin account that has no photos, but had the same error on my main user account.

Troubleshooting attempted so far:

1. Closed the app then tried again - did not correct the error

2. Rebooted then tried opening Photo App - did not correct the error

3. Rebooted in "Safe Mode" and repaired disk permissions - did not correct the error


I'm currently copying all my photo's to an external HDD with the intention of deleting my iPhoto library (once complete) then setting up the Photo App with no photos in my library. I'm hoping it will allow me to set it up at that point like it did with my admin account, then import all my old pics. I still have about 2 hours to go until my photos have copied over to my external HDD. I'm hoping someone will come along with a better solution. I really don't want to spend several hours/day re-organizing my photos.

Apr 8, 2015 7:01 PM in response to ferhlopez

I've got the same thing happening. After 3-4 hours the new Photos app fails at 30%. The only thing differently that I'm doing is my library is stored on a Samba share on my network. I have a linux server where my 16GB iPhoto Library lives. Interestingly, the new "Photos" library gets created on the disk and is even larger than 16GB but the photos app crashes. Upon relaunching, it starts the entire process over. I've done it twice and have two of these broken "photos" libraries.

Apr 9, 2015 7:48 AM in response to ferhlopez

Was able to find a fix that worked for me. As you can see from my previous post Steps 1-3 did not work on their own but they may have played a part in my overall fix. Once my backup of my photos was complete I decided to try the following steps.

1. Rebooted my computer

2. Opened iPhoto by pressing and holding command and option until the rebuild photo library option appeared. I selected the "Rebuild Database" option. It says it should be used as a last resort, but it was my first choice none the less.

3. Rebooted my computer

4. Opened finder and navigated to my "Pictures" folder

5. Deleted the "Photos Library"

6. Rebooted my computer

7. Opened the Photos app.


I'm not sure if all of those reboots were necessary, but they were the steps I followed and sure enough after it was all said and done my Photos app is now working. Good luck and hope you have the same positive results I did.

Apr 9, 2015 7:50 AM in response to ferhlopez

Hi All,


Since I was not a iPhoto user (I had the same issue described above when trying to import my iCloud pics and decided it was not worth it), I just deleted the photos library and tried again...all worked ok, except that Photos only imported the iCloud pics from the last 30 days...I'll keep my fingers crossed and wait a few more hours...


Thanks and regards,


Fernando

Photos error "an unexpected error occurred attempting to prepare your library"

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