Currently Being ModeratedMar 7, 2013 10:05 PM (in response to Crashkup)
How large is your library? For a large library the repair may need a long time, so let it run.
Aperture then takes about 45 minutes or more to get to 70 or 71% done... and never gets beyond that
How long have you waited after the repair starts to hang? Be prepared to wait all day or even longer, if your library is large. Let it run.
The library is on an external disk.
Is this drive formatted correctly - MacOS X Extended?
I tried to transfer the library onto my internal drive but I was unable to copy it (unreadable sections.) ago.
Do you have a backup of your library?
What happened directly before you could not open the library any longer? Did you import new images? Did Aperture crash?
Currently Being ModeratedMar 7, 2013 10:18 PM (in response to léonie)
It's between 12 and 20 gigs. I guess i misinterprated that if force quit tells me Aperture is not responding I should still let it run. I only waited a coule hours at 70 and 71%.
The disk is OS X extended.
I do not have a recent backup I am afraid...
Directly before the crash the plug was accidentally pulled out without the drive being ejected. I think the library was not open at the time though.
Currently Being ModeratedMar 7, 2013 11:04 PM (in response to Crashkup)
I do not have a recent backup I am afraid...
Whatever you do next, you need to create a backup first before you proceed. Any fixing of a broken library may corrupt it further. In Bombay it should be possible to buy a cheap thumbsdrive that can hold your 20 Gigs library.
If you cannot copy it by dragging the Library to your internal drive or a second external, select the library in the Finder and ctrl-click it; select "Show Package Contents" from the Pop-up menu, then try to copy the sub folders one by one.
Directly before the crash the plug was accidentally pulled out without the drive being ejected.
Have you checked the file system on the drive with Disk Utility - pulling the plug may have damaged the file system? Disk Utility has a "First Aid" panel that lets you verify the disk. If the File System needs repairing, use the "Repair Disk" button, but you still need to run Aperture's "repair" or "rebuild" afterwards.
Currently Being ModeratedMar 9, 2013 1:22 AM (in response to Crashkup)
Can I ask, what do I do after I copy the ackage contents?
Keep it as a backup. If you do not succeed to fix the original library, or something goes wrong, you then can try to launch Aperture from this copy.
If you copy the package contents to a folder called "Aperture Library Backup.aplibrary" or something, you should be able double click it and try to launch Aperture using this library. Hopefully you can repair it in the new location.
But I'd try to copy in small installments. If one partial copy does not succeed, you will know exactly, which item in your Aperture library is causing problems and cannot be read. Maybe it is just a single image or video.
Have you run Disk Utility? Did it show any problems with the disk?
Currently Being ModeratedMar 9, 2013 3:14 AM (in response to léonie)
Leonie, Fascinating. I had no idea about “show package contents.” I did this. The only folder that would not copy was the database folder. So I went into the database folder and copied it manually – the only file that would not copy was library.apdb (database/apdb/library.apdb).
Now have the whole library tree copied – minus library.apdb file. It is on my internal lptop drive. What do I do next?
Currently Being ModeratedMar 9, 2013 3:46 AM (in response to Crashkup)
That is one of the files that Aperture recreates when rebuilding the library.
You could try (on your copy, not on the original) to double-click your copied folder "Aperture Library Backup.aplibrary" and to launch Aperture this way on the copy. Aperture should prompt you, if you want to rebuild you library, since database files are missing. Go ahead. This may take some time and may even crash. If it crashes, click "reopen". If you are lucky, your library will be rebuild.
Currently Being ModeratedMar 9, 2013 9:01 AM (in response to léonie)
Wow. It opened. Thanks!!!
Two things seem to be lost. Some or all of the keywords are gone (which is how I find things, so that's rather frustrating.) And there are no thumbnails for the videos. I assume there is a way to rebuild video thumbnais I just haven't figrued it out.
Thanks so much for helping Leonie!
Currently Being ModeratedMar 9, 2013 9:32 AM (in response to Crashkup)
Great, so the library is working again? Check it carefully, if all images are o.k.
Two things seem to be lost. Some or all of the keywords are gone
That is puzzling; I just tried this on one of my test libraries, and all keywords survived the removal of the library.apdb file. How are you checking the keywords? Have you all metadata overlays enabled? If you show the Keywords HUD (Window > Keywords HUD) are all your keywords still defined?
Maybe there is a simpler way, but I recreate the movie thumbnails by resetting the poster frame: Select the movie in the browser, open it, advance it to a frame you like, then click the cogwheel and select "set poster frame". That will create a new thumbnail.