Skip to main content
Known Participant
July 28, 2024
Question

Still having error reading cache message

  • July 28, 2024
  • 6 replies
  • 835 views

I have LR 5.7.1.  A few weeks ago I got the error reading cache message in my primary catalog. I got nice help from this list and removed the two things---root pixelss and db files. II'm hoping not to confuse people by the following.  I did not move these two items to the trash bin. I DELETED (maybe like an idiot) the entire icon containing these two things. That did not appear to solve the problem  On a second icon I did move the root pixels and db thing to the trash bin. Still no luck getting into my primary catalog whne trying to get into LR from the desktop icon. But I discovered  if I clicked on the icon under lightroom pics in my computer I could get into my secondary catalog.. I'm not sure if I succeeded in getting into my secondary catalog before or after removing the two items. I still can't get into my primary catalog. Before I take a squirt gun to my head someone please tell me I haven't killed my primary catalog by stupidly deleting an entire icon, and if there are any thoughts on how to get back into my primary catalog.

Thanks, Bunkie Boy

This topic has been closed for replies.

6 replies

Rob_Cullen
Community Expert
Community Expert
July 31, 2024

You are getting good answers from @GoldingD  and to be specific about your questions-

"Under an icon titled "LR catalog previews LR data there are two files: "Preview.DB" and "Root pixels.DB". Are you saying I should delete one of these files?"

Not exactly. You should Delete/Remove/Send to Trash the entire 'Previews' package/file, that includes the two .DB files you are referring to .  ie. Delete/Send to Trash: { catalog Name Previews.LRDATA }

What is the difference between deleting and sending to recycle bin?"

None. Different terminology for PC and Mac systems.

 

Regards. My System: Windows-11, Lightroom-Classic 15.3, Photoshop 27.5, ACR 18.3, Lightroom 9.3, Lr-iOS 10.4.0, Bridge 16.0.3 .
bunkieboyAuthor
Known Participant
August 2, 2024

Hi Rob, please pardon me for being a neurotic, but I fear really screwing things up by doing any more improper deleting.  Just to confirm, are you saying I should delete the entire icon that says LR5 catalog previews lrdata?

Thanks, Bob and Mr Golding for sticking with me.

 

Bunkie Boy

Rob_Cullen
Community Expert
Community Expert
July 30, 2024

Some added advice to the posts from @GoldingD :

 

It seems you followed the instructions at PREVIEW CACHE ERRORS GRAY PREVIEWS 

And you would be correct in deleting a { Catalog Name Previews.LRDATA } file, BUT ONLY that specific file!.

When you re-open a catalog (by [double-clicking] an .LRCAT file), all the previews in the .LRDATA folder are slowly re-built in a new  { Catalog Name Previews.LRDATA } file.

 

You also state- "I hit the "catalogircat lock " icon "  The file with a .LOCK filetype suffix should only ever be present when a catalog is open and operating. If you try to open a catalog when its .LOCK file exists it should throw up a message like 'the Catalog is open in another app'.  This is a different problem to the corrupt Previews cache, but is simply corrected by deleting the {catalog name .LRDATA.LOCK} file and ONLY the .LOCK file!

 

It is sounding more like you did in fact delete your primary Catalog file. And the only way to restore 'it' is to find and open the most recent backup of that specific catalog.  (I don't remember if Lr5.7 created ZIP backups but simply saved a copy of the .LRCAT file.)

 

Regards. My System: Windows-11, Lightroom-Classic 15.3, Photoshop 27.5, ACR 18.3, Lightroom 9.3, Lr-iOS 10.4.0, Bridge 16.0.3 .
bunkieboyAuthor
Known Participant
July 30, 2024

Thanks Rob for taking the time to deal with my problem and for clarifying the lock issue. I thought I might have some malware. Would you mind clarifying something? Under an icon titled "LR catalog previews LR data there are two files: "Preview.DB" and "Root pixels.DB". Are you saying I should delete one of these files? What is the difference between deleting and sending to recycle bin?

 

Thank you, Bunkie boy

GoldingD
Legend
July 30, 2024
quote

Thanks Rob for taking the time to deal with my problem and for clarifying the lock issue. I thought I might have some malware. Would you mind clarifying something? Under an icon titled "LR catalog previews LR data there are two files: "Preview.DB" and "Root pixels.DB". Are you saying I should delete one of these files? What is the difference between deleting and sending to recycle bin?

 

Thank you, Bunkie boy


By @bunkieboy

Ok, I think I know what two files you are referring to, not sure why you would want to delete them. If you had issues with Library Previews, and in thiss case the error about a CACHE indicates that, I would think one would just delete the previews folder, not a component in it. (See links at bottom) Can you post a screenshot? Use Windows File explorer, bring up the folder containing your catalog, take a screenshot, and paste that in a reply

 

example :

 

And if I open that Library Previews folder, I see:

 

 

and some links:

 

 

GoldingD
Legend
July 30, 2024

 

 

1)If I can't get into my primary catalog, is there some way to make my backup catalog my primary one?

 

 

had to get back to you on that. And perhaps another member can speak up (a bit surprised they have not stepped in on the other reply just yet, hopefully they will provide an improved reply)

 

So, normally the backup, and I hope you have multiple backups, when you need it, is processed as follows (their are variations)

 

  1. Use your OS File Manager (In this case Windows File Manager) to locate the catalog that is giving you issues.
  2. Move that catalog to another folder, or rename it.
  3. Locate the hard drive your backup catalog is on (hopefully not the same hard drive as your working catalog) And then the folder the backup is in, and finally the backup catalog.
  4. Copy the backup from the backup folder to the desired folder. The folder the catalog that is giving you trouble was in (or got renamed)
  5. Decompress (Un zip) the backup, the copy
  6. Double click on the catalog
  7. If the name of the catalog is the same as the previous (damaged) one, and the file paths are the same (reason to copy from the backup location to the working location) Then the catalog should not have issues with missing folders missing images.
  8. Continue with it

 

If your LrC /Preferences/general/ setting for the default catalog is use most recent, then this catalog will be opened next time.

 

The backup catalog you are now using, may not be up to date, depends on your backup regularity. If images are missing due to catalog date, you could try to import them from the damaged catalog.

 

The concept of a Primary Catalog is a user mindset. It can be just the catalog you normally do work in as opposed to say a test catalog. It could be a main catalog you keep on your Desktop computer, as opposed to one on a laptop you take on travel, and then bring over the work in the laptop catalog to the desktop catalog. Whatever. LrC will open, either the most recent catalog used, a specific catalog, or it will prompt you, all based on that one setting in /Preferences/General.

 

P.S Backup strategy, 3-2-1

 

The 3-2-1 backup strategy simply states that you should have 3 copies of your data (your production data and 2 backup copies) on two different media (disk) with one copy off-site for disaster recovery.

Hard drives, NAS, and the Cloud come to mind. And never ever keep a backup on the same drive as the working copy

 

 

 

bunkieboyAuthor
Known Participant
July 30, 2024

I am overwhelmed, both in appreciation and mental capability, by the detailed and generous post by  GoldingD. I don't have a great technological mind, so I hope if I come back to you after a few days of digesting your posts you won't think I'm being stupid or unnecssarily repetitive. I do have a few questions before studying your post.

1)The catalog that opens for me is a C:\users\Al\pictures\lightroombackup/2024. Could you tell me how the C drive got involved with this if I only upload to external drives.

2)Given my current problem, would it be much more simple for me to change the the latest version of LR, or would I have to do a lot of diddling around, given that it's not clear if I'll ever be able to use my primary catalog again.

Thanks, Bunkie boy

GoldingD
Legend
July 30, 2024

 

2)Does the "open recent" option continually list all the catalogs I've used, or do some get erased if by mistake you did something stupid in LR. I'm asking this because I don't know the name of my primary catalog and am wondering if there is some way to find it.

 

 

Ah, I rethought my reply. The Adobe option Open Recent, (actually it states Load most recent catalog) does not refer to multiple recent catalogs, it refers to the most recent catalog, or if you prefer (grammar wise) the previous catalog.

 

 

Now, you could after opening a catalog, use the LrC menu bar, click on FIle, click on Open Recent, and you may see several to pick from

 

 

 

You have windows, so I can remember the keyboard sequence to start LrC in an alternate opening. Another way to start LrC, is to use a combination of your keyboard and a LrC startup icon, hold down on the ALT key, and while holding that down, click, or double click (as required) on the LrC startup icon. And you will be presented with the following:

 

 

From that screen, you can select the recent catalog you desire. Or you could create a new catalog (creating a new catalog this way can be used as a diagnostic if your catalog is funky)

 

Incidentally the above pop up screen, The LrC prompt, is the screen you will see, if in LrC /Preferences/General/ you select Prompt me when starting Lightroom

 

 

 

Now a point about how to find LrC catalog that are on your hard drives. The catalog or catalogs will have the file extension .lrcat. In the above screenshot you can see several. Now for my example, I selected my test catalog that you see listed above in that prompt screen. Using Windows File Explorer, I see this:

 

 

That file I have circle is the catalog. The one ending in .lrcat. Not the others like .lrcat.lock, lrcat-shm. .lrcat-wal. I could have had additional catalog, or copy's of the same but older versions of this catalog. Point is the file ending with .lrcat is a catalog.

 

If you do not know where you placed various catalog, you could always use the Windows File Explore, and search on .lrcat.

 

 

note, some members will scream at me as an old goat keeping multiple catalog. All you need is one. Well as they say in the South, “Aren’t you precious”. Yes old goat old methods, not going to change. I like it that way.

 

GoldingD
Legend
July 29, 2024

Use your Windows File Explorer and select the hard drive, and then the folder that your catalog is in. The catalog will have a .lrcat suffix. Double click on it.

 

bunkieboyAuthor
Known Participant
July 30, 2024

Thamks for your response. Golding D. I couldn't find anything related to a catalog in my external hard drive connected to LR. however, Getting in the catalog that LR permits me to get into, I used the open recent option and opened a back-up catalog which allowed me to see the photos I have in my not-allowing primary catalog. I have two questions.

1)If I can't get into my primary catalog, is there some way to make my backup catalog my primary one?

2)Does the "open recent" option continually list all the catalogs I've used, or do some get erased if by mistake you did something stupid in LR. I'm asking this because I don't know the name of my primary catalog and am wondering if there is some way to find it.

Thanks, Bunkie Boy

Rob_Cullen
Community Expert
Community Expert
July 29, 2024

Was the error message "reading cache" or "reading catalog"?

Catalogs are files with the .LRCAT file-type suffix. Did you delete any .LRCAT files?

An error "reading catalog" would indicate a corrupt catalog. If it will not 'restore' then you can only recover from a backup of the catalog (or use another catalog).

Lr5.7.1 is so old now I don't remember what you might be meaning by- "--root pixelss and db files.

 

Regards. My System: Windows-11, Lightroom-Classic 15.3, Photoshop 27.5, ACR 18.3, Lightroom 9.3, Lr-iOS 10.4.0, Bridge 16.0.3 .
bunkieboyAuthor
Known Participant
July 30, 2024

Thanks, Rob, for your response. The error message has to do with reaiding a chache, not a catalog. I don't think  I deleted any catalog files, unless they were part of the preview icon files I deleted.. The "previews db" and the "rootpixels DB" are two things they tell you to move to the trash to solve your problem.

I hit the "catalogircat lock " icon and was asked by windows what app I wanted to open it with. I hit the "lightroom 5 catalog previewlrdata. " At the bottom of a bunch of folders was to be found "previews DB" and "root pixels DB" things. Should I dare to send these to the trash bin? 

i also want to point out that when I hit  the "LR5 catalog ircat " I was sent to my secondary catalog. From there I made an attempt to open my primary catalog using the "Open Recent" options. I got the error reading preview cache message.

Thanks, Bunkie Boy