If you use Adobe Lightroom then let me warn you, the following dialog box is the last thing you want to see when all is configured correctly (permissions are correct and another application is not using the catalog). Why? Because it means that your catalog file is inaccessible and may have big problems. The net result being lost work and time to fix the problem. Alas there is something you can do before this ever appears that will save you from spontaneously cursing late in the evening and/or instantly turning your hair white, but first a short story…
Learn From My Experience
This past Friday night at 11pm I was that guy in a darkened room being warmed by the glow of my monitor and cursing at the dialog box pictured above. Innocently enough I thought I’d work on an image or two before bed and brought up Lightroom 3.4.1, but the Zen-like activity of working on an image or two (cue the sound of water trickling over a cascading slope of river rocks with birds chirping above) was abruptly cut short (cue sound of a needle scratching on a record). Panic didn’t set in right away because I backup my Lightroom library on an external hard drive (see my drive setup) and I also employ Apple’s Timemachine backup function for my primary hard drive that houses my Lightroom catalog.
Note: It’s best practice to not keep your working Adobe catalog on an external drive due to degraded performance.
Remembering that I had these two backup mechanisms in place I thought, “Keep it together Jim. Let’s see if we can retrieve things to make this a quick fix before bed.” Then 30 milliseconds later my inner voice countered, “Shit! You’ve avoided backing up your Lightroom library for a at least 2 weeks so you could shut down your computer more quickly. Good job Jim, considering you just made a bunch of new smart collections and keyworded hundreds of photos.” Sure enough I looked and my last catalog backup via Lightroom was made to my external hard drive over two weeks before all my recent work had been completed. Backup plan #1 was a failure purely because I was lazy and impatient.
I then started sorting through my Timemachine drive to find my Lightroom catalog date stamped Thursday (the day before this mess happened). There were multiple backups for Thursday and Friday so I was starting to feel relieved, but then I noticed the file size was half what it should be. I loaded the catalog and sure enough it was what my Lightroom catalog looked like not days or weeks ago, but several months ago. I’ll spare you the cuss filled thoughts that were shooting through my brain at this point. I opened backup after back up for the past week or two and Timemachine had not updated my catalog for what seems to be months…seemingly just duplicating an older copy.
As you can imagine the thought, “Holy shit!” kept repeating in my mind. Instantly I opened a browser window and I started searching on Google “Lightroom cannot use the catalog named” and what I found was limited, very limited in fact. Most of the posts were for version 2 and not version 3. The one thing that was consistent advice was to delete the lrcat.lock file that comes up next to your catalog file ending with lrcat. (Note: Do not delete your catalog file ending in .lrcat that is having problems!!!!) I deleted the lrcat.lock file and reloaded Lighroom but kept getting the same result, seeing that dreaded dialog box. I was resigned to having to eat the loss of a lot of work at this point. At best I’d have to copy and paste metadata from exported files made the past 2 weeks to get back to where I was before my catalog had problems.
Finally as a last resort I decided to restart my computer. The lrcat.lock file was removed and the catalog file didn’t show any signs of corruption you might visually see on a Mac. After my restart I loaded Lightroom and…
everything came up normal. So with out any hesitation I quit Lightroom and at the prompt backed up my catalog via Lightroom’s backup function. I then made a triple backup by copying the verified working catalog to a thumb-drive I carry on my keychain.
Lessons Learned, Please Take Note:
- Don’t be lazy and regularly backup your Lightroom catalog especially after completing a lot of work.
- Have a backup of your backup catalog
- Don’t rely on Timemachine as a backup for your Lightroom catalog. Period.
- Verify that your backup catalogs work
- Seriously don’t be lazy and regularly backup your Lightroom catalog!!!
Left Wondering
Granted I didn’t look at every forum entry when searching for a solution to this problem, but those that came up at the top of the search results were not helpful and dated. I was surprised I couldn’t easily find something in the Adobe Labs forum about this that was relevant to version 3.x either. While things are working again I’m not 100% satisfied and I’m going to be researching further what exactly caused my catalog to become inaccessible. Seeing that my Lightroom catalog now spans content on 4 drives and contains information for 110,000 image I’m not keen to risk losing it all.
Addendum
I should have noted that I do convert all my RAW files to DNG and save my metadata to the DNG file. So worst case in this scenario I would have had to rebuild my catalog recreating smart collections and regular collections.
Note: The reason for DNG use is to save metadata to my files without juggling 2 files (RAW and XMP). This makes it easy to keyword in the field while on my laptop and to transfer the files and my work into my workstation master Lightroom catalog. For more on why I use DNG read DNG, RAW and JPEG: What I Use & Why
[tags]Adobe, Lightroom, backup, error, best practice[/tags]
So true! It takes a long time to back up but so worth it!
You should try the latest version of TPG LR Backup. It saves all your Lightroom settings and creates compressed copied of your LR catalog, automatically on a frequency you choose. It has saved my bacon a few times…
Pingback: Daily Digest For Monday, August 8, 2011 | Henry's Photo Club
You don’t embed keywords in the metadata of the images themselves? I figure it’s bad to have your keywords application specific in some lightroom file.
While I haven’t had this particular problem, we’ve all “been there” in one way or another – biting our nails, hoping, praying, that hours of work haven’t been lost. So I was relieved to read that you were able to find a solution. Not as relieved as you were I bet!
Good advice about the backups.
Good advise Jim. I’m borderline paranoid about backups. In addition to my two RAID units, I have a physical offsite and even smaller drives that I drag and drop regular hourly updates to if I’m making lots of changes.
Great tip Sean. I’ll definitely look into that.
You can never be too paranoid about backups in my opinion.
Thanks Michael. I think its wise to pursue every backup opportunity that you can. Even in this situation if the catalog had been inaccessible permanently I’d still have retained some of my work as I had been saving my metadata to the DNG files.
Backups with Lightroom pose a challenge as the catalog helps provide order to your images in addition to housing metadata. But you can backup metadata directly to your files if you use DNG providing a certain degree of redundancy in a doomsday scenario. Then on top of that you need to backup your image files. It never ends, but situations like these make the backup efforts worthwhile.
I added an addendum to the post. I convert all my RAW files to DNG and save my metadata to the files. So worst case scenario I would have lost the new organization in my catalog. Thanks for the comment and great point.
Indeed Dru!
Hi Jim,
Great article. Thx.
About your note…
Note: It’s best practice to not keep your working Adobe catalog on an external drive due to degraded performance.
I don’t have any problems and I can make a mirror due to RAID. I wonder why and how it affects the performance?
Pingback: Gesammelte Links Woche 32/11 | nicolasheinzelmann.com
Pingback: Adobe Lightroom Lesson to Learn – Backup Your Library » JMG … « Information Site Weblog
Pingback: Adobe Lightroom Lesson to Learn – Backup Your Library » JMG … « Info Weblog
Pingback: PhotoNetCast #61 - Improving your workflow | PhotoNetCast - Photography podcast
Interesting experience – especially as I also ‘skip’ the backups – I won’t in future
Hi, Something similar happenned to me after a Bios code update on my pc.
The Raid1 drive was affected, even if hte Raid is still functionnal it is not defined as so in the Bios.But Lightroom had a hard time recognizing the Calalog file.
Lucky for me I had a very recent good backup. did loose about an hour of work. 🙂
But to comment on the DNG export….it is something I had figured it would protect my original files and all the changes I do in Lightroom ( I also embed the original Raw file in the DNG).Had a discussion on this few weeks ago on a photo forum and people were saying that some data is lost when exporting to DNG. I know i’ll loose things like the Collections but this DNG export is one more layer in my backup strategy.And most important is protects the original Raw and includes all Metadata and developpement applied to the picture.
Cheers!
Great post! For me good is XMP. If LR database file broke, i get information from XPP files. Please visit my website – http://www.ekfoto.lv