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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...