Installation

Upgrade splunk from 4.3 to 5.0.3 not working

imrankh
New Member

Hi,

I upgraded splunk from 4.3 to 5.0. What i did.

place the tar.gz achive in the folder where splunk folder is.
stopped splunk
untar the file , it replaced my older splunk directory.
I changed the perms to splunk as how it was used to be.
started splunk
Now as i login to splunk, i still see older version.

even /splunk/bin/splunk --version also showing older version.

Can you please tell where and what is missing.

Thanks

Tags (3)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

seems likely to me that you unpacked the tgz file one directory level down, e.g, your old install was in /opt/splunk/, and your new one is in /opt/splunk/splunk.

you could either move up to /opt and then do the untar, or stay in /opt/splunk and use --strip-components=1 to remove the first-level directory from the paths in the tar file.

View solution in original post

imrankh
New Member

Hi,

my splunk install is /opt/corporate/splunk
i placed the tar file in /opt/corporate/ and did the untar, thus it replaced my splunk directory (which is the first one). i then changed the ownership recursively on that directory.

Thanks

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

seems likely to me that you unpacked the tgz file one directory level down, e.g, your old install was in /opt/splunk/, and your new one is in /opt/splunk/splunk.

you could either move up to /opt and then do the untar, or stay in /opt/splunk and use --strip-components=1 to remove the first-level directory from the paths in the tar file.

imrankh
New Member

Hi, thanks , need to confirm the right directory.

0 Karma

imrankh
New Member

Hi,

my splunk install is /opt/corporate/splunk
i placed the tar file in /opt/corporate/ and did the untar, thus it replaced my splunk directory (which is the first one). i then changed the ownership recursively on that directory.

Thanks

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...