All Apps and Add-ons

How do I update my app in Splunkbase?

csyvenky
Path Finder

Hi,

I have updated /default/app.conf and increased the Version and Build values. Tar'd the folder up and attempted to use the Splunkbase admin portal to update the release. When I upload the tar.gz file I receive the following error:

"No "app.conf" file was not found the "default" directory"

Although, the tarball clearly has this file and it passes AppInspect tests showing the correct version in the AI report.

0 Karma
1 Solution

DavidHourani
Super Champion

Hi @csyvenky,

As @tkomatsubara_splunk mentioned make sure the permissions on your files are right before creating the tarball.

Also make sure your tarball doesn't contain multiple levels, it could be that when you untar it you need to go down two levels before reaching your local and default folders.

Make sure you've got the following right :
https://docs.splunk.com/Documentation/Splunkbase/latest/Splunkbase/Approvalcriteria#Packaging_and_na...

Cheers,
David

View solution in original post

0 Karma

DavidHourani
Super Champion

Hi @csyvenky,

As @tkomatsubara_splunk mentioned make sure the permissions on your files are right before creating the tarball.

Also make sure your tarball doesn't contain multiple levels, it could be that when you untar it you need to go down two levels before reaching your local and default folders.

Make sure you've got the following right :
https://docs.splunk.com/Documentation/Splunkbase/latest/Splunkbase/Approvalcriteria#Packaging_and_na...

Cheers,
David

0 Karma

csyvenky
Path Finder

Thanks for the feedback folks, I got it working. The suggestions forced me to triple check. Although I didn't have a permission issue, I did have a folder level issue. I grabbed my tar command from the README which includes a period - as a result of running the command with a period at the end I also ended up with an unneeded folder.

This is what I was running:
tar --exclude='/.git' -czvf .tar.gz /.

Which resulted in this:
tar -zxvf .tar.gz
/./default/app.conf.

0 Karma

DavidHourani
Super Champion

You're welcome ! As I mentioned, it's always either permissions or this folder level thingy...

Feel free to accept the answer or convert your comment and accept it 🙂

0 Karma

tkomatsubara_sp
Splunk Employee
Splunk Employee

It looks like there is permission issue. If you are using linux, please take a look into the permissions.

0 Karma

csyvenky
Path Finder

I’m building on OSX - thought I validated that permissions matched all other files. Didn’t notice anything out of the ordinary.

I don't have a local folder, only default.

0 Karma

Sukisen1981
Champion

@csyvenky
where is your app file in /default or /local
is it possible to share the TAR folder contents?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

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