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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...