Jump to content

Skorpion

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Skorpion

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

     

    Xnip2021-10-29_21-27-45.thumb.jpg.e57a3e92852f3d577ff140b9f43d097f.jpgXnip2021-10-29_21-28-05.thumb.jpg.d040bf46a1c10968628298e9fcabd051.jpg

     

    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:

     

    Xnip2021-10-29_21-32-26.thumb.jpg.3f10eb556841792d93af0e4a6a2e6870.jpg

    Xnip2021-10-29_21-30-12.thumb.jpg.ae8bf55f29891d04baaab0bbd2aaf0b0.jpg

  2. 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,
    Vero

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

  3. 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):

    Quote

    While 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:

     

    Xnip2021-10-27_11-28-21.thumb.jpg.ec08db8823a04c998e39a08f05d7ac55.jpg

     

    Any help would be greatly appreciated. 

     

×
×
  • Create New...