Deployment Architecture

Deployment Server unable to deploy with HOMEPATH error

landen99
Motivator

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

landen99
Motivator

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

View solution in original post

0 Karma

landen99
Motivator

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).
0 Karma

nick405060
Motivator

Nope. Just gives the same error message. Idk how it can tell you that HOMEPATH is not set when I just set HOMEPATH

0 Karma

somesoni2
Revered Legend

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

0 Karma

landen99
Motivator
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).
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...