All Apps and Add-ons

Should Haversine add-on work with Splunk 6.6.1?

simpkins1958
Contributor

When try and install the haversine add-on getting this error message:

There was an error processing the upload.Invalid app contents: archive contains more than one immediate subdirectory: and haversine

0 Karma

MuS
Legend

Hi simpkins1958,

usually this indicates some wrong /weird files or wrong directory levels in the package.

For example on Mac OSX you can find all these ._* or .DS_STORE files. To work around this problem just unpack the downloaded app package on your PC and check that you have a directory called app name and in there you can find bin,default and all the other required folders. If you find a folder called app name/app name and then all the other folders, the app has been packed wrong.
If the folders look good, search for theses ._* files and delete them, afterwards zip the cleaned directory using the following zip options zip -r app.zip app -x *.DS_Store* -x *__MACOSX* (on OSX at least) this will exclude those invisible Mac resource files such as _MACOSX or ._Filename and .DS_STORE files.
Now you should be able to install the app without any problem.

Hope this helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...