Moderator’s note: If you are facing this issue, see Troubleshooting File Indexing Issues on macOS Monterey. The original post follows, unedited.
Update 11/2:
@Vero said (below):
This has solved my issue and a few other users experiencing the same issue also got it resolved.
--------------------
I got my new MacBook Pro yesterday and I transferred all my files and apps -- Alfred included, of course -- to my new laptop. However, the file search function is not working properly (it was on my old laptop). Things I have tried so far:
Give Alfred 4 Full Disk Access
Clear cache and rebuild MacOS metadata (completed)
Update Alfred 4 to v4.6
Include my folders in Search Scope
Confirmed that all settings are identical to those on my old laptop (on which the file search works normally)
Troubleshoot -- and the results are completely normal: (**update: originally I removed some infos in the diagnosis before posting here; now I have edited the post and attached a complete diagnosis with mdls data.)
Starting Diagnostics...
File: 'fileSearchTest.png'
Path: '/Users/_YQL_/Desktop'
-----------------------------------------------------------
Check file cache database...
✅ File cache integrity is ok
-----------------------------------------------------------
Check if file is readable...
✅ Alfred has permissions to read this file.
-----------------------------------------------------------
Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive
-----------------------------------------------------------
Check direct file metadata...
✅ Direct metadata available
Display Name: fileSearchTest.png
Other Names:
Content Type: public.png
Last Used: 2021-09-07 21:41:47 +0000
-----------------------------------------------------------
Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions = "fileSearchTest.png"
kMDItemBitsPerSample = 32
kMDItemColorSpace = "RGB"
kMDItemContentCreationDate = 2021-09-07 21:41:38 +0000
kMDItemContentCreationDate_Ranking = 2021-09-07 00:00:00 +0000
kMDItemContentModificationDate = 2021-09-07 21:41:38 +0000
kMDItemContentModificationDate_Ranking = 2021-09-07 00:00:00 +0000
kMDItemContentType = "public.png"
kMDItemContentTypeTree = (
"public.png",
"public.image",
"public.data",
"public.item",
"public.content"
)
kMDItemDateAdded = 2021-10-26 21:21:25 +0000
kMDItemDateAdded_Ranking = 2021-10-26 00:00:00 +0000
kMDItemDisplayName = "fileSearchTest.png"
kMDItemDocumentIdentifier = 46
kMDItemDownloadedDate = (
"2021-09-07 21:41:38 +0000"
)
kMDItemFSContentChangeDate = 2021-09-07 21:41:38 +0000
kMDItemFSCreationDate = 2021-09-07 21:41:38 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 8
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = 1
kMDItemFSLabel = 4
kMDItemFSName = "fileSearchTest.png"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 502
kMDItemFSSize = 57968
kMDItemFSTypeCode = ""
kMDItemHasAlphaChannel = 1
kMDItemInterestingDate_Ranking = 2021-09-07 00:00:00 +0000
kMDItemKind = "PNG图像"
kMDItemLastUsedDate = 2021-09-07 21:41:47 +0000
kMDItemLastUsedDate_Ranking = 2021-09-07 00:00:00 +0000
kMDItemLogicalSize = 57968
kMDItemOrientation = 0
kMDItemPhysicalSize = 61440
kMDItemPixelCount = 50625
kMDItemPixelHeight = 225
kMDItemPixelWidth = 225
kMDItemUseCount = 4
kMDItemUsedDates = (
"2021-09-07 07:00:00 +0000"
)
kMDItemUserTags = (
"\U84dd\U8272"
)
kMDItemWhereFroms = (
"https://o.remove.bg/downloads/8e2d67c9-6990-410e-b93a-5a2cf3f91cde/Unknown-removebg-preview.png",
"https://www.remove.bg/"
)
kMDLabel_kqde5prblvaibjifrcn4saxjwi = 0001-01-01 00:00:00 +0000
-----------------------------------------------------------
Check file is in search scope...
✅ File exists within Alfred's default search scope
-----------------------------------------------------------
✅ Troubleshooting passed
With all the attempts above, when I type in "find 408", nothing pops up:
Any help would be greatly appreciated.