Author Topic: Unable to remove folder or Update Folder Location from catalogs  (Read 377 times)

Offline ejhutch

  • Member
  • **
  • Posts: 63
    • View Profile
Unable to remove folder or Update Folder Location from catalogs
« on: December 23, 2025, 11:59:29 AM »
Hi,
I seem to be unable to remove some folders from some of my catalogs. Here's the error message in Catalog Status when I try this operation:

[Tue 14:43:52] Error: CatalogState.path_tree_change: No sharepoint mapping found for path_from. Can't continue. (path_from="/Volumes/PRO-BLADE/Pro-Blade Pictures/", path_to="/Volumes/Ed PRO-BLADE/Pro-Blade Pictures/")
[Tue 14:45:18] Error: CatalogState.path_tree_change: No sharepoint mapping found for path_from. Can't continue. (path_from="/Volumes/PRO-BLADE/Pro-Blade Pictures/PB_Ingest Backups/Family/Grace Wolfpups December Tournament at Heathwood Dec 2 2023/Captured 2023-12-02/", path_to="/Volumes/Ed PRO-BLADE/Pro-Blade Pictures/PB_Ingest Backups/Family/Grace Wolfpups December Tournament at Heathwood Dec 2 2023/Captured 2023-12-02/")

The situation seems to be that at some point, I changed the name of the external SSD that was /Volumes/PRO-BLADE from PRO-BLADE to Ed PRO-BLADE. So the mount point changed from /Volumes/PRO-BLADE to /Volumes/Ed PRO-BLADE.

So some of my catalogs which had folders that were on PRO-BLADE and are now on Ed PRO-BLADE seem to show most of the correct folders in their new location... Ed PRO-BLADE/Pro-Blade Pictures/... But some of the catalogs seem to still contain folders (with no images) in the old location... PRO-BLADE/...  And If I try to either remove any folder from the PRO-BLADE folder on down the tree, or Update the Folder Location of that folder, Nothing seems to happen and the errors above appear.

I finally "Forgot" and then re-created a new catalog for one of the catalogs behaving like this, but I am unable to move collections from the old forgotten catalog to the new catalog because that functionality doesn't exist currently (hopefully, though, yet and not never).

I'd rather not re-create my catalogs to resolve this issue if at all possible.

Hopefully this makes sense.

Any suggestions?

Thanks!

Offline braver

  • Newcomer
  • *
  • Posts: 46
    • View Profile
Re: Unable to remove folder or Update Folder Location from catalogs
« Reply #1 on: December 27, 2025, 03:59:41 PM »
I had exactly the same problem.  Browse by folder path shows green for a bunch of paths that no longer exist locally.  And those folders in the Browse mode cannot be removed.

Catalog Status showed a bunch of errors of the kind, paraphrasing, unexpected path tree update: image not under /Volume/Old_volume.  But I wanted to update Old_voume to New_volume exactly because I moved the images from the Old to the New volume.  Even worse, when I renamed the Old_volume to New_volume and back and then removed the old volume from the Browse path, the new volume folders disappeared from the catalog!

There seems to be bugs in the Update Folder Path and Remove Folder code in the Browse by Folder Path mode.

Offline braver

  • Newcomer
  • *
  • Posts: 46
    • View Profile
Re: Unable to remove folder or Update Folder Location from catalogs
« Reply #2 on: January 07, 2026, 06:32:57 PM »
After some more experiments, as detailed in the thread Experiments in Updating Folder Location, I've found that having the source paths online allows to Update Folder Location to proceed.  It worked fine for me where I had both external drives for the old and new paths.  It did not work for a folder that was moved, where no source paths remained valid.

Offline ejhutch

  • Member
  • **
  • Posts: 63
    • View Profile
Re: Unable to remove folder or Update Folder Location from catalogs
« Reply #3 on: Yesterday at 05:29:30 AM »
That seems to match my experience. In my case, I had renamed an external ssd — outside of PM — and since I’m still storing photos on it, and now have the majority of the photos on it cataloged under the new name, in the new location, I can’t really rename it back. People don’t rename drives often, but I can totally see other PM users with external ssd’s or other external usb drives more likely experiencing this.

Offline braver

  • Newcomer
  • *
  • Posts: 46
    • View Profile
Re: Unable to remove folder or Update Folder Location from catalogs
« Reply #4 on: Yesterday at 07:37:32 AM »
I've tried renaming an external drive back when I saw errors with the old name in the Catalog Status.  I moved folders away from it and wanted to update to new location.  When I deleted the folder in Browse, it deleted the renamed one too!  I'd be weary removing folders under the old path in such a case.  Overall looks like Update Folder Path/Remove Folder could use work.

Offline ejhutch

  • Member
  • **
  • Posts: 63
    • View Profile
I've tried renaming an external drive back when I saw errors with the old name in the Catalog Status.  I moved folders away from it and wanted to update to new location.  When I deleted the folder in Browse, it deleted the renamed one too!  I'd be weary removing folders under the old path in such a case.  Overall looks like Update Folder Path/Remove Folder could use work.
I agree. I wonder if someone other than the two of us will comment?