Deployment Architecture

How do I "un-uninstall" a deployment server app?

woodcock
Esteemed Legend

I was trying to remove an app from a serverclass and I clicked on Uninstall thinking that that would do it (there are 5 different ways to do the same thing on the DS so I have a bad habit of assuming I know what stuff will do).

Not only did it remove the app from my serverclass but it sent the app into some kind of phantom zone banishment from which I am unable to reclaim it. No matter what I do, the DS GUI will no longer recognize this app as an app.

I have deleted it from deployment-apps and re-added it but this did nothing. I have searched the entire $SPLUNK_HOME for any references to this app and can find nothing. What exactly does uninstall do and how do I undo it?

0 Karma
1 Solution

woodcock
Esteemed Legend

OK, I figured it out. I manually added this back into my serverclass.conf file:

[serverClass:SomeAppThatExists:app:YourUninstalledAppNameHere]
restartSplunkWeb = 0
restartSplunkd = 1
stateOnClient = enabled

Then I rebooted my DS and when I logged in, I was able to see the app again inside of the serverclass.
I still don't know what really happens and this isn't a real answer but at least it got the app back to some degree of usability.

View solution in original post

woodcock
Esteemed Legend

OK, I figured it out. I manually added this back into my serverclass.conf file:

[serverClass:SomeAppThatExists:app:YourUninstalledAppNameHere]
restartSplunkWeb = 0
restartSplunkd = 1
stateOnClient = enabled

Then I rebooted my DS and when I logged in, I was able to see the app again inside of the serverclass.
I still don't know what really happens and this isn't a real answer but at least it got the app back to some degree of usability.

Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...