Jump to content

Home folder non-searchable in macOS Ventura


hpiwzqda

Recommended Posts

Hello,

 

I've updated from macOS Mojave 10.14.6 to macOS Ventura 13.5.1. After the Spotlight has finished indexing I:

  • wasn't able to find a file inside a home folder in Alfred
  • was able to find a file inside a home folder in Spotlight itself

 

Diagnostics:

 

Starting Diagnostics...

File: 'web_mount.command'
Path: '/Users/alex/Desktop/VM/VirtualBox/VM'

-----------------------------------------------------------

Check file cache database...

File cache integrity is ok

-----------------------------------------------------------

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 493
Underlying Type: NSFileTypeRegular
Extended Attributes: (
    "com.apple.lastuseddate#PS"
)

-----------------------------------------------------------

Check if volume '/' is indexed by macOS...

Indexing is enabled on this drive

-----------------------------------------------------------

Check direct file metadata...

Direct metadata available

Display Name: web_mount
 Other Names: web_mount.command
Content Type: com.apple.terminal.shell-script
   Last Used: 2023-08-20 13:46:06 +0000

-----------------------------------------------------------

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "web_mount.command"
_kMDItemEngagementData             = {length = 11, bytes = 0x0900000080c748c5410002}
kMDItemAlternateNames              = (
    "web_mount.command"
)
kMDItemContentCreationDate         = 2012-11-08 08:28:33 +0000
kMDItemContentCreationDate_Ranking = 2012-11-08 00:00:00 +0000
kMDItemContentModificationDate     = 2023-08-20 09:59:18 +0000
kMDItemContentType                 = "com.apple.terminal.shell-script"
kMDItemContentTypeTree             = (
    "com.apple.terminal.shell-script",
    "public.shell-script",
    "public.script",
    "public.source-code",
    "public.plain-text",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemDateAdded                   = 2023-08-19 16:25:18 +0000
kMDItemDisplayName                 = "web_mount"
kMDItemDocumentIdentifier          = 0
kMDItemFSContentChangeDate         = 2023-08-20 09:59:18 +0000
kMDItemFSCreationDate              = 2012-11-08 08:28:33 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "web_mount.command"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 479
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2023-08-20 00:00:00 +0000
kMDItemKind                        = "Terminal shell script"
kMDItemLastUsedDate                = 2023-08-20 13:46:06 +0000
kMDItemLastUsedDate_Ranking        = 2023-08-20 00:00:00 +0000
kMDItemLogicalSize                 = 479
kMDItemPhysicalSize                = 4096
kMDItemUseCount                    = 14
kMDItemUsedDates                   = (
    "2023-08-09 07:00:00 +0000",
    "2023-08-19 21:00:00 +0000"
)

-----------------------------------------------------------

Check file is in search scope...

File exists within Alfred's default search scope

-----------------------------------------------------------

Check MDQuery file search...

macOS did not return a match for this file in your search scope. Try resetting Alfred's Preferences > Features > Default Results > Search Scope > Reset... to "Reset to Full Disk"

File Search Results for search scope (
)

File Search Results for ~/ (
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/alex/Desktop/VM/VirtualBox/VM/web_mount.command"
)

-----------------------------------------------------------

Troubleshooting failed
 

As you can see the macOS Ventura indexes the user's home folder as "/System/Volumes/Data/Users/alex" in Spotlight, but Alfred is searching in the "/Users/alex" folder. Folders are not a symlink to each other.

 

When I use "Reset to Full Disk", then search starts working again.

 

Maybe it's a bug in macOS Ventura because searching for any file in a Finder produces no results. When I reset the search scope to "This Mac", then I see results.

 

Alfred version: Alfred 5.1.2 Build 2145, Wednesday 2nd August 2023

Alfred 5 Search Configuration.png

Edited by aik099
Link to comment
Share on other sites

I have the same issue and had to reset Search Scope to Full Disk in order to be able to find anything.

Looks like everything is indexed under "/System/Volumes/Data/Users/" and not "/Users/"

Edited by qohelet
Link to comment
Share on other sites

26 minutes ago, qohelet said:

I have the same issue and had to reset Search Scope to Full Disk in order to be able to find anything.

Looks like everything is indexed under "/System/Volumes/Data/Users/" and not "/Users/"

@qohelet, Do you also have a direct search problem in Finder, as above described?

 

Maybe it's a bug in macOS Ventura because searching for any file in a Finder produces no results. When I reset the search scope to "This Mac", then I see results.

image.png.4c6bd21fd78831ebe867aca815a4be32.png

 

image.png.640af0207bdb41b15a2f5b571911e19f.png

 

image.png.b2c0dd817652f971a34b05efd6816f17.png

Edited by aik099
Link to comment
Share on other sites

@qohelet, also please answer this:

  1. what macOS version do you have (mine is macOS Ventura 13.5.1)?
  2. what Mac model do you have (mine is MacBookPro10,1)? you can detect it by running 
    system_profiler SPHardwareDataType | grep 'Model Identifier'

    command in the Terminal;

  3. have you installed macOS natively or using Open Core Legacy Patcher (or similar) means?

Thank you.

Link to comment
Share on other sites

10 hours ago, qohelet said:

Looks like the issue is known, I solved rebuilding the spotlight index from recovery following this: https://discussions.apple.com/thread/254848225?answerId=259026449022#259026449022

 

Anyway:

1. Same 13.5.1

2. MacBookPro18,4

3. Natively

@qohelet, That was exactly what I needed. Now the problem is solved.

 

Wasn't a problem with Alfred after all. Now I've changed Alfred search settings back to home folder and everything works again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...