<?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: Why am I getting &amp;quot;Error while creating deployable apps...No such file or directory&amp;quot; trying to to run &amp;quot;apply shcluster-bundle&amp;quot; on our search head cluster deployer? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260578#M9907</link>
    <description>&lt;P&gt;Ok, at least we have confirmation of an issue and a bugID.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2015 21:32:28 GMT</pubDate>
    <dc:creator>ckurtz</dc:creator>
    <dc:date>2015-12-03T21:32:28Z</dc:date>
    <item>
      <title>Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260572#M9901</link>
      <description>&lt;P&gt;OS Linux &lt;BR /&gt;
Splunk Version 6.3.1&lt;/P&gt;

&lt;P&gt;After executing the following command on my deployer instance, I am seeing this error.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-bash-3.2$ ./splunk/bin/splunk apply shcluster-bundle -target https://myhost@domain.com:8089

 Warning: Depending on the configuration changes being pushed, this command might initiate a rolling restart of the cluster members.  Please refer to the documentation for the details. Do you wish to continue? [y/n]: y
Error while creating deployable apps: Error copying src="/opt/splunk/etc/shcluster" to tmp_staging_area="/opt/splunk/var/run/splunk/deploy.8e9ed66fdbd0ac3d.tmp": No such file or directory
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The temp_staging_area does exist and permissions are okay.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-bash-3.2$ ls -ltr
total 376
drwx------    2 splunkd splunkd   4096 Oct 30 04:45 upload
drwx--x---    4 splunkd splunkd   4096 Oct 30 04:45 appserver
drwx------    4 splunkd splunkd   4096 Oct 30 04:46 scheduler
drwx------    2 splunkd splunkd   4096 Nov  5 21:48 typeahead
drwxr-x---    4 splunkd splunkd   4096 Dec  1 00:39 deploy.fe8c0cae1fa6cd18.tmp
drwx------    2 splunkd splunkd   4096 Dec  1 00:47 merged
-rw-------    1 splunkd splunkd      6 Dec  1 00:47 conf-mutator.pid
-rw-------    1 splunkd splunkd  10937 Dec  1 00:47 composite.xml
drwxr-x---    4 splunkd splunkd   4096 Dec  1 00:48 deploy.c2659c1df562d295.tmp
drwxr-x---    4 splunkd splunkd   4096 Dec  1 00:49 deploy.39dbf1c7b7c94f85.tmp
drwx------    4 splunkd splunkd   4096 Dec  2 20:50 deploy
drwxr-x---    4 splunkd splunkd   4096 Dec  2 20:53 deploy.41b88613e6ab63d0.tmp
drwxr-x---    4 splunkd splunkd   4096 Dec  2 20:56 deploy.8e9ed66fdbd0ac3d.tmp
drwx--x--x 1309 splunkd splunkd 311296 Dec  2 20:58 dispatch
drwx------    2 splunkd splunkd   4096 Dec  2 20:58 srtemp
-rw-r-----    1 splunkd splunkd     30 Dec  2 21:00 splunkd.pid
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I also have verified that the apps and users directory existing in the deploy.8e9ed66fdbd0ac3d.tmp folder.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-bash-3.2$ cd deploy.8e9ed66fdbd0ac3d.tmp
-bash-3.2$ pwd
/opt/splunk/var/run/splunk/deploy.8e9ed66fdbd0ac3d.tmp
-bash-3.2$ ls -ltr
total 88
drwx--x--- 1963 splunkd splunkd 81920 Dec  2 20:56 users
drwxr-x---   32 splunkd splunkd  4096 Dec  2 20:56 apps
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260572#M9901</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2020-09-29T08:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260573#M9902</link>
      <description>&lt;P&gt;Support Case 293707&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 16:48:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260573#M9902</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-12-03T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260574#M9903</link>
      <description>&lt;P&gt;I was told SPL-106728 was created to have more logging for the deployer instance. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 17:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260574#M9903</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-12-03T17:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260575#M9904</link>
      <description>&lt;P&gt;Try doing a "chown -R splunkd:splunkd" on the entire Splunk install tree on the deployer. I had a similar error (and the SPL is probably my complaint) about vague error messages that was a caused by a single bad file in a completely unassociated directory.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 18:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260575#M9904</guid>
      <dc:creator>ckurtz</dc:creator>
      <dc:date>2015-12-03T18:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260576#M9905</link>
      <description>&lt;P&gt;It was not successful. To add a little more context about the shcluster/apps directory, I have symlinked custom apps that relate to a local git repo that I have keeping the apps up to date. Splunk dev confirmed that symlinks would cause this issue. &lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 19:05:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260576#M9905</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-12-03T19:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260577#M9906</link>
      <description>&lt;P&gt;I had apps symlinked in shcluster/apps...&lt;/P&gt;

&lt;P&gt;Splunk support with confirmation of dev says the symlinks would cause issues, so I have removed them and now works fine.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:30:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260577#M9906</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-12-03T21:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260578#M9907</link>
      <description>&lt;P&gt;Ok, at least we have confirmation of an issue and a bugID.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260578#M9907</guid>
      <dc:creator>ckurtz</dc:creator>
      <dc:date>2015-12-03T21:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260579#M9908</link>
      <description>&lt;P&gt;Symlinks are no issue here, but you happen to have one "pointing" to a non-existing directory (dereferenced) from shcluster/apps to apps and/or the symlink itself doesn't have the right permissions.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 13:30:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260579#M9908</guid>
      <dc:creator>jibanes</dc:creator>
      <dc:date>2016-05-31T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260580#M9909</link>
      <description>&lt;P&gt;I wonder if this is the same behavior for deployment server? Would you experience issues if you symlinked the deployment_apps?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260580#M9909</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2016-06-10T17:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260581#M9910</link>
      <description>&lt;P&gt;I had the same problem and this fixed it for me (no symlinks involved); &lt;/P&gt;

&lt;P&gt;Doing "chown -R" on the ../etc/shcluster/apps folder did the trick.&lt;/P&gt;

&lt;P&gt;Thx!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 10:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260581#M9910</guid>
      <dc:creator>dkoops</dc:creator>
      <dc:date>2017-02-03T10:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260582#M9911</link>
      <description>&lt;P&gt;just had the same problem with our Deployer. Evidently, an app had multiple files exceeding 256 characters. Errors reported in splunkd.log regarding tar: Path/name too long&lt;/P&gt;

&lt;P&gt;To view your name + path limits:&lt;/P&gt;

&lt;P&gt;$getconf NAME_MAX /opt/splunk&lt;BR /&gt;
255&lt;/P&gt;

&lt;P&gt;$ getconf PATH_MAX /opt/splunk&lt;BR /&gt;
4096&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 21:59:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260582#M9911</guid>
      <dc:creator>georgen_splunk</dc:creator>
      <dc:date>2018-02-06T21:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run "apply shcluster-bundle" on our search head cluster deployer?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260583#M9912</link>
      <description>&lt;P&gt;Knowing this is an old issue, I had a similar problem on Splunk 7.0.x with the users directory going missing within the shcluster path.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 21:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/260583#M9912</guid>
      <dc:creator>mkolkebeck</dc:creator>
      <dc:date>2018-10-18T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run &amp;quot</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/564404#M24797</link>
      <description>&lt;P&gt;it worked for me the same way chown -R the shcluster directory.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 18:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/564404#M24797</guid>
      <dc:creator>wallacd2018</dc:creator>
      <dc:date>2021-08-23T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "Error while creating deployable apps...No such file or directory" trying to to run &amp;quot</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/625894#M26521</link>
      <description>&lt;P&gt;Stray emacs temp files can apparently cause this sort of error as well.&amp;nbsp; (as of 8.2.x). E.g.&lt;BR /&gt;&lt;BR /&gt;.../default/data/ui/views/.#example.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 21:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-am-I-getting-quot-Error-while-creating-deployable-apps-No/m-p/625894#M26521</guid>
      <dc:creator>mlf</dc:creator>
      <dc:date>2023-01-04T21:26:47Z</dc:date>
    </item>
  </channel>
</rss>

