Skorpion
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Skorpion
-
-
14 hours ago, Andrew said:
Could you confirm that Spotlight is finding the files which Alfred isn't? As that makes the difference between needing a reindex vs a permission issue of sorts.
Yes, I can confirm that Spotlight is able to find the file. Please see attachments below:
What makes matters more interesting is that `find' seems to work when I'm searching for folders in ~/, but it somehow fails when I'm searching for files under the same path. jhutch's comment above indicates they have the same issue. Below illustrate what I mean:
-
2 hours ago, Vero said:
@Skorpion It looks like you removed some of the essential information such as the file path and the mdls file metadata.
If you're not comfortable sharing that information in public and you're a Powerpack license holder, you can pop an email to our info@ email address with your details and I'll take a further look.
Cheers,
VeroHi! I've created a new .png file in ~/Desktop/ and I've also added ~/Desktop to my Search Scope. Below is the result from troubleshooting:
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
Nevertheless, typing "find fileSearchTest" or simply "find file" still does not return anything.
-
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):
QuoteWhile I can't conclusively say so, I'm wondering if something is wrong in Apple's current transfer process resulting in broken permissions for apps or underlying issues with the index.
If you create a brand new user account and perform some searches on the new profile, what behaviour are you seeing between Alfred and Spotlight?
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.
File Search issue in MacOS Monterey after Migration Assistant
in Discussion & Help
Posted
@VeroThank you for that suggestion. Opening up a new account without using Time Machine solves the issue on my laptop too!