Unable to open Photo library from new Photo App

When I try to open the new Photos App I get the following message "Photos was unable to make a copy of your library before preparing it. Photos does not have the necessary permissions..." I have tried the solution suggested be Apple using Terminal but that does not work. Help please

Mac mini, OS X Yosemite (10.10.3)

Posted on Apr 11, 2015 2:54 AM

Reply
12 replies

Apr 11, 2015 3:01 AM in response to bernardfromcobham

Option 1

Back Up and try rebuild the iPhoto library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.


If that fails:


Option 2

Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)


This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.


Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.


Regards



TD

Jul 12, 2015 12:08 PM in response to bernardfromcobham

This worked for me. I tried all of the complicated fixes suggested by apple such as the terminal app and they did not work for me. My fix was just a simple fix. I went to the finder and right clicked on the pictures folder. I then clicked on get info. I then noticed that locked was check marked. I clicked to unlock the folder and then my photos app started working when setting up. I hope this helps.

Jul 20, 2015 9:17 AM in response to flornigro

I have my iphoto library on the same disk I use for Time Machine. Why should I use another?

Because TM will continue to fill the disk and will eventually reduce the free space available to the point where the iPhoto library will not be able to open. Before that happens imports will be lost and the library can be corrupted by insufficient free space.


Also if you lose the TM disk you'll lose your backups and the library. You won't have a backup copy of the library.

Mar 8, 2016 9:50 AM in response to nmcc5398

It is worthwhile to quicly verify there is no check-mark in the "Locked" box in File-Get Info as you described. In my case, it was not there, however.

And like you, I found that the chown and chmod Terminal commands suggested by Apple at If Photos can’t copy or create a library - Apple Support also did not fix the "Permissions" problem for me, and many others. Here is the fix that, at least for me, did enable Photos to open my old iPhoto Library (copied from and external drive to my Pictures folder); paste the following one line into the Terminal:


sudo chmod -RN /Users/$USER/Pictures/iPhoto*

This assumes you the "iPhoto Library" folder you want Photos to use is in your Pictures folder.

P.S. I added feedback to the apple site telling them "You need to add this additional commands, which did solve the permssions problems for me".

Be careful NOT to do the chmod on /Users/$USER/Pictures, as all the ~/* folders are supposed to have ACL's (to prevent you from changing the names of home-dir folders Documents, Downloads, Pictures, etc.)

You should not have to change $USER to your actual username, either. At least in my tests on 10.10 and 10.11, the $USER is still automatically expanded to my actual username, and not root, even when I use sudo, such as:

sudo echo $USER

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.

Unable to open Photo library from new Photo App

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