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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...