Fix Photos unable to migrate your photo library

PhotosIconXApple’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:

  1. Select a drive in the sidebar.
  2. Press Command-A to select all drives and devices
  3. Go to the First Aid tab and click “Repair Disk”

While you can first verify the disks and then repair them, if there are no errors then this will be redundant, and if there are then you will likely need to repair them anyway.

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.

iPhoto library first aid

Holding the Option and Command keys when launching iPhoto will bring up this window, allowing you to repair your current library before you import it into Photos.

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:

  1. Reboot your Mac into Recovery Mode
  2. Choose Terminal from the Utilities folder
  3. Type “resetpassword” in the Terminal and press Enter
  4. Select your drive in the tool that opens
  5. Select your username from the drop-down menu
  6. Click the button to reset home folder permissions and ACLs.
  7. 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:

  1. Open the Terminal and type the following (do not press Enter yet):
    FOLDER=
  2. 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
  3. 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.

6 thoughts on “Fix Photos unable to migrate your photo library

  1. Comment Zilla (@Commentzilla)

    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.

  2. Comment Zilla (@Commentzilla)

    … 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.

  3. Andrew Gibson

    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 !

  4. Georgie

    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.

Comments are closed.