PDM Vault files not indexed

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

PDM Vault files not indexed

Post by ddlaz »

Although I have Everything set to index the vault folder on my C drive AND the OS/C drive, it doesn't index anything from that folder. When I did have it working previously, it would only show some vault files(mainly the ones I have opened/viewed) and duplicate listings(probably due to having both the vault folder and ntfs drive indexed).

Following some troubleshooting steps, I have "store settings and data.." checked, "run as admin" unchecked, "everything service" checked, and forced a rebuild.

I've also checked that the folder was not excluded from the "exclude" suboption.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: PDM Vault files not indexed

Post by therube »

What is a "vault folder"?
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

I hope this answers the question better than I can.

SOLIDWORKS PDM Vault Access
Data is stored in a central archive called a file vault, which can be regularly backed up and shared by the whole product team.

To access files, you create a working folder on your local computer called a file vault view. Logging in to the file vault view lets you access files for which you have permissions. You check files out to edit them, so that no one else can make changes, though other users can still view and copy the files.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: PDM Vault files not indexed

Post by therube »

Might you have had that indexed (previously) as a Folder Index in Everything?
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

Can you repeat that?

If you were asking if I had it previously indexed as a folder index in Everything -- I mentioned above that I had it indexed as a folder and already as a subfolder within the C drive, which created duplicate search results. I have tried adding it as a folder indexed in this case but there are no results from the vault folder at all.

I did switch to a new computer but I don't see how it would not find any vault files at all with the same configuration.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: PDM Vault files not indexed

Post by NotNull »

Are you running Everything as admninistrator?
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

I am not running Everything as administrator. And also as mentioned, I've already tried those steps that you pasted.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: PDM Vault files not indexed

Post by NotNull »

You're right. Missed that. Good wake-up call to go do something else ..
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

Lol. Perhaps you should....wait No, please stay and help me.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: PDM Vault files not indexed

Post by void »

Could you please confirm Everything is not running as an admin:
  • In Everything, type in the following search and press ENTER:
    /debug
Near the top of the debug console, you should see the following line:
IsAdmin x
-What is the value for x? 1 = running as admin, 0 = running as a standard user.

To close the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
Please make sure no search options are checked under the Search menu (eg: uncheck match case, uncheck match whole words, uncheck regex)
Please make sure the Everything filter is active under the Search menu.

Is this Vault folder a reparse point? -Everything does not following reparse points with NTFS indexing.
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

It says IsAdmin 0, so standard user.
No filters active on the search menu.
The folder is not a symlink/reparse point.
Any other ideas?
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: PDM Vault files not indexed

Post by void »

Thank you for your reply.

Could you please try creating a file list to see if Everything is scanning this folder correctly:
  • In Everything, from the Tools menu, click File List Editor....
  • From the Edit menu, click Add folder....
  • Select your Vault folder and click OK.
  • Are any files added to your file list? or does it remain empty?
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

It shows over 7000 files/objects, however I know there are over 24000 objects.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: PDM Vault files not indexed

Post by void »

Thank you for your reply.

Everything is indexing some files so we can rule out a few things, like Everything being unable to see the root folder.

Any subfolders in this vault folder?

Is it just Everything, -does the command prompt DIR command find all your files in this vault folder:
  • From the start menu, type in
    cmd
  • Click Command Prompt
  • Navigate to your vault directory, for example
    cd "c:\my vault folder"
  • Run the following command:
    dir /s
  • How many files and folders are found?


Please check your drive for errors:
  • Please backup anything important on your vault drive before checking it for errors.
  • In Windows Explorer, right click your vault drive and click Properties.
  • Click the Tools tab.
  • Click Check now...
  • Click Start
  • If prompted to schedule a scan on the next restart, click Yes.
ddlaz
Posts: 8
Joined: Fri Jan 22, 2021 5:37 pm

Re: PDM Vault files not indexed

Post by ddlaz »

running dir /s on the vault shows 3xxx files and 13xxx folders. It's unsurprising that when I just click on a file within the vault, it'll be included in the file list as in 3xxx+1.

I want to say that it's because the vault isn't a local folder with local files, more similar to a cloud storage folder, that it doesn't recognize the files until they're accessed in one way or another. However, I used to be able to search any random file within the vault. I just hated the duplicated list items.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: PDM Vault files not indexed

Post by void »

Just to be sure, are you seeing a discrepancy between your Everything folder index and the DIR /s command?

Everything uses FindFirstFile for folder indexes and the limitation most likely lies with this API call and how the Vault folder is implemented.

Is there an option for the vault folder to download a complete local copy?
Any way that you might be able to 'touch' each file to trigger a local download?
However, I used to be able to search any random file within the vault. I just hated the duplicated list items.
The Vault folder duplicates are most likely shown as they are already indexed as part of a NTFS volume, please try removing the Vault folder from your folder indexes:
  • In "Everything", from the Tools menu, click Options.
  • Click the Folders tab.
  • Select the vault folder and click Remove.
  • Click OK.
Without the Vault folder as a folder index, is the Vault folder still showing some items in your Everything index?
axelpix
Posts: 2
Joined: Fri Mar 26, 2021 1:18 pm

Re: PDM Vault files not indexed

Post by axelpix »

The Solidworks PDM Vault folder is a local cache that only holds the files that are already downloaded from the database vault. Everything can only index what's available on the local drive. When you select a file in Windows explorer, it's beeing made available on your local harddrive. After that, everything can see it as well. Files that have never been downloaded can't be indexed.
To do the counter test, you can clear your local cache (right click on PDM vault folder, select "clear local cache"). Then Everything should show nothing on your PDM folder anymore.
Post Reply