Please assist in resolving the HOMEPATH error during app deployment attempt below:
C:\Program Files\Splunk\bin>splunk reload deploy-server
An error occurred: Could not determine user's home directory because HOMEPATH shell variable is not set.
Somesoni2's comment above revealed the correct procedure to resolving this error on Windows. From my reply above:
SET HOMEDRIVE=C:
SET HOMEPATH=\Users\Andrew
Clears the error for:
splunk reload deploy-server
And enables the authentication to proceed.
C:\Program Files\Splunk\bin>splunk reload deploy-server
Reloading serverclass(es).
Somesoni2's comment above revealed the correct procedure to resolving this error on Windows. From my reply above:
SET HOMEDRIVE=C:
SET HOMEPATH=\Users\Andrew
Clears the error for:
splunk reload deploy-server
And enables the authentication to proceed.
C:\Program Files\Splunk\bin>splunk reload deploy-server
Reloading serverclass(es).
Nope. Just gives the same error message. Idk how it can tell you that HOMEPATH is not set when I just set HOMEPATH
Can you try the steps mentioned here? (see the comments as well under answer)
https://answers.splunk.com/answers/35308/cleaning-indexes-not-working.html
SET HOMEDRIVE=C:
SET HOMEPATH=\Users\Andrew
Clears the error for:
splunk reload deploy-server
And enables the authentication to proceed.
C:\Program Files\Splunk\bin>splunk reload deploy-server
Reloading serverclass(es).