All Apps and Add-ons

Webinterface won't start after upgrade to version 8

alsur
New Member
journal errors:
2020-02-17 14:25:40,970 ERROR   [5e4a9454e57f47298bc7d0] root:769 - Unable to start splunkweb
2020-02-17 14:25:40,970 ERROR   [5e4a9454e57f47298bc7d0] root:770 - inconsistent use of tabs and spaces in indentation (HiddenSearchSwapper.py, lin$
Traceback (most recent call last):
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/root.py", line 132, in <module>
    from splunk.appserver.mrsparkle.controllers.top import TopController
  File "/opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/top.py", line 27, in <module>
    from splunk.appserver.mrsparkle.controllers.admin import AdminController
...
TabError: inconsistent use of tabs and spaces in indentation

Upgrading from version 6 to 7 and the to 8. First upgrade seemed to when ok.
Also lost figuring out if the service gets updated or /opt/splunk/splunk start should be used instead.

Odd thin is that
./splunk cmd python --version
returns: Python 2.7.17 but errors talk about python 3.7

0 Karma

jsmith84
New Member

I had the same issue. Turned out to be a problem app that wasn't compatible with Python 3. Prior to upgrading to 8 be sure to install the Splunk Platform Upgrade Readiness App and scan all apps. You must not have any blocker apps or your upgrade will likely fail. In my case, it appeared to upgrade but then the web service wouldn't start.

0 Karma

moliminous
Path Finder

If using the FREE version at home, you will have to add the following line to your /etc/system/local/server.conf under the [general] tab (leave the other settings under [general] as well, but it should look like this, along with your other settings under there of course. For Splunk Enterprise, there is more information at the Docs link below.

[general]
allowRemoteLogin = always

You can read about this and more information at this link, though I am submitting an edit to the page to correct typos and be more specific:
https://docs.splunk.com/Documentation/Splunk/8.0.3/Admin/LaunchSplunkWeb

0 Karma

jsmith84
New Member

Bump. I am having the same issue, anyone have any ideas?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...