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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...