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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...