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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...