<?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 Upgrade Splunk on Linux in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176251#M2729</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We are running Splunk 5.0.3, build 162460 on our UAT environment. I tried upgrading to latest version 6. I am following the steps described in the document. &lt;BR /&gt;
 1. Stop current Splunk instance. &lt;BR /&gt;
 2. Copy splunk-6.0-182037-Linux-x86_64.gz same directory (opt/splunk/). &lt;BR /&gt;
 3. run: tar xvfz  splunk-6.0-182037-Linux-x86_64.gz under (opt/splunk/). Which created another directory "Splunk". so now there is /opt/Splunk/Splunk. &lt;BR /&gt;
 4. Then tried (mv * ../ )under opt/splunk/splunk to move all dir from new splunk instance to upper level. I thought this will overwrite the existing splunk files. But its returning error "Can't overwrite etc, Bin and some other directories. &lt;BR /&gt;
Can someone please suggest what is wrong here? &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Nik&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:28:04 GMT</pubDate>
    <dc:creator>nikhilagrawal</dc:creator>
    <dc:date>2020-09-28T15:28:04Z</dc:date>
    <item>
      <title>Upgrade Splunk on Linux</title>
      <link>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176251#M2729</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;We are running Splunk 5.0.3, build 162460 on our UAT environment. I tried upgrading to latest version 6. I am following the steps described in the document. &lt;BR /&gt;
 1. Stop current Splunk instance. &lt;BR /&gt;
 2. Copy splunk-6.0-182037-Linux-x86_64.gz same directory (opt/splunk/). &lt;BR /&gt;
 3. run: tar xvfz  splunk-6.0-182037-Linux-x86_64.gz under (opt/splunk/). Which created another directory "Splunk". so now there is /opt/Splunk/Splunk. &lt;BR /&gt;
 4. Then tried (mv * ../ )under opt/splunk/splunk to move all dir from new splunk instance to upper level. I thought this will overwrite the existing splunk files. But its returning error "Can't overwrite etc, Bin and some other directories. &lt;BR /&gt;
Can someone please suggest what is wrong here? &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Nik&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176251#M2729</guid>
      <dc:creator>nikhilagrawal</dc:creator>
      <dc:date>2020-09-28T15:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Splunk on Linux</title>
      <link>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176252#M2730</link>
      <description>&lt;P&gt;if you're going to try extracting from the already existing directory (/opt/splunk) you'll actually want to use this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;tar -xzvf splunk-6.0-182037-Linux-x86_64.gz  --strip-components=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will tell the tar command to strip off the "splunk" dir during extraction and only extract the contents.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 12:35:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176252#M2730</guid>
      <dc:creator>bbingham</dc:creator>
      <dc:date>2013-12-12T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Splunk on Linux</title>
      <link>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176253#M2731</link>
      <description>&lt;P&gt;slight change: &lt;BR /&gt;
tar -xzvf splunk-6.0-182037-Linux-x86_64.gz  --strip-path=1&lt;BR /&gt;
it worked with the change. &lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 12:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176253#M2731</guid>
      <dc:creator>nikhilagrawal</dc:creator>
      <dc:date>2013-12-12T12:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade Splunk on Linux</title>
      <link>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176254#M2732</link>
      <description>&lt;P&gt;The --strip-components flag is appropriate for CentOS / RHEL tar.  Check the manpage for your distro to determine the proper syntax.&lt;/P&gt;

&lt;P&gt;bbingham, thank you.  This tip saved me a fair bit of frustration upgrading two instances installed on the same server.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 19:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Upgrade-Splunk-on-Linux/m-p/176254#M2732</guid>
      <dc:creator>jamesarmitage</dc:creator>
      <dc:date>2015-11-10T19:47:17Z</dc:date>
    </item>
  </channel>
</rss>

