All Apps and Add-ons

Issue when upgrading from 7.2.6 to 8.0.1

AKG1_old1
Builder

Hello,

we are currently on 7.2.6 and planning to upgrade with 8.0.1.

When I upgraded in test environment, After starting splunk(it took longer to start). but real issue is I am not be able to access Splunk via web.

I read somewhere that Splunk web doesn't support python 2.7 so I just changed it to 3.7.

splunk/etc/system/local/server.conf
       python.version = python3

Not sure if anything else I am missing here.

Thanks

Errors in splunkd.log
alt text

0 Karma
1 Solution

AKG1_old1
Builder

I am able to start webUI after upgrade. Problem was there are mutiple apps having python script which is not compitible in Splunk 8.x. So I have removed those apps to make it working.

Apps I have to remove
Splunk_TA_jmx
splunk_app_for_nix
DBdata
sideview_utils
dbx
sos

View solution in original post

0 Karma

AKG1_old1
Builder

I am able to start webUI after upgrade. Problem was there are mutiple apps having python script which is not compitible in Splunk 8.x. So I have removed those apps to make it working.

Apps I have to remove
Splunk_TA_jmx
splunk_app_for_nix
DBdata
sideview_utils
dbx
sos

0 Karma

BainM
Communicator

Hello agoyal-

  1. Remove the python statement from server.conf. Splunk uses its own internal Python environment, and while it is transitioning/ed over Py3, it still allows for Py2 (at the moment). Changing anything Python manually can damage the application.

  2. Check your logs! 🙂 If there is an issue with splunkweb, it will tell you and you can post it back here.
    Linux: {$SPLUNK_HOME}/var/log/splunk/splunkd.log
    Win: {$SPLUNK_HOME}\var\log\splunk\splunkd.log

Hope this helps,
Mike

AKG1_old1
Builder

@BainM : thanks for response. I have reverted server.conf. I have attached screenshot of relevant errors I am getting in Splunkd.log

There errors related to python and getting this error for multiple apps.

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 ...