ETP Server as Everything Client Service

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
richard3840
Posts: 3
Joined: Mon May 04, 2020 9:01 am

ETP Server as Everything Client Service

Post by richard3840 »

Hello. I was hoping i could get some help on a small issue i have with the Everything client service.

I have installed Everything on a Windows SBS 2008.

I have created the Windows user (ST\evts) just for this service. It is a non-admin user, to prevent Everything indexing folders which ETP clients should not be able to see.

I have specifically given the user evts all read and write permission to "C:\Program Files\Everything"

I have followed this guide to install the Everything Client service, from an admin account.
viewtopic.php?t=1982

Afterwards, in the Windows Services, i have defined that the Everything Client Service should run as the user evts.

I then logged on RDP as the user evts, and configured my index of a network folder (which is a regular folder index, no NTFS indexing.) and configured the ETP server. I then indexed the network folder one time and set up a schedule to index automatically.

It is configued to store settings in the Everything program folder, not "%appdata%\Roaming\Everything"
In "C:\Program Files\Everything" i now have the Everything configuration ini file, and the generated database file.
The folder "%appdata%\Roaming\Everything" is empty, so no other config file interfering.

I then logged off the evts user, and logged back in as admin account. Then i started the Everything client service, which is now running as the evts user.

From an ETP client i am able to connect to the ETP server and can successfully search files, and i am not seeing files which normal users shouldn't be able to see.

Sorry for the lengthy description of my setup, but my problem is that if i am only running the Everything client service, the index never gets updated.
I have to stop the service, log in as the evts user, open everything and update the index manually.
Then i can see the new files from the ETP clients.
But the index never updates if i don't do it manually.

And that makes me wonder if the Client service is programmed to update the index according to the schedule, or if it only is supposed to serve the existing index.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP Server as Everything Client Service

Post by void »

The Everything Client Service should be updating your index.

The Everything Client Service might not have permission to list these folders?

Please try running the client service with debug logging enabled and check the readdirectorychanges status:
  • Stop the Everything client service.
  • Open your C:\Program Files\Everything\Everything.ini and change the following line:
    debug_log=0
    to:
    debug_log=1
  • Save changes and restart the Everything client service.
  • Give the service a minute to start (connect with a client to confirm a successful startup).
  • Open the %TEMP%\Everything Debug Log.txt (depending on the user the service is running with this file might be in C:\Windows\Temp)
  • Look for the following line:
    ReadDirectoryChangesW <path> <error code>
  • What is the error code shown?
To disable debug logging (logs can grow very large):
richard3840
Posts: 3
Joined: Mon May 04, 2020 9:01 am

Re: ETP Server as Everything Client Service

Post by richard3840 »

Thanks for the help.
With the debug log, i think i can see why it doesn't work.

I scheduled it to index at 11:00
and to test i added two other folder indexes, one to map the network folder using UNC path with ip address,
and one using UNC path with hostname

Code: Select all

2020-05-11 10:24:54.723: Everything
2020-05-11 10:24:54.726: Version 1.4.1.969 (x64)
2020-05-11 10:24:54.727: Windows NT 6.1
2020-05-11 10:24:54.728: Processors 8
2020-05-11 10:24:54.731: IsAdmin 0
2020-05-11 10:24:54.732: AppData 0
2020-05-11 10:24:54.734: Service 0
2020-05-11 10:24:54.735: cmdline "C:\Program Files\Everything\Everything.exe" -client-svc
2020-05-11 10:24:54.737: load localization
2020-05-11 10:24:54.738: lng file opened!
2020-05-11 10:24:54.740: header size 913
2020-05-11 10:24:54.742: version 1
2020-05-11 10:24:54.743: got header
2020-05-11 10:24:54.745: system default lid 0409
2020-05-11 10:24:54.746: count 39
2020-05-11 10:24:54.748: ole initialize: 0000027f
2020-05-11 10:24:54.750: create mutex
2020-05-11 10:24:54.771: sys img list 0000000000302fb0 0000000000330f30 1 0
2020-05-11 10:24:54.773: default font MS Shell Dlg 2 -11
2020-05-11 10:24:54.774: load everything icon
2020-05-11 10:24:54.776: bookmarks
2020-05-11 10:24:54.779: filters
2020-05-11 10:24:54.780: search history
2020-05-11 10:24:54.782: set hook
2020-05-11 10:24:54.783: create tray
2020-05-11 10:24:54.789: bind to family 23, protocol 6, socktype 1
2020-05-11 10:24:54.791: bind to family 2, protocol 6, socktype 1
2020-05-11 10:24:54.793: ETP server online.
2020-05-11 10:24:54.795: db_load
2020-05-11 10:24:54.797: config volume: \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963} | C: |  | 0
2020-05-11 10:24:54.799: add volume: \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963} | C: | 
2020-05-11 10:24:54.800: config volume: \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde} | D: |  | 0
2020-05-11 10:24:54.802: add volume: \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde} | D: | 
2020-05-11 10:24:54.803: config volume: \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae} | F: |  | 0
2020-05-11 10:24:54.805: add volume: \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae} | F: | 
2020-05-11 10:24:54.807: VEH 3282064
2020-05-11 10:24:54.809: volume \\?\Volume{3a530d80-1f46-11e6-8ac5-806e6f6e6963}: drive type 3
2020-05-11 10:24:54.810: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:54.812: volume \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde}: drive type 3
2020-05-11 10:24:54.813: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:54.815: GetVolumePathNamesForVolumeName D:
2020-05-11 10:24:54.817: volume \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae}: drive type 3
2020-05-11 10:24:54.818: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:54.820: GetVolumePathNamesForVolumeName F:
2020-05-11 10:24:54.821: volume \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963}: drive type 3
2020-05-11 10:24:54.823: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:54.825: GetVolumePathNamesForVolumeName C:
2020-05-11 10:24:54.826: volume \\?\Volume{174eb844-358b-11e3-826a-806e6f6e6963}: drive type 5
2020-05-11 10:24:54.828: QueryDosDevice C: \Device\HarddiskVolume2
2020-05-11 10:24:54.829: QueryDosDevice D: \Device\HarddiskVolume4
2020-05-11 10:24:54.831: QueryDosDevice F: \Device\HarddiskVolume5
2020-05-11 10:24:54.833: ntfs volume create list 0.035465 seconds
2020-05-11 10:24:54.835: new thread (0)
2020-05-11 10:24:54.837: enter main loop
2020-05-11 10:24:54.838: Loading structure 00002505: 88970 folders, 709077 files...
2020-05-11 10:24:54.840: _db_index_add 0: 2, 00000000003141c0
2020-05-11 10:24:54.841: _db_index_add 1: 2, 0000000000314220
2020-05-11 10:24:54.843: _db_index_add 2: 2, 0000000000314280
2020-05-11 10:24:54.861: convert all folder parent indexes into folder parent folders 0.000619 seconds
2020-05-11 10:24:55.151: fs out of date 0
2020-05-11 10:24:55.154: fs out of date 0
2020-05-11 10:24:55.155: fs out of date 0
2020-05-11 10:24:55.159: loaded 0 of 0 changes in 0.002985 seconds
2020-05-11 10:24:55.161: recent changes array memory usage: 0 bytes
2020-05-11 10:24:55.163: loaded run history in 0.000085 seconds
2020-05-11 10:24:55.164: run history data count: 0, data: 0 bytes
2020-05-11 10:24:55.166: run history ptr count: 0
2020-05-11 10:24:55.167: total run history memory usage: 0 bytes
2020-05-11 10:24:55.171: processed usn records in 0.000001 seconds
2020-05-11 10:24:55.173: loaded 88970 folders, 709077 files, in 0.335945 seconds
2020-05-11 10:24:55.174: DB_WAIT: _db_load_complete_proc waiting...
2020-05-11 10:24:55.176: DB_WAIT: _db_load_complete_proc waited 0.002768 seconds
2020-05-11 10:24:55.177: start all monitors (ntfs: 0 refs: 0)
2020-05-11 10:24:55.179: TRAY_TIMER_FOLDER_UPDATE create
2020-05-11 10:24:55.181: config volume: \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963} | C: |  | 0
2020-05-11 10:24:55.182: add volume: \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963} | C: | 
2020-05-11 10:24:55.183: config volume: \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde} | D: |  | 0
2020-05-11 10:24:55.185: add volume: \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde} | D: | 
2020-05-11 10:24:55.186: config volume: \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae} | F: |  | 0
2020-05-11 10:24:55.188: add volume: \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae} | F: | 
2020-05-11 10:24:55.200: VEH 39356560
2020-05-11 10:24:55.201: volume \\?\Volume{3a530d80-1f46-11e6-8ac5-806e6f6e6963}: drive type 3
2020-05-11 10:24:55.203: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:55.204: volume \\?\Volume{b5f3222c-69d3-47de-b38b-c2fc042c5bde}: drive type 3
2020-05-11 10:24:55.206: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:55.208: GetVolumePathNamesForVolumeName D:
2020-05-11 10:24:55.209: volume \\?\Volume{952392b7-79df-4d60-9629-f97d261195ae}: drive type 3
2020-05-11 10:24:55.211: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:55.212: GetVolumePathNamesForVolumeName F:
2020-05-11 10:24:55.213: volume \\?\Volume{3a530d81-1f46-11e6-8ac5-806e6f6e6963}: drive type 3
2020-05-11 10:24:55.216: GetVolumePathNamesForVolumeName 234
2020-05-11 10:24:55.217: GetVolumePathNamesForVolumeName C:
2020-05-11 10:24:55.218: volume \\?\Volume{174eb844-358b-11e3-826a-806e6f6e6963}: drive type 5
2020-05-11 10:24:55.220: QueryDosDevice C: \Device\HarddiskVolume2
2020-05-11 10:24:55.221: QueryDosDevice D: \Device\HarddiskVolume4
2020-05-11 10:24:55.224: QueryDosDevice F: \Device\HarddiskVolume5
2020-05-11 10:24:55.225: ntfs volume create list 0.044457 seconds
2020-05-11 10:24:55.228: check for file list changes
2020-05-11 10:24:55.229: checked for file list changes in 0.001416 seconds
2020-05-11 10:31:32.355: Connected.
2020-05-11 10:31:32.360: USER evts
2020-05-11 10:31:32.367: 331 Password required for evts
2020-05-11 10:31:32.379: PASS fidelix30
2020-05-11 10:31:32.387: 230 Logged on.
2020-05-11 10:31:32.390: OPTS UTF8 ON
2020-05-11 10:31:32.393: 200 UTF8 mode enabled.
2020-05-11 10:31:32.398: EVERYTHING SIZE_COLUMN 1
2020-05-11 10:31:32.400: 200 Size column set to (1).
2020-05-11 10:31:32.404: EVERYTHING DATE_MODIFIED_COLUMN 1
2020-05-11 10:31:32.406: 200 Date modified column set to (1).
2020-05-11 10:31:32.408: EVERYTHING PATH_COLUMN 1
2020-05-11 10:31:32.411: 200 Path column set to (1).
2020-05-11 10:31:32.413: EVERYTHING COUNT 38
2020-05-11 10:31:32.416: 200 Count set to (38).
2020-05-11 10:31:32.418: EVERYTHING HIDE_EMPTY_SEARCH_RESULTS 1
2020-05-11 10:31:32.420: 200 Hide empty search results set to (1).
2020-05-11 10:31:32.423: EVERYTHING QUERY
2020-05-11 10:31:32.425: search '' filter '' sort 0
2020-05-11 10:31:32.427: SET SORT 0
2020-05-11 10:31:32.428: new thread (1)
2020-05-11 10:31:32.431: new thread (2)
2020-05-11 10:31:32.432: new thread (3)
2020-05-11 10:31:32.434: new thread (4)
2020-05-11 10:31:32.435: new thread (5)
2020-05-11 10:31:32.437: new thread (6)
2020-05-11 10:31:32.439: new thread (7)
2020-05-11 10:31:32.441: new thread (8)
2020-05-11 10:31:32.442: found 0 folders, size 0, db search time taken: 0.014124 seconds
2020-05-11 10:31:32.444: found 0 files, size 0, db search time taken: 0.000171 seconds
2020-05-11 10:31:32.445: set sort 0 1
2020-05-11 10:31:32.447: already sorted
2020-05-11 10:31:32.449: finished sort, time taken 0.003439 seconds
2020-05-11 10:31:32.450: update selection 0.000002 seconds
2020-05-11 10:31:32.452: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:31:32.453: DB_WAIT: _db_ready_proc waited 0.001541 seconds
2020-05-11 10:31:32.455: 200 End.
2020-05-11 10:31:36.334: EVERYTHING SEARCH modicon stb
2020-05-11 10:31:36.337: 200 Search set to (modicon stb).
2020-05-11 10:31:36.340: EVERYTHING QUERY
2020-05-11 10:31:36.342: search 'modicon stb' filter '' sort 0
2020-05-11 10:31:36.344: term 0000000000333630, flags: 1140, next: 0000000000333670, notnext: 0000000000000000
folderop: 2, fileop: 2, term: modicon
2020-05-11 10:31:36.346: term 0000000000333670, flags: 3140, next: 0000000000000000, notnext: 0000000000000000
folderop: 2, fileop: 2, term: stb
2020-05-11 10:31:36.347: SET SORT 0
2020-05-11 10:31:36.350: found 3 folders, size 65544, db search time taken: 0.001742 seconds
2020-05-11 10:31:36.372: found 91 files, size 65544, db search time taken: 0.019175 seconds
2020-05-11 10:31:36.373: set sort 0 1
2020-05-11 10:31:36.375: already sorted
2020-05-11 10:31:36.376: finished sort, time taken 0.002945 seconds
2020-05-11 10:31:36.378: update selection 0.000001 seconds
2020-05-11 10:31:36.380: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:31:36.382: DB_WAIT: _db_ready_proc waited 0.001483 seconds
2020-05-11 10:31:36.384: 200 End.
2020-05-11 10:48:26.168: Connected.
2020-05-11 10:48:26.175: USER evts
2020-05-11 10:48:26.178: 331 Password required for evts
2020-05-11 10:48:26.181: PASS fidelix30
2020-05-11 10:48:26.183: 230 Logged on.
2020-05-11 10:48:26.188: OPTS UTF8 ON
2020-05-11 10:48:26.190: 200 UTF8 mode enabled.
2020-05-11 10:48:26.195: EVERYTHING SIZE_COLUMN 1
2020-05-11 10:48:26.198: 200 Size column set to (1).
2020-05-11 10:48:26.200: EVERYTHING DATE_MODIFIED_COLUMN 1
2020-05-11 10:48:26.203: 200 Date modified column set to (1).
2020-05-11 10:48:26.205: EVERYTHING PATH_COLUMN 1
2020-05-11 10:48:26.207: 200 Path column set to (1).
2020-05-11 10:48:26.210: EVERYTHING COUNT 38
2020-05-11 10:48:26.213: 200 Count set to (38).
2020-05-11 10:48:26.215: EVERYTHING HIDE_EMPTY_SEARCH_RESULTS 1
2020-05-11 10:48:26.217: 200 Hide empty search results set to (1).
2020-05-11 10:48:26.219: EVERYTHING QUERY
2020-05-11 10:48:26.222: search '' filter '' sort 0
2020-05-11 10:48:26.224: SET SORT 0
2020-05-11 10:48:26.226: found 0 folders, size 0, db search time taken: 0.000073 seconds
2020-05-11 10:48:26.227: found 0 files, size 0, db search time taken: 0.000108 seconds
2020-05-11 10:48:26.229: set sort 0 1
2020-05-11 10:48:26.230: already sorted
2020-05-11 10:48:26.232: finished sort, time taken 0.003596 seconds
2020-05-11 10:48:26.234: update selection 0.000001 seconds
2020-05-11 10:48:26.235: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:48:26.237: DB_WAIT: _db_ready_proc waited 0.001471 seconds
2020-05-11 10:48:26.238: 200 End.
2020-05-11 10:48:28.512: EVERYTHING SEARCH ukendte komp
2020-05-11 10:48:28.514: 200 Search set to (ukendte komp).
2020-05-11 10:48:28.518: EVERYTHING QUERY
2020-05-11 10:48:28.520: search 'ukendte komp' filter '' sort 0
2020-05-11 10:48:28.522: term 0000000001779330, flags: 1140, next: 0000000001779370, notnext: 0000000000000000
folderop: 2, fileop: 2, term: ukendte
2020-05-11 10:48:28.524: term 0000000001779370, flags: 3140, next: 0000000000000000, notnext: 0000000000000000
folderop: 2, fileop: 2, term: komp
2020-05-11 10:48:28.525: SET SORT 0
2020-05-11 10:48:28.529: found 1 folders, size 65544, db search time taken: 0.002071 seconds
2020-05-11 10:48:28.550: found 3 files, size 65544, db search time taken: 0.019763 seconds
2020-05-11 10:48:28.551: set sort 0 1
2020-05-11 10:48:28.553: already sorted
2020-05-11 10:48:28.554: finished sort, time taken 0.002954 seconds
2020-05-11 10:48:28.556: update selection 0.000000 seconds
2020-05-11 10:48:28.558: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:48:28.559: DB_WAIT: _db_ready_proc waited 0.001385 seconds
2020-05-11 10:48:28.561: 200 End.
2020-05-11 10:49:03.536: Connected.
2020-05-11 10:49:03.542: USER evts
2020-05-11 10:49:03.544: 331 Password required for evts
2020-05-11 10:49:03.547: PASS fidelix30
2020-05-11 10:49:03.550: 230 Logged on.
2020-05-11 10:49:03.555: OPTS UTF8 ON
2020-05-11 10:49:03.557: 200 UTF8 mode enabled.
2020-05-11 10:49:03.561: EVERYTHING SIZE_COLUMN 1
2020-05-11 10:49:03.564: 200 Size column set to (1).
2020-05-11 10:49:03.566: EVERYTHING DATE_MODIFIED_COLUMN 1
2020-05-11 10:49:03.569: 200 Date modified column set to (1).
2020-05-11 10:49:03.570: EVERYTHING PATH_COLUMN 1
2020-05-11 10:49:03.573: 200 Path column set to (1).
2020-05-11 10:49:03.575: EVERYTHING COUNT 38
2020-05-11 10:49:03.577: 200 Count set to (38).
2020-05-11 10:49:03.580: EVERYTHING HIDE_EMPTY_SEARCH_RESULTS 1
2020-05-11 10:49:03.582: 200 Hide empty search results set to (1).
2020-05-11 10:49:03.584: EVERYTHING QUERY
2020-05-11 10:49:03.587: search '' filter '' sort 0
2020-05-11 10:49:03.589: SET SORT 0
2020-05-11 10:49:03.590: found 0 folders, size 0, db search time taken: 0.000050 seconds
2020-05-11 10:49:03.592: found 0 files, size 0, db search time taken: 0.000150 seconds
2020-05-11 10:49:03.593: set sort 0 1
2020-05-11 10:49:03.594: already sorted
2020-05-11 10:49:03.596: finished sort, time taken 0.002729 seconds
2020-05-11 10:49:03.598: update selection 0.000001 seconds
2020-05-11 10:49:03.599: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:49:03.601: DB_WAIT: _db_ready_proc waited 0.001358 seconds
2020-05-11 10:49:03.602: 200 End.
2020-05-11 10:49:07.230: EVERYTHING SEARCH stbart0200
2020-05-11 10:49:07.233: 200 Search set to (stbart0200).
2020-05-11 10:49:07.237: EVERYTHING QUERY
2020-05-11 10:49:07.239: search 'stbart0200' filter '' sort 0
2020-05-11 10:49:07.241: term 00000000002f35c0, flags: 3140, next: 0000000000000000, notnext: 0000000000000000
folderop: 2, fileop: 2, term: stbart0200
2020-05-11 10:49:07.242: SET SORT 0
2020-05-11 10:49:07.246: found 1 folders, size 65544, db search time taken: 0.001878 seconds
2020-05-11 10:49:07.266: found 7 files, size 65544, db search time taken: 0.019442 seconds
2020-05-11 10:49:07.269: set sort 0 1
2020-05-11 10:49:07.270: already sorted
2020-05-11 10:49:07.272: finished sort, time taken 0.003025 seconds
2020-05-11 10:49:07.273: update selection 0.000001 seconds
2020-05-11 10:49:07.275: DB_WAIT: _db_ready_proc waiting...
2020-05-11 10:49:07.276: DB_WAIT: _db_ready_proc waited 0.001511 seconds
2020-05-11 10:49:07.279: 200 End.
2020-05-11 11:00:55.621: update folder start \\192.168.49.10\data\Software\Wago\Codesys
2020-05-11 11:00:55.623: scanning \\192.168.49.10\data\Software\Wago\Codesys...
2020-05-11 11:00:55.624: next update at 18/05 11:00
2020-05-11 11:00:55.645: scan completed in 0.022279 seconds
2020-05-11 11:00:55.647: scan completed in 0.024546 seconds
2020-05-11 11:00:55.649: rescan update db
2020-05-11 11:00:55.679: leave folder update
2020-05-11 11:00:55.680: update folder start \\sbs2011\DATA\Software\Wago\Codesys
2020-05-11 11:00:55.682: next update at 18/05 11:00
2020-05-11 11:00:55.683: scanning \\sbs2011\DATA\Software\Wago\Codesys...
2020-05-11 11:00:55.706: scan completed in 0.023855 seconds
2020-05-11 11:00:55.707: scan completed in 0.025467 seconds
2020-05-11 11:00:55.709: rescan update db
2020-05-11 11:00:55.740: leave folder update
2020-05-11 11:00:55.741: update folder start N:\
2020-05-11 11:00:55.743: next update at 18/05 11:00
2020-05-11 11:00:55.745: scanning N:\...
2020-05-11 11:00:55.746: failed to open directory 3
2020-05-11 11:00:56.747: scanning N:\...
2020-05-11 11:00:56.749: failed to open directory 3
2020-05-11 11:00:57.750: scanning N:\...
2020-05-11 11:00:57.752: failed to open directory 3
2020-05-11 11:00:58.753: scanning N:\...
2020-05-11 11:00:58.755: failed to open directory 3
2020-05-11 11:00:59.756: scanning N:\...
2020-05-11 11:00:59.758: failed to open directory 3
2020-05-11 11:01:00.759: scanning N:\...
2020-05-11 11:01:00.761: failed to open directory 3
2020-05-11 11:01:01.763: scanning N:\...
2020-05-11 11:01:01.765: failed to open directory 3
2020-05-11 11:01:02.766: scanning N:\...
2020-05-11 11:01:02.768: failed to open directory 3
2020-05-11 11:01:03.770: scanning N:\...
2020-05-11 11:01:03.772: failed to open directory 3
2020-05-11 11:01:04.774: scanning N:\...
2020-05-11 11:01:04.776: failed to open directory 3
2020-05-11 11:01:05.777: scanning N:\...
2020-05-11 11:01:05.779: failed to open directory 3
2020-05-11 11:01:06.781: scanning N:\...
2020-05-11 11:01:06.785: failed to open directory 3
2020-05-11 11:01:07.786: scanning N:\...
2020-05-11 11:01:07.789: failed to open directory 3
2020-05-11 11:01:08.791: scanning N:\...
2020-05-11 11:01:08.792: failed to open directory 3
2020-05-11 11:01:09.793: scanning N:\...
2020-05-11 11:01:09.796: failed to open directory 3
2020-05-11 11:01:10.797: scanning N:\...
2020-05-11 11:01:10.798: failed to open directory 3
2020-05-11 11:01:11.800: scanning N:\...
2020-05-11 11:01:11.803: failed to open directory 3
2020-05-11 11:01:12.804: scanning N:\...
2020-05-11 11:01:12.806: failed to open directory 3
2020-05-11 11:01:13.808: scanning N:\...
2020-05-11 11:01:13.810: failed to open directory 3
2020-05-11 11:01:14.811: scanning N:\...
2020-05-11 11:01:14.813: failed to open directory 3
2020-05-11 11:01:15.814: scanning N:\...
2020-05-11 11:01:15.816: failed to open directory 3
2020-05-11 11:01:16.817: scanning N:\...
2020-05-11 11:01:16.819: failed to open directory 3
2020-05-11 11:01:17.820: scanning N:\...
2020-05-11 11:01:17.821: failed to open directory 3
2020-05-11 11:01:18.823: scanning N:\...
2020-05-11 11:01:18.825: failed to open directory 3
2020-05-11 11:01:19.826: scanning N:\...
2020-05-11 11:01:19.828: failed to open directory 3
2020-05-11 11:01:20.829: scanning N:\...
2020-05-11 11:01:20.831: failed to open directory 3
2020-05-11 11:01:21.833: scanning N:\...
2020-05-11 11:01:21.834: failed to open directory 3
2020-05-11 11:01:22.836: scanning N:\...
2020-05-11 11:01:22.838: failed to open directory 3
2020-05-11 11:01:23.839: scanning N:\...
2020-05-11 11:01:23.841: failed to open directory 3
2020-05-11 11:01:24.842: scanning N:\...
2020-05-11 11:01:24.844: failed to open directory 3
2020-05-11 11:01:25.846: scanning N:\...
2020-05-11 11:01:25.848: failed to open directory 3
2020-05-11 11:01:26.850: scanning N:\...
2020-05-11 11:01:26.851: failed to open directory 3
2020-05-11 11:01:27.853: scanning N:\...
2020-05-11 11:01:27.855: failed to open directory 3
2020-05-11 11:01:28.857: scanning N:\...
2020-05-11 11:01:28.878: failed to open directory 3
2020-05-11 11:01:29.881: scanning N:\...
2020-05-11 11:01:29.890: failed to open directory 3
2020-05-11 11:01:30.891: scanning N:\...
2020-05-11 11:01:30.907: failed to open directory 3
2020-05-11 11:01:31.909: scanning N:\...
2020-05-11 11:01:31.935: failed to open directory 3
2020-05-11 11:01:32.937: scanning N:\...
2020-05-11 11:01:32.938: failed to open directory 3
2020-05-11 11:01:33.940: scanning N:\...
2020-05-11 11:01:34.460: failed to open directory 3
2020-05-11 11:01:36.213: scanning N:\...
2020-05-11 11:01:36.955: failed to open directory 3
2020-05-11 11:01:37.959: scanning N:\...
2020-05-11 11:01:38.335: failed to open directory 3
2020-05-11 11:01:39.846: scanning N:\...
2020-05-11 11:01:40.484: failed to open directory 3
2020-05-11 11:01:41.881: scanning N:\...
2020-05-11 11:01:42.859: failed to open directory 3
2020-05-11 11:01:45.668: scanning N:\...
2020-05-11 11:01:46.143: failed to open directory 3
2020-05-11 11:01:47.654: scanning N:\...
2020-05-11 11:01:48.019: failed to open directory 3
2020-05-11 11:01:49.532: scanning N:\...
2020-05-11 11:01:49.607: failed to open directory 3
2020-05-11 11:01:50.609: scanning N:\...
2020-05-11 11:01:50.611: failed to open directory 3
2020-05-11 11:01:51.612: scanning N:\...
2020-05-11 11:01:51.614: failed to open directory 3
2020-05-11 11:01:52.615: scanning N:\...
2020-05-11 11:01:52.617: failed to open directory 3
2020-05-11 11:01:53.619: scanning N:\...
2020-05-11 11:01:53.620: failed to open directory 3
2020-05-11 11:01:54.622: scanning N:\...
2020-05-11 11:01:54.624: failed to open directory 3
2020-05-11 11:01:55.625: scanning N:\...
2020-05-11 11:01:55.628: failed to open directory 3
2020-05-11 11:01:56.629: scan completed in 60.887903 seconds
2020-05-11 11:01:56.631: scan completed in 60.890137 seconds
2020-05-11 11:01:56.632: rescan update db
2020-05-11 11:01:56.633: leave folder update
2020-05-11 11:32:03.580: Connected.
2020-05-11 11:32:03.588: USER evts
2020-05-11 11:32:03.591: 331 Password required for evts
2020-05-11 11:32:03.595: PASS fidelix30
2020-05-11 11:32:03.598: 230 Logged on.
2020-05-11 11:32:03.602: OPTS UTF8 ON
2020-05-11 11:32:03.604: 200 UTF8 mode enabled.
2020-05-11 11:32:03.607: EVERYTHING SIZE_COLUMN 1
2020-05-11 11:32:03.610: 200 Size column set to (1).
2020-05-11 11:32:03.613: EVERYTHING DATE_MODIFIED_COLUMN 1
2020-05-11 11:32:03.616: 200 Date modified column set to (1).
2020-05-11 11:32:03.619: EVERYTHING PATH_COLUMN 1
2020-05-11 11:32:03.621: 200 Path column set to (1).
2020-05-11 11:32:03.623: EVERYTHING COUNT 50
2020-05-11 11:32:03.625: 200 Count set to (50).
2020-05-11 11:32:03.627: EVERYTHING HIDE_EMPTY_SEARCH_RESULTS 1
2020-05-11 11:32:03.630: 200 Hide empty search results set to (1).
2020-05-11 11:32:03.632: EVERYTHING QUERY
2020-05-11 11:32:03.635: search '' filter '' sort 0
2020-05-11 11:32:03.637: SET SORT 0
2020-05-11 11:32:03.640: found 0 folders, size 0, db search time taken: 0.001548 seconds
2020-05-11 11:32:03.651: found 0 files, size 0, db search time taken: 0.009592 seconds
2020-05-11 11:32:03.652: set sort 0 1
2020-05-11 11:32:03.654: already sorted
2020-05-11 11:32:03.656: finished sort, time taken 0.003515 seconds
2020-05-11 11:32:03.657: update selection 0.000000 seconds
2020-05-11 11:32:03.659: DB_WAIT: _db_ready_proc waiting...
2020-05-11 11:32:03.660: DB_WAIT: _db_ready_proc waited 0.001364 seconds
2020-05-11 11:32:03.662: 200 End.
2020-05-11 11:32:18.874: EVERYTHING SEARCH 3932_2H
2020-05-11 11:32:18.877: 200 Search set to (3932_2H).
2020-05-11 11:32:18.881: EVERYTHING QUERY
2020-05-11 11:32:18.884: search '3932_2H' filter '' sort 0
2020-05-11 11:32:18.885: term 0000000001778ff0, flags: 1140, next: 0000000000000000, notnext: 0000000000000000
folderop: 2, fileop: 2, term: 3932_2H
2020-05-11 11:32:18.887: SET SORT 0
2020-05-11 11:32:18.890: found 0 folders, size 0, db search time taken: 0.001511 seconds
2020-05-11 11:32:18.917: found 2 files, size 65544, db search time taken: 0.022690 seconds
2020-05-11 11:32:18.919: set sort 0 1
2020-05-11 11:32:18.920: already sorted
2020-05-11 11:32:18.922: finished sort, time taken 0.003670 seconds
2020-05-11 11:32:18.924: update selection 0.000000 seconds
2020-05-11 11:32:18.925: DB_WAIT: _db_ready_proc waiting...
2020-05-11 11:32:18.927: DB_WAIT: _db_ready_proc waited 0.001394 seconds
2020-05-11 11:32:18.928: 200 End.
The 2 folder indexes using UNC path succesfully indexed, while the N: drive failed to index.
update folder start N:\
scanning N:\...
failed to open directory 3

The N-drive is mapped using group policy, and i suspected it was because it was set as non-persistent, so i tried manually mapping it for the evts using "net use /persistent:yes". But that didn't work.
It seems that if the evts user is only running as a service, and not on a desktop session, then mapped network drives don't exist for that user, even if mapped as persistent.
https://stackoverflow.com/questions/182 ... -a-service

To test this i tried being logged into an active desktop session as the evts user at the same time the service was scheduled to update the index. But it still said:
update folder start N:\
scanning N:\...
failed to open directory 3
So even if logged into a desktop session at the same time, the service still couldn't access the network drive.

The alternative is to set the folder index using the UNC path. But that means that ETP clients would also access them using the UNC path, instead of their mapped network drive, which isn't ideal.

The only reason i've added the folder index as a network drive is so the ETP clients can access it correctly. The actual folder is on the server itself, so technically it could just index it locally and serve the clients that index if it was possible to replace the "D:\DATA\" part with "N:\" in the ETP search results on the clients.
richard3840
Posts: 3
Joined: Mon May 04, 2020 9:01 am

Re: ETP Server as Everything Client Service

Post by richard3840 »

richard3840 wrote: Mon May 11, 2020 11:22 am The only reason i've added the folder index as a network drive is so the ETP clients can access it correctly. The actual folder is on the server itself, so technically it could just index it locally and serve the clients that index if it was possible to replace the "D:\DATA\" part with "N:\" in the ETP search results on the clients.
So i just noticed that you had actually thought of this before :-):
https://www.voidtools.com/support/every ... _rewriting

Using the local folder path and substituting on the clients solves the problem since it has no problem indexing local paths (or UNC paths for that matter)
Post Reply