Jump to content

Can't find word file even after reindexing.


Recommended Posts

Hi there,

 

I recently switched over to a Mac Studio.  I noticed that a Word file that I had saved was not coming up with Alfred. I reindexed MacOS Metadata. When that did not work, I deleted .spotlight-V100 folder and rebooted. It still didn't fix it. It's driving me crazy, and it makes me paranoid about what other things it won't find when I'm searching. lol

 

I am on Alfred 5.1.2 [2145]

I am on an Apple M2 Max device with Ventura 13.5

 

Help? :) 

 

The bug report is here:

 

Starting Diagnostics...

File: '[deleted here]
Path: '[deleted here]

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

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

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

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

Indexing is enabled on this drive

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

Check direct file metadata...

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

Display Name: 
 Other Names: 
Content Type: 
   Last Used: 

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

Check mdls file metadata...

macOS metadata missing essential items

kMDItemFSContentChangeDate = (null)
kMDItemFSCreationDate      = (null)
kMDItemFSCreatorCode       = ""
kMDItemFSFinderFlags       = (null)
kMDItemFSHasCustomIcon     = (null)
kMDItemFSInvisible         = 0
kMDItemFSIsExtensionHidden = (null)
kMDItemFSIsStationery      = (null)
kMDItemFSLabel             = (null)
kMDItemFSName              = (null)
kMDItemFSNodeCount         = (null)
kMDItemFSOwnerGroupID      = (null)
kMDItemFSOwnerUserID       = (null)
kMDItemFSSize              = (null)
kMDItemFSTypeCode          = ""

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

Troubleshooting failed
 

Link to comment

Welcome to the forum.

 

I appreciate that you've probably deleted both the file name and the file path for reasons of confidentiality but, in fact, it may be important for us to know where the file is stored in order to be able to diagnose the problem. If my next suggestion does not solve the problem for you please tell us where the file is located.

 

2 hours ago, frapaul83 said:

 

I recently switched over to a Mac Studio.

Did you migrate your apps, files and settings to the new machine or did you set it up from scratch? If you migrated please read the section on this Alfred help page headed  Rebuild your Mac's metadata index . (If you search for migrate on the forum you'll find a lot of posts from people who have had problems finding files after migration to a new Mac—that's why I'm guessing it may be your problem).

 

Stephen

 

 

Link to comment

Hi there, thanks for your reply!

 

Yes, I did all of these things referenced in the help page already. And, yes, I did migrate to this new Mac! When I first migrated Alfred wasn't finding anything, so that's why I had already gone to the help pages and done everything in that link, and it solved most things.

 

What I had deleted was:

 

File: 'Parable of the Sower.docx'
Path: '/Users/**********/Google Drive/AP/Writing, Sermons, Talks & Lectures'

 

Also of note:

- I added "Google Drive" manually to the list of folders to make sure Alfred can find

- Other documents IN the same folder are found by Alfred

 

As mentioned, everything that's in the help page you linked I had already done. Thanks so much for all your help!

Link to comment
33 minutes ago, frapaul83 said:

Path: '/Users/**********/Google Drive/

Ah - that is probably significant and relevant.It might be helpful to take a look at this workflow on the gallery: Google Drive (which List(s)  File Stream contents from Google Drive).

 I suspect if you search for "Google drive” on the forums most threads will end with a reference to that workflow!

 (Sorry, in a rush at the moment so please excuse the fact I've not included more explanation: the forum search will probably give it.)

 

Edited to overcome forum fomatting with deleted text.

 

Stephen

Edited by Stephen_C
Link to comment

Thanks, I'll take a look. The thing is I've always been using Alfred with Google Drive set up the way that it is, and there's never been a problem. And, also, it's finding other files in that very same folder, just not that file. 😕 

 

Edited to add: Also, in case it makes any difference, I've setup Google Drive to mirror. Below is another file from the same folder's troubleshooting log. So every Google Drive file is already on my computer, it's not in the cloud. Can't thank you enough for the help.

 

 

Starting Diagnostics...

File: 'Nehemiah 2-3.docx'
Path: '/Users/*********/Google Drive/AP/Writing, Sermons, Talks & Lectures'

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

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.lastuseddate#PS",
    "com.apple.metadata:kMDLabel_o7iugit4qdikmi5bwpzag4e6vy",
    "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: Nehemiah 2-3
 Other Names: Nehemiah 2-3.docx
Content Type: org.openxmlformats.wordprocessingml.document
   Last Used: 2023-08-16 02:43:57 +0000

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

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "Nehemiah 2-3.docx"
kMDItemAlternateNames              = (
    "Nehemiah 2-3.docx"
)
kMDItemAuthors                     = (
    "/******"
)
kMDItemContentCreationDate         = 2023-08-16 02:43:57 +0000
kMDItemContentCreationDate_Ranking = 2023-08-16 00:00:00 +0000
kMDItemContentModificationDate     = 2023-08-16 02:43:57 +0000
kMDItemContentType                 = "org.openxmlformats.wordprocessingml.document"
kMDItemContentTypeTree             = (
    "org.openxmlformats.wordprocessingml.document",
    "org.openxmlformats.openxml",
    "public.data",
    "public.item",
    "public.composite-content",
    "public.content"
)
kMDItemDateAdded                   = 2023-08-16 02:43:57 +0000
kMDItemDisplayName                 = "Nehemiah 2-3"
kMDItemDocumentIdentifier          = 0
kMDItemFSContentChangeDate         = 2023-08-16 02:43:57 +0000
kMDItemFSCreationDate              = 2023-08-16 02:43:57 +0000
kMDItemFSCreatorCode               = "MSWD"
kMDItemFSFinderFlags               = 16
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 1
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Nehemiah 2-3.docx"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 25222
kMDItemFSTypeCode                  = "WXBN"
kMDItemInterestingDate_Ranking     = 2023-08-16 00:00:00 +0000
kMDItemKind                        = "Microsoft Word Document"
kMDItemLastUsedDate                = 2023-08-16 02:43:57 +0000
kMDItemLastUsedDate_Ranking        = 2023-08-16 00:00:00 +0000
kMDItemLogicalSize                 = 25222
kMDItemPhysicalSize                = 28672
kMDItemUseCount                    = 1
kMDItemUsedDates                   = (
    "2023-08-15 05:00:00 +0000"
)
kMDItemUserCreatedDate             = (
    "2023-08-16 02:43:57 +0000"
)
kMDItemUserCreatedUserHandle       = (
    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/******/Google Drive/AP/Writing, Sermons, Talks & Lectures/Nehemiah 2-3.docx"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users//******/Google Drive/AP/Writing, Sermons, Talks & Lectures/Nehemiah 2-3.docx"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users//******/Google Drive/AP/Writing, Sermons, Talks & Lectures/Nehemiah 2-3.docx"
)

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

Troubleshooting passed
 

Edited by frapaul83
Taking out personal identifiers.
Link to comment

@frapaul83 Could you confirm whether your issue specifically occurs when searching for Google Drive documents, or are you having issues finding files on your Mac generally?

 

On 8/16/2023 at 7:43 AM, frapaul83 said:

yes, I did migrate to this new Mac!

 

If that's the case, you may be encountering a fairly well known issue with the macOS Migration Assistant.

 

Could you please open Alfred's preferences to Features > Default Results and, in the bottom right of the search scope, click "Reset..." and choose "Reset to full disk"

 

Once you've done this, try searching for your files. Are they found?

 

The more information you can provide on your particular setup, how long since you've set up your Mac and migrated your files in, whether you followed both steps 5 and 6 in the Indexing Troubleshooting page, the easier it will be for us to help you work out why some content isn't found on your Mac. :)

Link to comment

Hey Vero and all who have been helping!

 

So, yesterday night I went to rebuild Spotlight through the MacOS options. I added my Google Drive to be ignored and then removed it from the ignore to rebuild. It seems that this has (, for now,) fixed the issue!

 

Thanks again!

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