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
SplunkTrust
SplunkTrust

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
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...