<?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: How to update a deployment server deployment-apps? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245152#M9262</link>
    <description>&lt;P&gt;For future reference (as I'm asked a lot), the syntax is:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Standard Apps:&lt;/STRONG&gt;&lt;BR /&gt;
 &lt;CODE&gt;tar -zxf /some/location/splunk-db-connect_314.tgz -C /opt/splunk/etc/apps/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Deployment Server:&lt;/STRONG&gt;&lt;BR /&gt;
 &lt;CODE&gt;tar -zxf /some/location/splunk-db-connect_314.tgz -C /opt/splunk/etc/deployment-apps/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I hope this helps with future us.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Feb 2019 00:32:25 GMT</pubDate>
    <dc:creator>joe_kraxner</dc:creator>
    <dc:date>2019-02-27T00:32:25Z</dc:date>
    <item>
      <title>How to update a deployment server deployment-apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245148#M9258</link>
      <description>&lt;P&gt;I want to update an app that gets pushed out from the deployment server to my forwarders, but i have made changes in the local directory and don't want these overwritten.  Is there a simple way to update the apps from SplunkBase and push them out without having the local directory overwritten.  &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Currently my process includes:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;1) downloading and installing the new app on the Deployment Server (which puts it in the /apps/ directory)&lt;BR /&gt;
    - ./splunk install app &amp;lt; app_package_filename &amp;gt; -update 1&lt;/P&gt;

&lt;P&gt;2)Copying /$SPLUNK_HOME/etc/deployment-apps/&amp;lt; app-name &amp;gt;/local/ to /$SPLUNK_HOME/etc/apps/&amp;lt; app-name &amp;gt;/local/&lt;/P&gt;

&lt;P&gt;3) removing the app from  /$SPLUNK_HOME/etc/deployment-apps/ &lt;/P&gt;

&lt;P&gt;4) moving /$SPLUNK_HOME/etc/apps/&amp;lt; app-name &amp;gt;/ to /$SPLUNK_HOME/etc/deployment-apps/&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245148#M9258</guid>
      <dc:creator>JScordo</dc:creator>
      <dc:date>2020-09-29T10:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a deployment server deployment-apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245149#M9259</link>
      <description>&lt;P&gt;Unpacking the .spl/.tar.gz file should not overwrite the existing local directory, so you should be able to unpack that right into your deployment-apps directory - after making a backup, of course.&lt;/P&gt;

&lt;P&gt;If you're unsure, you can unpack to a temporary location, and use the steps you described in the question to keep your local configurations. No need to install and remove the app from the DS itself.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245149#M9259</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-07-06T21:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a deployment server deployment-apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245150#M9260</link>
      <description>&lt;P&gt;unpacking the .tar file to the deployment-apps/ directory overwrote the the old files with new while leaving the local directory alone.  Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 18:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245150#M9260</guid>
      <dc:creator>JScordo</dc:creator>
      <dc:date>2016-07-07T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a deployment server deployment-apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245151#M9261</link>
      <description>&lt;P&gt;Splunk has made the upgrade process of the app and add-on much simpler. If you're using deployment server as the origin to distribute among the clients, then there is easy way to do it.&lt;/P&gt;

&lt;P&gt;Follow these steps&lt;/P&gt;

&lt;P&gt;Access UI of the deployment server. In the Manage Apps window, you have an option to upgrade necessary apps and add-ons when available in the Splunkbase marketplace. Make sure if the existing Splunk version is not compatible with the Apps and Add-ons then deployment server will not give update option for those especially. &lt;/P&gt;

&lt;P&gt;In this way, the local configuration will not be disturbed in /etc/deployment and updated content will be in /etc/apps for the updated app which you will override by moving into /etc/deployment-apps by.&lt;/P&gt;

&lt;P&gt;In this way, you don't have to untar any file to update the apps.  &lt;/P&gt;

&lt;P&gt;I tried with this approach on Heavy Forwarder, I got an update for Splunk AWS Add-on which was not managed by Deployment server. I did have custom files inside local directory of this Add-on, I went ahead and updated the Add-on through Heavy Forwarder UI. After the updating add-on, files inside local directory are preserved, default directory is updated with configuration files.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 19:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245151#M9261</guid>
      <dc:creator>vgollapudi</dc:creator>
      <dc:date>2017-11-07T19:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a deployment server deployment-apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245152#M9262</link>
      <description>&lt;P&gt;For future reference (as I'm asked a lot), the syntax is:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Standard Apps:&lt;/STRONG&gt;&lt;BR /&gt;
 &lt;CODE&gt;tar -zxf /some/location/splunk-db-connect_314.tgz -C /opt/splunk/etc/apps/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Deployment Server:&lt;/STRONG&gt;&lt;BR /&gt;
 &lt;CODE&gt;tar -zxf /some/location/splunk-db-connect_314.tgz -C /opt/splunk/etc/deployment-apps/&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I hope this helps with future us.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 00:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-to-update-a-deployment-server-deployment-apps/m-p/245152#M9262</guid>
      <dc:creator>joe_kraxner</dc:creator>
      <dc:date>2019-02-27T00:32:25Z</dc:date>
    </item>
  </channel>
</rss>

