Skip to content

Instantly share code, notes, and snippets.

@Raefael
Created May 13, 2013 11:30
Show Gist options
  • Select an option

  • Save Raefael/5567688 to your computer and use it in GitHub Desktop.

Select an option

Save Raefael/5567688 to your computer and use it in GitHub Desktop.
repair a locked iPhoto Library
# If the Library is on a Time Capsule
disconnect all users from the TC
disconnect the TC
# generall options
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
 
If that fails:
 
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords 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.
Option 3
0. make sure iPhoto is not running.
1. Launch the Terminal application from the Applications folder
2. in the Terminal window type:
cd Pictures/iPhoto\ Library
ls -l iPhotoLock.data
3. If you see something like "-rw-rw-rw- 1 skenderov staff 1 Oct 24 13:19 iPhotoLock.data" type:
rm iPhotoLock.data
3. Try starting iPhoto again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment