iPhoto '11 referenced library problems
I have a huge iPhoto library containing 40 000+ images, as well as a large amount of metadata (comments, Faces,...). Since I need to read-access the image files with other software, I use a referenced library.
Everything was fine until the day I decided to upgrade for a larger HD. So I simply restored full content of my old drive on the new drive using a TimeMachine backup. Nothing else was modified (no directory structure changes, not even the volume name).
Since then, the problems. Essentially, references to the original files are lost: Thumbnails are OK, but upon accessing the larger view, iPhoto asks me to locate the file... After having done so, other pics would load nice, but nothing would stick upon a quit and relaunch of iPhoto... (Funnily, this happens only for pics that were imported *after* I upgraded from iPhoto '08 to iPhoto '11).
I tried many things: rebuilding the database, rebuilding the database on the older drive prior to backup, etc... Nothing would help.
So, my questions:
* Whad did I do wrong?
* Is there a way to "repair" file references? (That should be a fairly obvious functionality of database rebuilding)
* Is hacking into the Library.apdb file part of the officially supported solutions?
Obviously, recreating a new iPhoto library is not an option for me, due to the amount of metadata in my library that I don't know how to transfer. Also, I don't consider upgrading to Aperture, which is just too complex and loaded of features which are totally useless to me.
Running Lion and latest iPhoto update.
Thanks!
iPhoto '11, Mac OS X (10.7)