"Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
stulander
Posts: 2
Joined: Thu May 23, 2024 8:11 am

"Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by stulander »

Hi,

I have a shared folder in a drive and I've noticed toggling this option causes weird behaviour in Everything. Everything wasn't finding any files with it toggled off, at first.

I toggled it on. Everything started to show files on some PCs. Others, with the same drive added, showed nothing.

I tried reinstall Everything, on multiple PCs. Storing settings in Appdata rather than program files etc. Nothing fixed it. Followed various guides I found on this forum for similar issues.

Turning off indexing on the drive fixed it on all PCs.

Something weird is going on so I thought I'd mention it here. Not sure if it's a bug though. The drive in question was cloned from one VM (old file server) to a new VM (new file server) so that the complicated permissions structure was kept intact. (It's a simple way of doing it.) On the old VM indexing was on for the drive, on the new VM the indexing was by default off.

I'm guessing this is the cause for whatever reason.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by void »

Changing the "allow content indexing" attribute will generate a large amount of ReadDirectoryChanges events.

Consider exiting Everything before changing the "allow content indexing" attribute for an entire network drive.



Everything doesn't care about the "allow content indexing" attribute.
Changing this attribute would add the file/folder to your Everything index if it was missing from a recent scan.

Please try forcing a rescan from Tools -> Options -> Folders -> Select network folder -> Rescan Now.
stulander
Posts: 2
Joined: Thu May 23, 2024 8:11 am

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by stulander »

Hi,

OK, I assumed it was the "allow context indexing" flag that affected it because everything seemed to start working again after I toggled it.

I've run into the issue again however on a different PC. Reinstalling (making sure the settings file is removed also) doesn't seem to fix it. The issue is only present on certain PCs.

The user can browse to the \\server\share, access files as normal. The file share is part of a DFS namespace (mentioning in case somehow relevant) although it's added to Everything as simply \\server\share. - Not using the DFS namespace.

Running "Rescan now" doesn't make any difference. Readding the folder, using the DFS name, and the FQDN also make no difference. On another PC I reinstalled everything and it seemed to start working.

I install everything with admin rights - I have to as this is a domain joined PC and the users don't have admin rights. I've tried storing settings in both appdata and C:\program files.

I am seeing this in the debug log:

2024-06-14 10:16:43.342: scanning \\hendrix.hydralan.local\company2...
2024-06-14 10:16:43.342: failed to open directory 2



I've attached the full debug log.
Last edited by void on Fri Jun 14, 2024 9:23 am, edited 2 times in total.
Reason: removed log
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by void »

failed to open directory 2
Error 2 is path not found.

Please make sure sure the \\hendrix.hydralan.local\ resolves correctly.
Check if company2 is a valid and accessible share name for your current user account.

ipconfig /flushdns
ping hendrix.hydralan.local
stulander
Posts: 2
Joined: Thu May 23, 2024 8:11 am

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by stulander »

This is why I'm convinced this is a bug.

Hendrix.hydralan.local resolves correctly. You can browse to the file share just fine. The server is definitely up. Only everything is not able to see it.
2024-06-14 11_41_07-Company2.png
2024-06-14 11_41_07-Company2.png (13.04 KiB) Viewed 52 times
I tried adding to everything:

\\hendrix\company2

\\hendrix.hydralan.local\company2

\\hydralan.local\fileserver\company (DFS namespace)

None of these work in everything. They all work when browsing with explorer. Oh - and I tried mapping a drive too. That also doesn't work.
Last edited by stulander on Fri Jun 14, 2024 10:50 am, edited 2 times in total.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by void »

Could you please capture a verbose debug log.

Check Tools -> Debug -> Verbose
Tools -> Debug -> Start Debug Logging.



The path is fine.
Everything sees the folder as a reparse point which is odd..
The scan then fails (verbose debug output will help here)
stulander
Posts: 2
Joined: Thu May 23, 2024 8:11 am

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by stulander »

I let it run for a while and then stopped it.
Last edited by void on Fri Jun 14, 2024 11:45 am, edited 1 time in total.
Reason: removed log
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by void »

Thanks for the log.

I'm looking into this issue.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Allow files on this drive to have contents indexed in addtion to file properties" causes issues on network drive

Post by void »

There is no rescan attempts in this log.

Could you please try the following:

Check Tools -> Debug -> Verbose
Tools -> Debug -> Start Debug Logging.
Rescan your network share under the Index menu -> Rescan submenu -> click your network share.
Let Everything site for 1 minute while it attempts to rescan this folder.
Tools -> Debug -> Stop Debug Logging.
---This will open your Everything Debug Log.txt in Notepad.
Could you please upload this file here:
/bugreport
Post Reply