Jump to content

Alfred only finds some Apps


Recommended Posts

I'm a new user, just purchased and installed today.

Alfred can't find Calendar, Calculator, Clock, Contacts, FaceTime, Notes, etc.  None of the standard, installed, default, MacOS apps.

It does find all the other apps that I've installed that are in the same folder Macintosh HD --> Applications.

Spotlight can find all of these apps.

It's also finding apps that I don't want it to find.  These are in my ~\Applications (Parallels) folder.  Any way to remove them from Alfred?

Link to comment

@timurray2000  Welcome to the forum :)

 

Sounds like you might need to rebuild your Mac's index if apps aren't being correctly returned (even if they appear in Spotlight).

 

Take a look at the indexing troubleshooting page for all the details (step 5 shows you how to rebuild the index):

https://www.alfredapp.com/help/troubleshooting/indexing/

 

With regards to excluding apps from Parallels, there may be a way to tell Parallels not to make proxy apps, which would be the best way. Alternatively, you can drag the Parallels apps folder to the Spotlight Privacy tab. You can then type "reload" into Alfred to refresh the app cache.

 

Let me know how you get on.

Link to comment

@timurray2000 Interesting, there have been a couple of people reporting this indexing issue, and we've been able to replicate it on one of our testing Macs, so we'll be investigating.

 

I've edited my reply below to clarify the order of operations:

 

1. Delete the Spotlight-V100 file located here, which is equivalent to checking the "Delete Spotlight-V100" box during the standard reindex:

/System/Volumes/Data/.Spotlight-V100

 

2. Next, open Terminal manually and paste in the following:

sudo mdutil -E -i on /

 

Let me know how you get on. :) 

Link to comment
7 hours ago, Vero said:

@timurray2000 Interesting, there have been a couple of people reporting this indexing issue, and we've been able to replicate it on one of our testing Macs, so we'll be investigating.

 

I've edited my reply below to clarify the order of operations:

 

1. Delete the Spotlight-V100 file located here, which is equivalent to checking the "Delete Spotlight-V100" box during the standard reindex:

/System/Volumes/Data/.Spotlight-V100

 

2. Next, open Terminal manually and paste in the following:

sudo mdutil -E -i on /

 

Let me know how you get on. :) 

Another symptom is that I have to add file types of applications such as Pages, Keynote, Affinity Designer before it can find any of those files.image.thumb.png.55a678637b0dc29cd6ece7bc42360b60.png

Link to comment

@timurray2000 Could you please use Alfred's File Troubleshooter and drag a few files in? I'd be very interested in seeing what the metadata for your files looks like.

 

Here's how you can do this:

https://www.alfredapp.com/help/troubleshooting/indexing/

 

"Unknown indexing state" indicates that there's something wrong with the underlying macOS index. Have you tried restarting your Mac and following the steps I'd provided again?

Link to comment

Starting Diagnostics...

File: 'Calendar.app'
Path: '/System/Applications'

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

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: NSFileTypeDirectory
Extended Attributes: (
)

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

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

⚠️ Indexing may not be enabled on this drive

/:
    Error: unknown indexing state.

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

Check direct file metadata...

⚠️ Direct metadata is missing, this file is likely not indexed by macOS

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

Check mdls file metadata...

macOS metadata missing essential items

/System/Applications/Calendar.app: could not find /System/Applications/Calendar.app.

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

Troubleshooting failed
 

 

 

This file gives strange results.  Maybe something I'm doing wrong.

It shows when I start to type "code"

image.png.0f48779f19bdc8c0b35750f2c3c01d15.png

It's not in the list when I type "started"

image.png.af03a89908f5afc3156d357d20122c1a.png

 

Starting Diagnostics...

File: 'Get Started with Code.playgroundbook'
Path: '/Users/tim/Library/Mobile Documents/iCloud~com~apple~Playgrounds/Documents'

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

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: NSFileTypeDirectory
Extended Attributes: (
    "com.apple.lastuseddate#PS",
    "com.apple.metadata:_kMDItemUserTags",
    "com.apple.Playgrounds.allowedTracingLevelIfCollectionEnabled#PS",
    "com.apple.Playgrounds.read#PS"
)

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

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

⚠️ Indexing may not be enabled on this drive

/:
    Error: unknown indexing state.

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

Check direct file metadata...

Direct metadata available

Display Name: Get Started with Code
 Other Names: Get Started with Code.playgroundbook
Content Type: com.apple.playgroundbook
   Last Used: 2022-11-17 10:17:27 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Get Started with Code.playgroundbook"
_kMDItemEngagementData             = {length = 11, bytes = 0x0900000080d892c4410001}
kMDItemAlternateNames              = (
    "Get Started with Code.playgroundbook"
)
kMDItemContentCreationDate         = 2022-05-13 03:28:34 +0000
kMDItemContentCreationDate_Ranking = 2022-09-10 00:00:00 +0000
kMDItemContentModificationDate     = 2022-09-21 20:34:52 +0000
kMDItemContentType                 = "com.apple.playgroundbook"
kMDItemContentTypeTree             = (
    "com.apple.playgroundbook",
    "public.composite-content",
    "public.content",
    "com.apple.package",
    "public.directory",
    "public.item"
)
kMDItemDateAdded                   = 2022-09-10 13:58:01 +0000
kMDItemDisplayName                 = "Get Started with Code"
kMDItemDocumentIdentifier          = 177357
kMDItemFSContentChangeDate         = 2022-09-21 20:34:52 +0000
kMDItemFSCreationDate              = 2022-05-13 03:28:34 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 8208
kMDItemFSHasCustomIcon             = 0
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = 0
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Get Started with Code.playgroundbook"
kMDItemFSNodeCount                 = 3
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 3
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2022-11-17 00:00:00 +0000
kMDItemKind                        = "Playground Book"
kMDItemLastUsedDate                = 2022-11-17 10:17:27 +0000
kMDItemLastUsedDate_Ranking        = 2022-11-17 00:00:00 +0000
kMDItemLogicalSize                 = 186309250
kMDItemPhysicalSize                = 201121792
kMDItemUseCount                    = 2
kMDItemUsedDates                   = (
    "2022-09-21 05:00:00 +0000",
    "2022-11-17 06:00:00 +0000"
)

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

Check file is in search scope...

File exists within Alfred's default search scope

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

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/iCloud~com~apple~Playgrounds/Documents/Get Started with Code.playgroundbook"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/iCloud~com~apple~Playgrounds/Documents/Get Started with Code.playgroundbook"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/iCloud~com~apple~Playgrounds/Documents/Get Started with Code.playgroundbook"
)

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

Troubleshooting passed

⚠️ There were 1 warning(s)
 

 

 

I took Keynote files out of the user-defined file types and get this result:

 

image.thumb.png.35a3790d3f8ebe496d8fc9414a04951e.png

 

Starting Diagnostics...

File: '105-Discipleship.key'
Path: '/Users/tim/Documents/Christian & Religion/Central Baptist Church/Men's Ministry/Spiritual Development/105-Discipleship'

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

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.iwork.documentUUID#PS",
    "com.apple.lastuseddate#PS",
    "com.apple.macl",
    "com.apple.metadata:_kMDItemUserTags",
    "com.apple.quarantine"
)

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

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

⚠️ Indexing may not be enabled on this drive

/:
    Error: unknown indexing state.

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

Check direct file metadata...

Direct metadata available

Display Name: 105-Discipleship
 Other Names: 105-Discipleship.key
Content Type: com.apple.iwork.keynote.sffkey
   Last Used: 2022-03-15 11:41:46 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "105-Discipleship.key"
com_apple_iwork_ImageFileNames     = (
    "151584703_2682x1744.jpeg",
    "151584703_2682x1744.jpeg",
    "176704443_1270x1290.jpeg",
    "476190563_1289x1290.jpeg",
    "pasted-image.tiff",
    "176711937_1733x1287.jpeg",
    "151584703_2682x1744.jpeg",
    "450939351_1263x738.jpeg",
    "176704443_1270x1290.jpeg",
    "176711937_1733x1287.jpeg",
    "151584703_2682x1744.jpeg"
)
com_apple_iwork_TableNames         = (
    "Table 1"
)
kMDItemAlternateNames              = (
    "105-Discipleship.key"
)
kMDItemContentCreationDate         = 2021-09-09 20:14:51 +0000
kMDItemContentCreationDate_Ranking = 2021-09-09 00:00:00 +0000
kMDItemContentModificationDate     = 2022-02-22 13:39:20 +0000
kMDItemContentType                 = "com.apple.iwork.keynote.sffkey"
kMDItemContentTypeTree             = (
    "com.apple.iwork.keynote.sffkey",
    "public.data",
    "public.item",
    "public.presentation",
    "public.composite-content",
    "public.content"
)
kMDItemDateAdded                   = 2022-01-15 13:48:58 +0000
kMDItemDisplayName                 = "105-Discipleship"
kMDItemDocumentIdentifier          = 173920
kMDItemFonts                       = (
    "Futura-Medium",
    Baskerville,
    HelveticaNeue,
    "Baskerville-SemiBold",
    "Avenir-Black",
    "AvenirNext-DemiBold",
    "Avenir-Medium",
    Helvetica,
    "Avenir-MediumOblique",
    "Rockwell-Regular",
    "AvenirNext-Medium"
)
kMDItemFSContentChangeDate         = 2022-02-22 13:39:20 +0000
kMDItemFSCreationDate              = 2021-09-09 20:14:51 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = 0
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = 0
kMDItemFSLabel                     = 0
kMDItemFSName                      = "105-Discipleship.key"
kMDItemFSNodeCount                 = 2840430
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 2840430
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2022-03-15 00:00:00 +0000
kMDItemKind                        = "Keynote Presentation"
kMDItemLastUsedDate                = 2022-03-15 11:41:46 +0000
kMDItemLastUsedDate_Ranking        = 2022-03-15 00:00:00 +0000
kMDItemLogicalSize                 = 2840430
kMDItemPhysicalSize                = 2842624
kMDItemUseCount                    = 1
kMDItemUsedDates                   = (
    "2022-03-15 05:00:00 +0000"
)

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

Check file is in search scope...

File exists within Alfred's default search scope

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

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/tim/Documents/Christian & Religion/Central Baptist Church/Men's Ministry/Spiritual Development/105-Discipleship/105-Discipleship.key"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/tim/Documents/Christian & Religion/Central Baptist Church/Men's Ministry/Spiritual Development/105-Discipleship/105-Discipleship.key"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/tim/Documents/Christian & Religion/Central Baptist Church/Men's Ministry/Spiritual Development/105-Discipleship/105-Discipleship.key"
)

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

Troubleshooting passed

⚠️ There were 1 warning(s)
 

 

Link to comment

@timurray2000 As suspected, the index on your Mac is corrupted and files aren't being correctly indexed by macOS. To be clear, this is an issue with the OS and not with Alfred.

 

If you try restarting your Mac then attempt to rebuild the index again, do you still see the unknown indexing state error?

Link to comment

I have reindexed multiple times using different methods.  Nothing has worked.

I'm trying this method again: https://matthewcassinelli.com/how-to-fix-recents-finder-macos-ventura-spotlight-index-terminal/

 

I have not rebooted since installing Alfred but I will do that after the current reindexing is complete.  It takes a few hours.

On my MacBook Pro M1, I haven't had any of these problems.

 

What about the strange permissions error I get when I click "Rebuild MacOS Metadata"?  This happens when I click "Rebuild" regardless of whether the check box is checked.

image.png.30d2ba50215a5a2e0a8fb5ac69d619d3.png

Link to comment
1 hour ago, timurray2000 said:

How do I determine that?

 

As previously, drag a file to the File Troubleshooter and see if you get the yellow warning that the indexing state is unknown. If it is, it means that Spotlight's index may not be complete, resulting in incomplete results being provided to Alfred.

 

Did you eventually manage to get a rebuild completed in Terminal?

Link to comment

I removed the "user-defined file types" of Pages, Keynote, Numbers.

I can find most Pages files but not this one.  It's located in the same folder as others which I can find.

It won't find it if I just type <hotkey>Prayer or if I type <hotkey><space>prayer

 

I also attached the output of "Binder Backing" because it does find that file.

 

If I add the Pages file type back to the config.

I can find <hotkey>Prayer

But I can't find <hotkey><space>Prayer

 

Keynote Files - not currently in "user-defined"

It finds them as <hotkey><space> but not just with <hotkey>

 

Makes no sense to me.

 

 

 

Starting Diagnostics...

File: 'Prayer Journal.pages'
Path: '/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents'

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

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.genstore.origposixname",
    "com.apple.iwork.documentUUID#PS",
    "com.apple.lastuseddate#PS",
    "com.apple.metadata:_kMDItemUserTags",
    "com.apple.metadata:kMDLabel_m44rporlsqp6gyum4a5ibsr6ii",
    "com.apple.quarantine"
)

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

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

Indexing is enabled on this drive

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

Check direct file metadata...

Direct metadata available

Display Name: Prayer Journal
 Other Names: Prayer Journal.pages
Content Type: com.apple.iwork.pages.sffpages
   Last Used: 2022-11-22 11:44:51 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Prayer Journal.pages"
_kMDItemEngagementData             = {length = 13, bytes = 0x09000000408193c44100010401}
com_apple_iwork_ImageFileNames     = (
    "pasted-image.png",
    "306583308_10229817866690620_6782256181002435968_n.jpg"
)
kMDItemAlternateNames              = (
    "Prayer Journal.pages"
)
kMDItemContentCreationDate         = 2019-11-04 14:08:35 +0000
kMDItemContentCreationDate_Ranking = 2019-11-04 00:00:00 +0000
kMDItemContentModificationDate     = 2022-11-21 12:52:36 +0000
kMDItemContentType                 = "com.apple.iwork.pages.sffpages"
kMDItemContentTypeTree             = (
    "com.apple.iwork.pages.sffpages",
    "public.data",
    "public.item",
    "public.composite-content",
    "public.content"
)
kMDItemDateAdded                   = 2019-11-04 14:08:35 +0000
kMDItemDisplayName                 = "Prayer Journal"
kMDItemDocumentIdentifier          = 150442
kMDItemFonts                       = (
    Georgia,
    "HelveticaNeue-Bold",
    SnellRoundhand,
    HelveticaNeue,
    Helvetica,
    "Georgia-Italic"
)
kMDItemFSContentChangeDate         = 2022-11-21 12:52:36 +0000
kMDItemFSCreationDate              = 2019-11-04 14:08:35 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Prayer Journal.pages"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 492440
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2022-11-22 00:00:00 +0000
kMDItemIsUploaded                  = 0
kMDItemIsUploading                 = 1
kMDItemKind                        = "Pages Document"
kMDItemLastUsedDate                = 2022-11-22 11:44:51 +0000
kMDItemLastUsedDate_Ranking        = 2022-11-22 00:00:00 +0000
kMDItemLogicalSize                 = 492440
kMDItemPhysicalSize                = 544768
kMDItemUseCount                    = 21
kMDItemUsedDates                   = (
    "2022-11-16 06:00:00 +0000",
    "2022-11-17 06:00:00 +0000",
    "2022-11-18 06:00:00 +0000",
    "2022-11-19 06:00:00 +0000",
    "2022-11-20 06:00:00 +0000",
    "2022-11-21 06:00:00 +0000",
    "2022-11-22 06:00:00 +0000"
)
kMDItemUserModifiedDate            = (
    "2022-11-21 12:52:36 +0000"
)
kMDItemUserModifiedUserHandle      = (
    501
)

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

Check file is in search scope...

File exists within Alfred's default search scope

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

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Prayer Journal.pages"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Prayer Journal.pages"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Prayer Journal.pages"
)

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

Troubleshooting passed
 

 

 

 

Starting Diagnostics...

File: 'Binder Backing.pages'
Path: '/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents'

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

Check file cache database...

File cache integrity is ok

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

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 448
Underlying Type: NSFileTypeRegular
Extended Attributes: (
    "com.apple.iwork.documentUUID#PS",
    "com.apple.lastuseddate#PS",
    "com.apple.quarantine"
)

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

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

Indexing is enabled on this drive

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

Check direct file metadata...

Direct metadata available

Display Name: Binder Backing
 Other Names: Binder Backing.pages
Content Type: com.apple.iwork.pages.sffpages
   Last Used: 2021-03-16 13:58:42 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Binder Backing.pages"
kMDItemAlternateNames              = (
    "Binder Backing.pages"
)
kMDItemContentCreationDate         = 2021-03-16 13:57:30 +0000
kMDItemContentCreationDate_Ranking = 2021-03-16 00:00:00 +0000
kMDItemContentModificationDate     = 2021-03-16 14:04:59 +0000
kMDItemContentType                 = "com.apple.iwork.pages.sffpages"
kMDItemContentTypeTree             = (
    "com.apple.iwork.pages.sffpages",
    "public.data",
    "public.item",
    "public.composite-content",
    "public.content"
)
kMDItemDateAdded                   = 2021-03-16 13:57:30 +0000
kMDItemDisplayName                 = "Binder Backing"
kMDItemDocumentIdentifier          = 167566
kMDItemFonts                       = (
    "HelveticaNeue-Light",
    "HelveticaNeue-Bold",
    "HelveticaNeue-Medium",
    HelveticaNeue
)
kMDItemFSContentChangeDate         = 2021-03-16 14:04:59 +0000
kMDItemFSCreationDate              = 2021-03-16 13:57:30 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Binder Backing.pages"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 95448
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2021-03-16 00:00:00 +0000
kMDItemKind                        = "Pages Document"
kMDItemLastUsedDate                = 2021-03-16 13:58:42 +0000
kMDItemLastUsedDate_Ranking        = 2021-03-16 00:00:00 +0000
kMDItemLogicalSize                 = 95448
kMDItemPhysicalSize                = 98304
kMDItemUseCount                    = 1
kMDItemUsedDates                   = (
    "2021-03-16 05:00:00 +0000"
)

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

Check file is in search scope...

File exists within Alfred's default search scope

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

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Binder Backing.pages"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Binder Backing.pages"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Pages/Documents/Binder Backing.pages"
)

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

Troubleshooting passed
 

Link to comment
On 11/17/2022 at 4:33 AM, Vero said:

@timurray2000 Could you please use Alfred's File Troubleshooter and drag a few files in? I'd be very interested in seeing what the metadata for your files looks like.

 

Here's how you can do this:

https://www.alfredapp.com/help/troubleshooting/indexing/

 

"Unknown indexing state" indicates that there's something wrong with the underlying macOS index. Have you tried restarting your Mac and following the steps I'd provided again?

 

Hello! I found this thread while researching what I believe is a very similar, if not the same, issue. I'm running MacOS 13.0, on a 13-inch 2020 MacBook Pro.

I've attached a screenshot of my preferences window.

- If I search for: Messages, Calendar, Clock, Notes, Reminders, Contacts, nothing is returned.

- If I search for: Safari, Spotify, Firefox, and basically every other application I've installed (including while this problem was on going, specifically MuseScore 3 and 4), they are returned.

At first I thought it might be isolated to built-in applications, but Safari coming back dampens my theory on that one.

 

I tried rebuilding the index, watched the progress bar through Spotlight and made sure if finished. Reloaded the Alfred Cache using `reload`. I have not restarted as I am in a meeting, but I will as soon as I get the chance.

 

I have not been able to find Alfred's File Troublehshooter you mentioned, which gives back a detailed report on specific files. I would like to do this myself with a few things to see if I have similar errors.

 

 

image.png

Link to comment
  • 5 weeks later...
On 11/21/2022 at 11:02 AM, Vero said:

 

As previously, drag a file to the File Troubleshooter and see if you get the yellow warning that the indexing state is unknown. If it is, it means that Spotlight's index may not be complete, resulting in incomplete results being provided to Alfred.

 

Did you eventually manage to get a rebuild completed in Terminal?

I've done every rebuild on the planet and still have problems.

There is a Pages file I access every morning via Alfred.

Today, it doesn't know anything about it.

I use the troubleshooter and it finds no problems and now...it finds the file.

 

And now I'm also seeing this on my MacBook Pro so both computers...similar issues.

Link to comment

@timurray2000 Could you please paste the output from the troubleshooter for a few of the files you're not able to find? It would allow me to understand what's happening on your Mac(s) and help you further.

 

If you could also please send your Diagnostics (which you can get by typing "?diagnostics" into Alfred) by email to our info@ address, I'll be able to take a look more closely at your configuration. Please link back to this thread for context :)

 

 

Link to comment
On 12/23/2022 at 9:40 AM, Vero said:

@timurray2000 Could you please paste the output from the troubleshooter for a few of the files you're not able to find? It would allow me to understand what's happening on your Mac(s) and help you further.

 

If you could also please send your Diagnostics (which you can get by typing "?diagnostics" into Alfred) by email to our info@ address, I'll be able to take a look more closely at your configuration. Please link back to this thread for context :)

 

 

I just found this file which I access at least once a week.  Alfred didn't know anything about it.  Ran Troubleshooter.  Now it can find it and it's listed as the last item in the list when I search for "donations".  Here's the output:

Starting Diagnostics...

File: 'Donations.numbers'
Path: '/Users/tim/Library/Mobile Documents/com~apple~Numbers/Documents/Finance'

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

Check file cache database...

File cache integrity is ok

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

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 420
Underlying Type: NSFileTypeRegular
Extended Attributes: (
    "com.apple.iwork.documentUUID#PS",
    "com.apple.lastuseddate#PS",
    "com.apple.metadata:_kMDItemUserTags",
    "com.apple.metadata:kMDLabel_4uxvmdvwwvba57tneefyxqo5ii",
    "com.apple.metadata:kMDLabel_m44rporlsqp6gyum4a5ibsr6ii",
    "com.apple.metadata:kMDLabel_spdry4dx7qzoqwgmwuzbtgxogq",
    "com.apple.quarantine"
)

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

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

Indexing is enabled on this drive

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

Check direct file metadata...

Direct metadata available

Display Name: Donations
 Other Names: Donations.numbers
Content Type: com.apple.iwork.numbers.sffnumbers
   Last Used: 2022-12-22 11:11:41 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Donations.numbers"
_kMDItemEngagementData             = {length = 13, bytes = 0x09000000002a94c44100010b01}
com_apple_iwork_SheetNames         = (
    2022,
    2021,
    2020,
    2019,
    2018,
    2017,
    2016,
    2015,
    2014,
    2013
)
com_apple_iwork_TableNames         = (
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1",
    "Table 1"
)
kMDItemAlternateNames              = (
    "Donations.numbers"
)
kMDItemContentCreationDate         = 2014-10-21 17:00:03 +0000
kMDItemContentCreationDate_Ranking = 2014-10-21 00:00:00 +0000
kMDItemContentModificationDate     = 2022-12-13 12:02:25 +0000
kMDItemContentType                 = "com.apple.iwork.numbers.sffnumbers"
kMDItemContentTypeTree             = (
    "com.apple.iwork.numbers.sffnumbers",
    "public.data",
    "public.item",
    "public.composite-content",
    "public.content",
    "public.spreadsheet"
)
kMDItemDateAdded                   = 2021-11-03 21:56:41 +0000
kMDItemDisplayName                 = "Donations"
kMDItemDocumentContainer           = "Finance"
kMDItemDocumentIdentifier          = 222
kMDItemFonts                       = (
    "Helvetica-Bold",
    "Helvetica-Oblique",
    "Helvetica-Light",
    Helvetica,
    HelveticaNeue
)
kMDItemFSContentChangeDate         = 2022-12-13 12:02:25 +0000
kMDItemFSCreationDate              = 2014-10-21 17:00:03 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Donations.numbers"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 602962
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2022-12-22 00:00:00 +0000
kMDItemIsUploaded                  = 0
kMDItemIsUploading                 = 1
kMDItemKind                        = "Numbers Spreadsheet"
kMDItemLastUsedDate                = 2022-12-22 11:11:41 +0000
kMDItemLastUsedDate_Ranking        = 2022-12-22 00:00:00 +0000
kMDItemLogicalSize                 = 602962
kMDItemPhysicalSize                = 626688
kMDItemUseCount                    = 28
kMDItemUsedDates                   = (
    "2022-11-10 06:00:00 +0000",
    "2022-11-19 06:00:00 +0000",
    "2022-11-30 06:00:00 +0000",
    "2022-12-10 06:00:00 +0000",
    "2022-12-11 06:00:00 +0000",
    "2022-12-12 06:00:00 +0000",
    "2022-12-22 06:00:00 +0000"
)
kMDItemUserModifiedDate            = (
    "2022-12-13 12:02:25 +0000"
)
kMDItemUserModifiedUserHandle      = (
    501
)

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

Check file is in search scope...

File exists within Alfred's default search scope

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

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Numbers/Documents/Finance/Donations.numbers"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Numbers/Documents/Finance/Donations.numbers"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/tim/Library/Mobile Documents/com~apple~Numbers/Documents/Finance/Donations.numbers"
)

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

Troubleshooting passed
 

Link to comment

@timurray2000 What are you typing when searching for this file? As you haven't sent your Diagnostics file, I can only guess your configuration, so here are a few pointers:

 

1. By default, you will need to prefix your search term with "open" (or press the spacebar as a shortcut) before searching for a Numbers document.

 

2. Your data is in iCloud according to the file path, so you'll need to ensure that Optimised Storage is disabled on your Mac to ensure that the files are stored locally and available for search. You can find this in your System Preferences > Apple ID.

Link to comment
9 hours ago, Vero said:

@timurray2000 What are you typing when searching for this file? As you haven't sent your Diagnostics file, I can only guess your configuration, so here are a few pointers:

 

1. By default, you will need to prefix your search term with "open" (or press the spacebar as a shortcut) before searching for a Numbers document.

 

2. Your data is in iCloud according to the file path, so you'll need to ensure that Optimised Storage is disabled on your Mac to ensure that the files are stored locally and available for search. You can find this in your System Preferences > Apple ID.

I just type "donations".  That's what I do with all file/folder searches.

I've opened this file that way many many times, then...it's just gone.

Then I run the troubleshooter on it and it finds it again.

Optimize storage is turned off.

 

I emailed the diagnostics file to you yesterday.  I didn't know what you mean by "type ?diagnostics" so I went to the Help screen and found it in the lower right corner, exported it, emailed it.

Link to comment
16 hours ago, Vero said:

 

Could you please try typing "open donations" and let me know if your file is found?

Donations is found now because I did the troubleshooting on it.  That always make it "findable."

Now it's a different file - Prayer Journal - a Pages file.  I've attached various searches.

If I just type "pray" it finds it.  If I type "prayer" it doesn't. Then you'll see the other attempts.

Maybe I just don't know how to use Alfred?  I came from Launchbar where you just type a file name, or part of a file name and if you scroll down and select a file it remembers what you typed for that file.  I'm just getting inconsistent results with Alfred.  It finds it today and doesn't tomorrow.

 

Screenshot 2022-12-31 at 7.40.10 AM.png

Screenshot 2022-12-31 at 7.38.48 AM.png

Screenshot 2022-12-31 at 7.38.29 AM.png

Screenshot 2022-12-31 at 7.38.21 AM.png

Screenshot 2022-12-31 at 7.38.10 AM.png

Screenshot 2022-12-31 at 7.37.51 AM.png

Screenshot 2022-12-31 at 7.37.25 AM.png

Link to comment

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...