Skip to main content
Participating Frequently
July 13, 2026
Question

Lightroom Classic folder shows "No Photos in Folder" although the photos are in the catalog

  • July 13, 2026
  • 4 replies
  • 55 views

I'm seeing a very strange Lightroom Classic issue and would appreciate any ideas.

Lightroom Classic: 15.2.1
OS: Windows 11

Symptoms

  • The photos definitely exist in the catalog.
  • I can find them under All Photographs.
  • I can edit them normally.
  • Show in Explorer opens the correct local folder.
  • If I try to import the same file again, Lightroom correctly reports:
    "This photo has already been imported."

However, when I select that folder in the Folders panel:

  • Lightroom displays "No Photos in Folder".
  • The folder badge still shows the correct number of photos.
  • The status bar at the bottom says 0 photos.

Example:

  • Folder 2010 shows 6 photos.
  • Subfolders 07 and 09 each show 1 photo.
  • Selecting any of these folders displays no photos at all.

Additional observations

  • Go to Folder in Library from a photo found in All Photographs doesn't jump to the folder. Instead Lightroom starts "Analyzing Photos" and appears to hang indefinitely.
  • Running Synchronize Folder produced this internal error:
 
UNIQUE constraint failed:
AgLibraryFolder.rootFolder,
AgLibraryFolder.pathFromRoot
  • Running Lightroom's Catalog Integrity Check reports no errors.

The image files are stored locally (not cloud-only), and Show in Explorer always opens the correct folder.

Has anyone seen this before? Is this a known catalog corruption issue, a folder index problem, or something else? Any suggestions would be greatly appreciated.

    4 replies

    JohanElzenga
    Community Expert
    Community Expert
    July 13, 2026

    If Lightroom Classic shows ‘No photos in folder’ while it does show the photos in ‘All Photographs’, then this is often caused by a corrupt ‘Catalogname Helper.lrdata’. Move that out of your catalog folder (Lightroom will rebuild it) to see if that solves the problem.

    -- Johan W. Elzenga
    Participating Frequently
    July 13, 2026

    Thanks. I now tried that.

    I closed Lightroom, moved the entire Catalog Helper.lrdata folder out of the catalog folder, restarted Lightroom and let it rebuild the Helper data.

    Unfortunately, the behavior is exactly the same.

    The photo is still listed in All Photographs and can be edited normally, but the corresponding folder still shows "No Photos in Folder."

    Participating Frequently
    July 13, 2026

    Thanks to your answer, I think I found an important detail that may clarify the problem.

    Show in Explorer opens:

    D:\Google Drive\Google Photos\2010\09

    and the photo is physically located there.

    However, Lightroom's Folders panel does not show a folder 2010 under D:\Google Drive\Google Photos.

    Instead, Lightroom shows a completely different folder:

    D:\2010\09

    That folder is the one that reports 1 photo, but when I select it Lightroom displays "No Photos in Folder".

    The same photo can still be found under All Photographs, can be edited normally, and Show in Explorer always opens

    D:\Google Drive\Google Photos\2010\09.

    So it looks as if the photo belongs to the Google Drive folder, but the Folders panel shows a different folder tree (D:\2010\09) that reports the photo count but does not actually display the photo.

    Does this suggest that the folder hierarchy in the catalog has become inconsistent?

    dj_paige
    Legend
    July 13, 2026

    Thanks to your answer, I think I found an important detail that may clarify the problem.

    Show in Explorer opens:

    D:\Google Drive\Google Photos\2010\09

    and the photo is physically located there.

    However, Lightroom's Folders panel does not show a folder 2010 under D:\Google Drive\Google Photos.

    Instead, Lightroom shows a completely different folder:

    D:\2010\09

    That folder is the one that reports 1 photo, but when I select it Lightroom displays "No Photos in Folder".

    The same photo can still be found under All Photographs, can be edited normally, and Show in Explorer always opens

    D:\Google Drive\Google Photos\2010\09.

    So it looks as if the photo belongs to the Google Drive folder, but the Folders panel shows a different folder tree (D:\2010\09) that reports the photo count but does not actually display the photo.

    Does this suggest that the folder hierarchy in the catalog has become inconsistent?

     

    No, this is not necessarily inconsistency in the catalog. If your right click on the folder panel D:\2010\09 and select Show Parent (maybe select it twice), then what do you see?

    Participating Frequently
    July 13, 2026

    I tried that.

    I right-clicked on folder 2010 and selected Show Parent Folder.

    Instead of showing the parent folder, Lightroom immediately displays this internal database error:

    UNIQUE constraint failed: AgLibraryFolder.rootFolder, AgLibraryFolder.pathFromRoot

    So the error is triggered simply by trying to show the parent folder.

    Participating Frequently
    July 13, 2026

    Thanks for your immediate reply, very much appreciated..

    I already tested exactly that.

    • Show in Explorer opens the correct local folder (D:\Google Drive\Google Photos\...).
    • The photo is found under All Photographs and can be edited normally in the Develop module.
    • If I try to import the same file again from that exact folder, Lightroom says "This photo has already been imported."

    So Lightroom definitely knows the correct file and its location.

    The strange part is that selecting that same folder in the Folders panel still shows "No Photos in Folder."

    In addition, Go to Folder in Library does not work correctly, and Synchronize Folder produces the internal error:

    UNIQUE constraint failed: AgLibraryFolder.rootFolder, AgLibraryFolder.pathFromRoot

    That's why I don't think this is simply a case of importing with Copy instead of Add.

    dj_paige
    Legend
    July 13, 2026

    If you right-click in LrC on one of the photos and select Show in Explorer, we will have definitive evidence of what folder LrC thinks the photo is in. You have the EXACT symptoms of importing using Copy rather than Add. All of your other statements don’t convince me. It will take you maybe 15 seconds to try this, and then we will both know whether I am right or I am wrong.


    Clearly, LrC thinks the photo is in a different folder than you think it is in.

    dj_paige
    Legend
    July 13, 2026

    Symptoms

    • The photos definitely exist in the catalog.
    • I can find them under All Photographs.
    • I can edit them normally.
    • Show in Explorer opens the correct local folder.
    • If I try to import the same file again, Lightroom correctly reports:
      "This photo has already been imported."

    However, when I select that folder in the Folders panel:

    • Lightroom displays "No Photos in Folder".
    • The folder badge still shows the correct number of photos.
    • The status bar at the bottom says 0 photos.

    If the photos are found under All Photographs, then you need to right-click on one of these photos and select Show in Explorer or Go to Folder in Library. This will tell you what folder the photos are in. Obviously, the photos are not in the folder you think they are in; you are looking in the wrong folder in the LrC folder panel.

    Why does this happen? Because you probably accidentally imported using Copy instead of Add. So the photos are now in a different folder than you think they are in. LrC knows only about the  copy it made, and doesn’t know about the original in the original folder that you think the photos are in. LrC thinks they are in a different folder and so you have to look in that different folder.