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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...