Apple’s new Photos program in OS X 10.10.3 may have difficulty when migrating your old iPhoto library. When it first runs, Photos will create a new library, and do so by migrating from an existing Aperture or iPhoto library, if present. However, there may be a couple of issues where the program will be unable to do so.
The first is a problem where Photos will claim a system or hardware issue is blocking its ability to create a library. This means that either the source disk for the prior library, or the destination disk where Photos is creating the library is damaged. To overcome this, reboot your Mac into Recovery Mode (hold Command-R at startup when you hear the boot chimes) and then use Disk Utility to check for errors on every drive you have attached to your Mac:
- Select a drive in the sidebar.
- Press Command-A to select all drives and devices
- Go to the First Aid tab and click “Repair Disk”
If you are keeping the problematic library on a secondary disk, then attempt to copy it to another one (either external, or your internal drive), and then try importing your photos from it. To select the library, launch Photos with the Option key held down, and then choose your library from the new copied location.
An alternative is to attempt a repair of the library using iPhoto or Aperture, which can be done by launching the program with both the Option and Command keys held. This will bring up the Library First Aid panel, where you can repair various aspects of the library. The repair of both permissions and the database are the more relevant options here.
A final issue when importing your library to Photos is that it may not have permissions to access the locations on your system for importing photos and then saving them to its new library, in which case Photos will issue a permissions-related error. To overcome this, first perform the previously mentioned routine to repair permissions on your iPhoto library, or optionally copy it to an external hard drive. Then select the drive and press Command-i to get info on it, followed by ensuring the box to ignore ownership on the volume is checked.
Next, be sure your photo library destination is properly owned by you. By default, Photos will create the new library in your home folder, so try the following routine to ensure the folder’s default structure is readable:
- Reboot your Mac into Recovery Mode
- Choose Terminal from the Utilities folder
- Type “resetpassword” in the Terminal and press Enter
- Select your drive in the tool that opens
- Select your username from the drop-down menu
- Click the button to reset home folder permissions and ACLs.
- Reboot your Mac normally and try again
In addition to this approach, you can manually target the folder in which Photos is saving its new library, with the following procedure:
- Open the Terminal and type the following (do not press Enter yet):
- Drag the desired destination folder to the Terminal window (if you are unsure, then drag the Pictures folder in your home directory), then press Enter
- Now run the following two commands (you can copy and paste both lines from here)
sudo chown -R $USER $FOLDER; sudo chmod -R 700 $FOLDER
When finished, again attempt to open Pictures and migrate your library. You may need to hold the Option key when launching Photos, to manually select your iPhoto library to import.
still won’t work
I had no problem converting 6 libraries on a MBP. Then another 2 on a RMBP.
But… one of the libraries on the RMBP when open now runs the CPU 100%-%400%.
Not sure if it working on “faces” or something. Leaving it open to see if it stops eventually.
… followup …
Yep, the high CPU usage eventually went away. Photos was processing ‘faces’ or ‘places’ or something. This apparently occurs after the initial import with no warning. So it may appear to be a bug, when in fact its a valid process running in the background.
For 355 20mpx photos it took about 30 minutes and a few hours for 5,500 photos.
Apple should really give that function a process bar during the conversion.
Rebuilt, in aperture, repaired permissions, terminal commands etc tried every trick in the book, eventually worked by, re-downloading iPhoto repairing permissions in iPhoto and rebuilding iPhoto database then import worked, bizarre !
Spent the whole weekend trying to get the new Photos to complete the ‘Preparing Library’ step which prevented me from opening Aperture to do any importing and photography work! Finally seems to complete the task and I’ve been able to get back into Aperture.
Just clicked on the Photos icon again about 2.5hrs ago and the ‘Preparing Libraries’ step is running again.
Disappointed that there is no option to pause the program – and very annoyed that iPhoto has gone away in place of a system that is not working!
Am that sick and tired of flaws in Apple releases that this very we may be my last Apple product. So disappointing that they do not sufficiently test applications before forcing them on the market.
Can I merge all my libraries into one big library?