Jump to content

Some apps are not found in search any more


Recommended Posts

I recently migrated to a new Mac Studio (from an Intel Mac) and now Alfred isn't finding some apps any more. Most of them are in a custom folder (that I've added to Alfred's search index), but some are in `/Applications`. Using the File Search troubleshooting, they show up okay (see attached report).

 

Apps that Alfred is not finding include /Applications/Wireshark.app, but it does find /Applications/WhatsApp.app. It doesn't find any of the apps in my custom apps directory (the report below is from that directory, attached screenshot shows the settings page).

 

I've tried:

  • Reinstalling Alfred.
  • Clearing the Application Cache.
  • Rebuilt the macOS metadata.

 

 

Alfred 4.6.4, macOS 12.3, Mac Studio M1 Max

 

Starting Diagnostics...

File: 'Xcode133.app'
Path: '/Users/[myuser]/Documents/Programme'

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

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: Xcode133
 Other Names: Xcode133.app
Content Type: com.apple.application-bundle
   Last Used: 2022-04-06 08:46:09 +0000

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

Check mdls file metadata...

 Metadata contains required items

_kMDItemDisplayNameWithExtensions      = "Xcode133.app"
kMDItemAlternateNames                  = (
    "Xcode133.app"
)
kMDItemAppStoreCategory                = "Developer Tools"
kMDItemAppStoreCategoryType            = "public.app-category.developer-tools"
kMDItemAppStoreIsAppleSigned           = 1
kMDItemCFBundleIdentifier              = "com.apple.dt.Xcode"
kMDItemContentCreationDate             = 2022-03-03 11:16:33 +0000
kMDItemContentCreationDate_Ranking     = 2022-03-03 00:00:00 +0000
kMDItemContentModificationDate         = 2022-03-03 11:16:33 +0000
kMDItemContentModificationDate_Ranking = 2022-03-03 00:00:00 +0000
kMDItemContentType                     = "com.apple.application-bundle"
kMDItemContentTypeTree                 = (
    "com.apple.application-bundle",
    "com.apple.application",
    "public.executable",
    "com.apple.localizable-name-bundle",
    "com.apple.bundle",
    "public.directory",
    "public.item",
    "com.apple.package"
)
kMDItemCopyright                       = "Copyright © 1999–2022 Apple Inc. All rights reserved."
kMDItemDateAdded                       = 2022-03-29 17:20:24 +0000
kMDItemDateAdded_Ranking               = 2022-03-29 00:00:00 +0000
kMDItemDisplayName                     = "Xcode133"
kMDItemDocumentIdentifier              = 0
kMDItemExecutableArchitectures         = (
    arm64,
    "x86_64"
)
kMDItemFSContentChangeDate             = 2022-03-03 11:16:33 +0000
kMDItemFSCreationDate                  = 2022-03-03 11:16:33 +0000
kMDItemFSCreatorCode                   = ""
kMDItemFSFinderFlags                   = 0
kMDItemFSHasCustomIcon                 = (null)
kMDItemFSInvisible                     = 0
kMDItemFSIsExtensionHidden             = 1
kMDItemFSIsStationery                  = (null)
kMDItemFSLabel                         = 0
kMDItemFSName                          = "Xcode133.app"
kMDItemFSNodeCount                     = 1
kMDItemFSOwnerGroupID                  = 20
kMDItemFSOwnerUserID                   = 504
kMDItemFSSize                          = 32485421851
kMDItemFSTypeCode                      = ""
kMDItemInterestingDate_Ranking         = 2022-04-06 00:00:00 +0000
kMDItemKind                            = "Application"
kMDItemLastUsedDate                    = 2022-04-06 08:46:09 +0000
kMDItemLastUsedDate_Ranking            = 2022-04-06 00:00:00 +0000
kMDItemLogicalSize                     = 32485421851
kMDItemPhysicalSize                    = 18075885568
kMDItemUseCount                        = 18
kMDItemUsedDates                       = (
    "2022-03-29 22:00:00 +0000",
    "2022-03-30 22:00:00 +0000",
    "2022-03-31 22:00:00 +0000",
    "2022-04-03 22:00:00 +0000",
    "2022-04-04 22:00:00 +0000",
    "2022-04-05 22:00:00 +0000"
)
kMDItemVersion                         = "13.3"

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

Check file is in search scope...

 File exists within Alfred's default search scope

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

 Troubleshooting passed

 

Screen Shot 2022-04-06 at 11.19.23.jpg

Link to comment

@MarcAtWork  If you're on a new Mac Studio, you'll be using Monterey.  Have you transferred your files from another Mac using the Migration Assistant tool?

 

If so, you're encountering the bug in macOS Monterey's Migration Assistant described here:
https://www.alfredapp.com/help/troubleshooting/indexing/monterey

 

Following step 2 will work around the macOS bug, allowing you to find files normally once again.

 

If the issue persists after widening the search scope, please provide your Diagnostics file by typing "?diagnostics" into Alfred and sending it to our info@ address with a link back to this thread for context.

 

Cheers,
Vero

Link to comment

Thank you for the quick reply! Indeed, the files were transferred using the Migration Assistant.

 

Step 2 of your guide fixed the problem with finding the apps in my "custom" apps folder. Some stuff in /Applications still didn't turn up, so I rebuilt the index once more (I noticed that Terminal did not have Full Disk Access yet, so I guess my previous attempt didn't work because of that).

 

Now Alfred is finding all apps again, thanks!

 

Link to comment
1 minute ago, MarcAtWork said:

Now Alfred is finding all apps again, thanks!

 

Glad we got you back up and running :) 

 

Will move this out of bugs and to the Discussion & Help section now.

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