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!

New Splunk Observability innovations: Deeper visibility and smarter alerting to ...

You asked, we delivered. Splunk Observability Cloud has several new innovations giving you deeper visibility ...

Synthetic Monitoring: Not your Grandma’s Polyester! Tech Talk: DevOps Edition

Register today and join TekStream on Tuesday, February 28 at 11am PT/2pm ET for a demonstration of Splunk ...

Instrumenting Java Websocket Messaging

Instrumenting Java Websocket MessagingThis article is a code-based discussion of passing OpenTelemetry trace ...