Hello, I'm trying to replace a custom app that had all references of a word changed to another (like a company rename thing) such as in saved search titles, panel titles etc.
I delete the old app folder and paste over the new app folder (same app but used a script to replace all word 'x' to word 'y'), ensure file permissions are inherited and double checked, restart splunk. But when I try to navigate to that app I get the Splunk's version of 404 page not found (picture of buttercup in a black splunk shirt).
Am I missing a key step? Maybe some reference to the original app path in system? Maybe should work and the issue is the script that replaced the keyword could have broken something?
Thank you, did that as well during trouble shooting- no dice.
I found this in the web_service log
"An unknown view name "myapp" is referenced in the navigation definition for "myapp".
Somehow both the scripted approach and a manual approach with Notepad++ 'in file' search didn't catch a view I had in myapp/default/data/ui/views still had an 'oldmyapp' view name referenced. Fixed it, restart, works now. Thanks all for the replies.
Yes, "double checked, restart splunk"
I stopped the splunk service, moved the app, started it. Restarted it. I'm doing this on a VM so have been using a snapshot to try things like moving the new app in before deleting the old app. Interestingly the new app still gets named as the old one. I manually change the name in the WebUI, it still gets a 404. I might do a more manual version of name changing, maybe a stanza got affected in a bad way.
Thank you, did that as well during trouble shooting- no dice.
I found this in the web_service log
"An unknown view name "myapp" is referenced in the navigation definition for "myapp".
Somehow both the scripted approach and a manual approach with Notepad++ 'in file' search didn't catch a view I had in myapp/default/data/ui/views still had an 'oldmyapp' view name referenced. Fixed it, restart, works now. Thanks all for the replies.