pasha009 Posted August 7, 2021 Share Posted August 7, 2021 (edited) This issue has been reported multiple times but none of the solutions mentioned in those reports worked for me. Alfred version: Alfred 4.5 [1253] macOS version: macOS Big Sur Version 11.4 Problem: No Application coming up in Default Results of Alfred. Spotlight is working fine. I have attached the screenshot and troubleshooting output for the Safari app but this is the same for almost all of my Applications. Troubleshooting output: Starting Diagnostics... File: 'Safari.app' Path: '/Applications' ----------------------------------------------------------- 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: Safari Other Names: Safari.app Content Type: com.apple.application-bundle Last Used: 2021-08-07 11:49:32 +0000 ----------------------------------------------------------- Check mdls file metadata... ✅ Metadata contains required items _kMDItemDisplayNameWithExtensions = "Safari.app" kMDItemAlternateNames = ( "Safari.app" ) kMDItemAppStoreCategory = "Productivity" kMDItemAppStoreCategoryType = "public.app-category.productivity" kMDItemAppStoreIsAppleSigned = 1 kMDItemCFBundleIdentifier = "com.apple.Safari" kMDItemContentCreationDate = 2020-01-01 08:00:00 +0000 kMDItemContentCreationDate_Ranking = 2020-01-01 00:00:00 +0000 kMDItemContentModificationDate = 2020-01-01 08:00:00 +0000 kMDItemContentModificationDate_Ranking = 2020-01-01 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" ) kMDItemDateAdded = 2021-07-20 04:19:25 +0000 kMDItemDateAdded_Ranking = 2021-07-20 00:00:00 +0000 kMDItemDisplayName = "Safari" kMDItemDocumentIdentifier = 0 kMDItemExecutableArchitectures = ( arm64, "x86_64" ) kMDItemFSContentChangeDate = 2020-01-01 08:00:00 +0000 kMDItemFSCreationDate = 2020-01-01 08:00:00 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "Safari.app" kMDItemFSNodeCount = 1 kMDItemFSOwnerGroupID = 0 kMDItemFSOwnerUserID = 0 kMDItemFSSize = 1 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2021-08-07 00:00:00 +0000 kMDItemKind = "Application" kMDItemLastUsedDate = 2021-08-07 11:49:32 +0000 kMDItemLastUsedDate_Ranking = 2021-08-07 00:00:00 +0000 kMDItemLogicalSize = 25561189 kMDItemPhysicalSize = 24764416 kMDItemUseCount = 1 kMDItemUsedDates = ( "2021-08-06 18:30:00 +0000" ) kMDItemVersion = "14.1.1" ----------------------------------------------------------- Check file is in search scope... ✅ File exists within Alfred's default search scope ----------------------------------------------------------- ✅ Troubleshooting passed Edited August 7, 2021 by pasha009 Want to mention that Spotlight is working fine Link to comment
Andrew Posted August 7, 2021 Share Posted August 7, 2021 @pasha009 can you email the output of the Diagnostics... button in Alfred's help preferences to our info@ address and I'll take a quick look at your config. 1 hour ago, pasha009 said: none of the solutions mentioned in those reports worked for me Could you let me know what you've tried? Also, are any applications showing? Link to comment
pasha009 Posted August 7, 2021 Author Share Posted August 7, 2021 I did nothing but this problem just solved itself. Sorry for the trouble Andrew, I think I was being impatient. Link to comment
dolearning Posted September 8, 2021 Share Posted September 8, 2021 Hi all! Adding to this issue because it seemed similar but happy to open a new issue if that would be better. I've had an ongoing issue with this as well, wherein Alfred is no longer indexing new applications. This is been happening for about a month. I tried uninstalling and reinstalling but that has made matters worse as it no longer shows applications it had previously indexed. I've tried `Clear Application Cache` and `Rebuild macOS Metadata`. I've attached the search scope in case I've done something wrong. An example is Slack: whereas a competing tool manages: Any help or advice would be well received Thanks, Kevin. Link to comment
Vero Posted September 8, 2021 Share Posted September 8, 2021 @dolearning Welcome to the forum Could you please pop open Alfred's preferences to the Help tab > Troubleshooting > Run Troubleshooting... and drag some of your problem files? Paste the output in your reply so that we can see whether the troubleshooting completes successfully. As Andrew said to the user who posted earlier, please email your Diagnostics file (type "?diagnostics" into Alfred to create the file) to our info@ address (referencing this thread) as well so that I can take a look at your setup. Cheers, Vero Link to comment
dolearning Posted September 9, 2021 Share Posted September 9, 2021 Hey! Here is the output from a file that isn't working: Starting Diagnostics... File: 'Applications' Path: '/Users/kevin' ----------------------------------------------------------- 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: Applications Other Names: Content Type: public.folder Last Used: 2021-07-03 17:22:58 +0000 ----------------------------------------------------------- Check mdls file metadata... ❌ macOS metadata missing essential items kMDItemFSContentChangeDate = 2021-07-03 17:22:58 +0000 kMDItemFSCreationDate = 2019-09-06 17:13:35 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "Applications" kMDItemFSNodeCount = 10 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 10 kMDItemFSTypeCode = "" ----------------------------------------------------------- ❌ Troubleshooting failed This same metadata failure is happening on any file I check. No idea what to do with that information though! Thanks, Kevin. Link to comment
Vero Posted September 10, 2021 Share Posted September 10, 2021 @dolearning The first steps to follow when results seem unexpected is to rebuild your Mac's metadata. It's usually because the data being provided by macOS is incorrect (even if it appears correct in the current Spotlight cache), and rebuilding ensures that all this information is refreshed by the OS. Even if you believe you've already reindexed, please follow the steps below specifically (as it involves deleting a cache first and ensuring Terminal has suitable permissions). First, please pop open System Preferences > Security & Privacy > Privacy > Full Disk Access and add Terminal Once you've done this, go to Alfred's Advanced preferences, choose "Rebuild macOS Metadata" Ensure that you check "Delete .Spotlight-V100 before reindex" Follow the steps in Terminal, and keep a close eye for any error messages relating to your index. Please let me know if there are any errors. Otherwise, if it proceeds smoothly, you may need to wait up to an hour for the reindex to complete. Once this is done, make your searches again and see if your results are more as expected. If your issue persists, please provide the following information: Your diagnostics file, by typing ?diagnostics into Alfred and attaching the resulting file (please email this to our info@ address) Examples of the File Troubleshooting reports for files you cannot find using Alfred (not just your user directory) Cheers, Vero Link to comment
dolearning Posted September 12, 2021 Share Posted September 12, 2021 Hi, This is getting more frustrating - I've noticed that Spotlight is now not indexing the correct files either. - I've tried reindexing following the steps you laid out, followed the progress with Spotlight and then waited for it to complete. After it had completed most of my files aren't available in Spotlight or Alfred. - I've tried running mdutil manually to get the index. - I've tried adding folders to the Privacy tab in Spotlight and then removing them again to try to trigger a reindex of a particular folder I'll email the diagnostics as requested above. Thanks, Kevin. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now