<?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: Failed to install app in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19994#M464</link>
    <description>&lt;P&gt;None of the other apps I deployed have the metadata dir on the deployment server and they work. In any case, I added the metadir/local.meta to the problematic app. It is still throwing issues:&lt;/P&gt;

&lt;P&gt;2/24/12 9:16:43.122 AM&lt;/P&gt;

&lt;P&gt;Cannot load to modify: C:\Program Files\SplunkUniversalForwarder\etc\apps\admon\metadata\local.meta&lt;/P&gt;

&lt;P&gt;02-24-2012 09:16:43.122 -0800 ERROR ConfObjectManagerDB - Cannot load to modify: C:\Program Files\SplunkUniversalForwarder\etc\apps\admon\metadata\local.meta&lt;/P&gt;

&lt;P&gt;4&lt;/P&gt;

&lt;P&gt;2/24/12 9:16:43.122 AM&lt;/P&gt;

&lt;P&gt;Cannot open ini file for parsing: The system cannot find the path specified.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2012 17:22:24 GMT</pubDate>
    <dc:creator>virtualpony</dc:creator>
    <dc:date>2012-02-24T17:22:24Z</dc:date>
    <item>
      <title>Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19984#M454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;After redeploying an app today I received the following errors and just cannot find the reason fro this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-21-2011 15:57:06.718 +0200 ERROR DeployedApplication - Failed to install app : C:\Program Files\Splunk\etc\apps\collectors_db2. Cannot update application info: /nobody/collectors_db2/app/install/state = enabled: Metadata could not be written: /nobody/collectors_db2/app/install/state: {  }, removable: yes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;11-21-2011 15:57:07.405 +0200 ERROR ConfObjectManagerDB - Cannot initialize: C:\Program Files\Splunk\etc\apps\collectors_db2\metadata\local.meta&lt;/P&gt;

&lt;P&gt;Using Splunk 4.2.4 on Windows 2008 R2 running as LocalSystem service account.&lt;/P&gt;

&lt;P&gt;I have changed the permission on the folders, but the issue persist. &lt;/P&gt;

&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2011 14:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19984#M454</guid>
      <dc:creator>joonradley</dc:creator>
      <dc:date>2011-11-21T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19985#M455</link>
      <description>&lt;P&gt;joonradley,&lt;/P&gt;

&lt;P&gt;I have started seeing this error at several customer sites after upgrading them to Splunk-4.2.4. I never saw it prior to 4.2.4.&lt;BR /&gt;
I believe this is a logic bug of some kind (it looks like a change which is inappropriately measuring for local.meta's existence).&lt;BR /&gt;
The fix is going to be when Splunk puts out a patch.&lt;BR /&gt;
In the meantime, you can create an empty local.meta file in your apps and the error goes away (in the cases where I have seen this).&lt;/P&gt;

&lt;P&gt;I use a little for loop to implement this solution:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; cd $SPLUNK_HOME/etc/apps (or $SPLUNK_HOME/etc/deployment-apps)&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;for i in &lt;CODE&gt;ls -d&lt;/CODE&gt;; do [ ! -f $i/metadata/local.meta ] &amp;amp;&amp;amp; touch $i/metadata/local.meta; done;&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Reload and all is well.&lt;/P&gt;

&lt;P&gt;I would love to hear someone from Splunk provide more details on this.&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
Sean&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:07:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19985#M455</guid>
      <dc:creator>sdwilkerson</dc:creator>
      <dc:date>2020-09-28T10:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19986#M456</link>
      <description>&lt;P&gt;This is documented in the 4.2.4 known issues with a workaround:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/releasenotes/KnownIssues"&gt;http://docs.splunk.com/Documentation/Splunk/latest/releasenotes/KnownIssues&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Under certain circumstances when deploying apps in 4.2.4, you'll get an error on the deployment client that says: 'cannot update application info: /nobody/appname/app/install/state = enabled: Metadata could not be written: /nobody/appname/app/install/state: { }, removable: yes.' The workaround is to create a file and folder /metadata/local.meta in the app in the deployment-server.(SPL-45019) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Nov 2011 22:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19986#M456</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-11-21T22:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19987#M457</link>
      <description>&lt;P&gt;Good catch on the KnownIssues.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2011 01:20:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19987#M457</guid>
      <dc:creator>sdwilkerson</dc:creator>
      <dc:date>2011-11-22T01:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19988#M458</link>
      <description>&lt;P&gt;thank you. worked perfectly&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2011 14:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19988#M458</guid>
      <dc:creator>joonradley</dc:creator>
      <dc:date>2011-11-22T14:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19989#M459</link>
      <description>&lt;P&gt;Strange...we deploy from a 4.1.7 Deployment Server to a Splunk 4.3 Universal Forwarder and get the same error (under Linux SLES11).&lt;/P&gt;

&lt;P&gt;The workaround described above did work here also. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 16:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19989#M459</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2012-02-20T16:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19990#M460</link>
      <description>&lt;P&gt;tpaulsen,&lt;BR /&gt;
My answer above still applies in 4.3.  Splunk requires local.meta to exist in the app on the deployed system so it can write information locally; unfortunatley they didn't build in a routine to create the file if it didn't exist.&lt;BR /&gt;
The work-around is still to create these files on the deployment server prior to deployment.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 23:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19990#M460</guid>
      <dc:creator>sdwilkerson</dc:creator>
      <dc:date>2012-02-20T23:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19991#M461</link>
      <description>&lt;P&gt;thank you. The strange part is, that it does not happen with every deployment. I am currently upgrading our Forwarder from 4.1 to 4.3. We´ll see if this happens more often.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2012 07:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19991#M461</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2012-02-21T07:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19992#M462</link>
      <description>&lt;P&gt;I'm using 4.3 deploy server and 4.3 universal forwarders when deploying an app, but the metadata directory and local.meta file does not get created. If I try to create the directory and file, it gets deleted.&lt;/P&gt;

&lt;P&gt;I tried removing the entire app from the forwarding system and reloading the deploy server, but the same issue happens.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 01:47:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19992#M462</guid>
      <dc:creator>virtualpony</dc:creator>
      <dc:date>2012-02-24T01:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19993#M463</link>
      <description>&lt;P&gt;virtualpony,&lt;BR /&gt;
The metadata direcotry and the underlying local.meta must exists in a deployment-server environment in order for the app to be installed on the deployment client.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 03:48:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19993#M463</guid>
      <dc:creator>sdwilkerson</dc:creator>
      <dc:date>2012-02-24T03:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19994#M464</link>
      <description>&lt;P&gt;None of the other apps I deployed have the metadata dir on the deployment server and they work. In any case, I added the metadir/local.meta to the problematic app. It is still throwing issues:&lt;/P&gt;

&lt;P&gt;2/24/12 9:16:43.122 AM&lt;/P&gt;

&lt;P&gt;Cannot load to modify: C:\Program Files\SplunkUniversalForwarder\etc\apps\admon\metadata\local.meta&lt;/P&gt;

&lt;P&gt;02-24-2012 09:16:43.122 -0800 ERROR ConfObjectManagerDB - Cannot load to modify: C:\Program Files\SplunkUniversalForwarder\etc\apps\admon\metadata\local.meta&lt;/P&gt;

&lt;P&gt;4&lt;/P&gt;

&lt;P&gt;2/24/12 9:16:43.122 AM&lt;/P&gt;

&lt;P&gt;Cannot open ini file for parsing: The system cannot find the path specified.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 17:22:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19994#M464</guid>
      <dc:creator>virtualpony</dc:creator>
      <dc:date>2012-02-24T17:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19995#M465</link>
      <description>&lt;P&gt;The issue is no longer on the known issues list. I just emailed support to make sure that they are still tracking it in case this is a regression.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19995#M465</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2012-04-24T18:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19996#M466</link>
      <description>&lt;P&gt;It was fixed in 4.3.1&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2012 18:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19996#M466</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2012-04-24T18:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install app</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19997#M467</link>
      <description>&lt;P&gt;That link takes you to the latest known  issues. Here is one  that goes to the 4.2.4 known issues:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.4/ReleaseNotes/KnownIssues"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.4/ReleaseNotes/KnownIssues&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I've found that if you delete the deployment app directory on the forwarder out of $SPLUNK_HOME/etc/apps and restart splunkd the app will be re-installed and the problem goes away. This happened on one of my forwarders and that is what I did there. But when it happened on two other forwarders this week I went looking to see if it was a known issue and found this. I've placed the metadata/local.meta in all my apps on the deployment server because the folks that own these three systems don't want to do an upgrade to 6.1.4, which is what I'm installing on all new forwarders and when I do upgrades. The thing is, these forwarders have run a long time without this issue happening, and I wonder what triggered it on these three in a two week period. Odd.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2015 23:13:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-install-app/m-p/19997#M467</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2015-03-06T23:13:16Z</dc:date>
    </item>
  </channel>
</rss>

