All Apps and Add-ons

When uploading an app to Splunkbase, why do I receive "An unknown error occurred while validating the package" error?

jkat54
SplunkTrust
SplunkTrust

I've used 7zip to create a tar.gz, app works fine on windows and linux based splunk installs. I've used the same process for uploading apps countless times. I've tried different computers, and different networks. Yet i'm having to release updates to apps by hosting it externally because I keep getting "An unknown error occurred while validating the package" when i try to upload the new version or when trying to create a new app from scratch and upload the "original" version.

Anyone else having this issue? Any suggestions?

Tags (2)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

I emailed splunkbase admin and found out this is a bug and they plan to fix it today. Which makes me happy! It's been 3 weeks since I first discovered and reported the issue.

That's a pretty good turn around if you ask me. Could be worse.alt text

View solution in original post

0 Karma

jkat54
SplunkTrust
SplunkTrust

I emailed splunkbase admin and found out this is a bug and they plan to fix it today. Which makes me happy! It's been 3 weeks since I first discovered and reported the issue.

That's a pretty good turn around if you ask me. Could be worse.alt text

0 Karma

grimlock
Path Finder

By the way if you didn't already know, Splunk has a pip package available command built just for inspecting an apps prior release or install.

Please see the page on Splunk Docs for AppInspect. It also has command line examples that I used for my app when submitting.
http://dev.splunk.com/view/appinspect/SP-CAAAFAM

It covers cloud deployments and on-premises instances.

jkat54
SplunkTrust
SplunkTrust

I do use appinspect but you gave me the idea to at least update it.

I have failures related to permissions on my python files but that's never stopped me from uploading before.

I might try putting in linux ecosystem and correcting permissions, then uploading again. Thanks.

0 Karma

MuS
Legend

Hi jkat54,

I got this error when the app package contained some .DS_STORE files or was zipped at the wrong directory level.
Usually I just use the Splunk CLI command splunk package app <myFunkyAppNameHere> and upload the resulting spl file to Splunkbase.

Hope this helps ...

cheers, MuS

jkat54
SplunkTrust
SplunkTrust

I tried this approach at your suggestion, and i get different errors regarding some rw perms on a .tmp file in there. When i unpack it, and review, these tmp files are not created by me, nor do they exist in my app... for this i blame windows splunk i guess.

So i removed the temp files, repacked as .spl, upload, get the same error.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...