<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error:  &amp;quot;There was an error processing the upload...&amp;quot; in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/692570#M11579</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; OK, yeah, I just had to use the tar -C flag/option to unzip to a new directory, to make sure it unzipped *ONLY* the archive files there, and then I just zip it back up normally.&amp;nbsp; So, just create a new dir, and then use the -C flag/option on the tar command to unzip.&amp;nbsp; That's the easy fix.&amp;nbsp; Good to go.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jul 2024 21:51:09 GMT</pubDate>
    <dc:creator>alex_huffman</dc:creator>
    <dc:date>2024-07-06T21:51:09Z</dc:date>
    <item>
      <title>Error:  "There was an error processing the upload..."</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689137#M11513</link>
      <description>&lt;P&gt;I'm using Splunk Enterprise 9.2.0.&amp;nbsp; We are able to update our app, which is run on a VM in vSphere, using a .tar.gz file from GitLab...&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;our_app_name&lt;STRONG&gt;].tar.gz&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So, it works just fine on that VM, but when I try to update the one we have running in a cloud environment in AWS, I get the following error after I upload a .tar.gz file:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;There was an error processing the upload.Invalid app contents: archive contains more than one immediate subdirectory: and [&lt;/STRONG&gt;our_app_name&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any advice on what might be the fix for that, or how I should start troubleshooting, I would appreciate.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 19:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689137#M11513</guid>
      <dc:creator>alex_huffman</dc:creator>
      <dc:date>2024-05-30T19:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error:  "There was an error processing the upload..."</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689151#M11514</link>
      <description>&lt;P&gt;Hey Alex,&lt;BR /&gt;You mean you are trying to use your tar.gz from gitlab, it can be the case git itself is appending any other folders to the root dir structure in that tar.gz? Check the content to see if that is the case (including hidden ones). It may be the case to simple remove them and try again.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 00:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689151#M11514</guid>
      <dc:creator>victor_menezes</dc:creator>
      <dc:date>2024-05-31T00:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error:  "There was an error processing the upload..."</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689169#M11515</link>
      <description>&lt;P&gt;adding to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/140738"&gt;@victor_menezes&lt;/a&gt;&amp;nbsp; said.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When uploading apps to Splunk cloud you must pass various checks. Splunk Appinspect has various standards. (On premise is different) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you upload the app it will run check_package_compression checks, and in there you can't have . or __MACOSX type for when on Mac&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Splunk App does not contain any directories or files that start with a ., or directories that start with __MACOSX"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, check your app compressed app file and remove any hidden folders or files it may even have a leading /. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tar -tzf your_file.tar.gz &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You may be able to use the git archive command (but need to ensure you remove hidden folder etc)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It’s worth looking here for latest cloud check&amp;nbsp; updates, as this criterion for cloud does change&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/relnotes/relnotes-appinspectcli/whatsnew/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/relnotes/relnotes-appinspectcli/whatsnew/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://dev.splunk.com/enterprise/reference/appinspect/appinspectcheck/" target="_blank"&gt;https://dev.splunk.com/enterprise/reference/appinspect/appinspectcheck/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 07:24:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/689169#M11515</guid>
      <dc:creator>deepakc</dc:creator>
      <dc:date>2024-05-31T07:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error:  "There was an error processing the upload..."</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/692570#M11579</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; OK, yeah, I just had to use the tar -C flag/option to unzip to a new directory, to make sure it unzipped *ONLY* the archive files there, and then I just zip it back up normally.&amp;nbsp; So, just create a new dir, and then use the -C flag/option on the tar command to unzip.&amp;nbsp; That's the easy fix.&amp;nbsp; Good to go.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 21:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/692570#M11579</guid>
      <dc:creator>alex_huffman</dc:creator>
      <dc:date>2024-07-06T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error:  "There was an error processing the upload..."</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/692582#M11580</link>
      <description>Hi&lt;BR /&gt;I have always Makefile which generates deployment ready xxx.spl files from current clients all apps into one directory + combined tar file. Those are easy to transfer and use where they are needed.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Sun, 07 Jul 2024 09:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Error-quot-There-was-an-error-processing-the-upload-quot/m-p/692582#M11580</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-07-07T09:45:10Z</dc:date>
    </item>
  </channel>
</rss>

