When I try to install any app from the zipped file, I get an error like:
There was an error processing the upload.
Looking in the splunkd.log file I see:
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': Traceback (most recent call last):
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': File "C:\Program Files\Splunk\bin\runScript.py", line 27, in <module>
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': filename=os.environ['SPLUNK_HOME'] + '/var/log/splunk/python.log',
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': File "C:\Program Files\Splunk\Python-2.7\Lib\os.py", line 423, in __getitem__
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': return self.data[key.upper()]
ERROR ScriptRunner - stderr from 'C:\Program Files\Splunk\etc\system\bin\appinstall.py': KeyError: 'SPLUNK_HOME'
ERROR AdminManager - External handler failed with code '1' and output: ''. See splunkd.log for stderr output.
I have tried adding a SPLUNK_HOME global environment variable and rebooted the machine and that didn't help. Any advice would be greatly appreciated.
... View more