Installation

404 not found error after the upgrade of the Windows infrastructure app

corti77
Communicator

Running Splunk 8.1.4 and Splunk app for Windows Infrastructure 2.0.1. I tried to upgrade to 2.0.4 and after restart splunk service I get the error 404 when I try to access the App.

checking splunkd.log I see the following:

ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\customize_features.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\guided_setup.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\host_information.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\infra_home.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\lookup_builder.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\lookup_migrator.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\windows_host_inventory.html: The system cannot find the path specified.
09-03-2021 15:00:03.577 +0200 ERROR PropertiesMap - Cannot open: C:\Program Files\Splunk\etc\apps\splunk_app_windows_infrastructure\default\data\ui\html\windows_perfmon.html: The system cannot find the path specified.

 

Checking the file system, the folder html is not present . could someone explain me what is happening?

 

thanks a lot

 

Labels (3)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Your app upgrade failed, and did not install all the required files under default.
check your file system permissions, maybe a write permission is lacking,

If the UI upgrade failed,  an alternative solution is to do a manual upgrade 

  1.  stop splunk
  2.  get the windows app installer (.spl or .tar.gz)
  3. and manually untar it in your SPLUNK_HOME/etc/app folder (it should overrite your windows app folder)

  4. verify that the html files are now present
  5. then restart splunk and retry.

View solution in original post

0 Karma

corti77
Communicator

I manually install the app and after restarting splunk, the folder finally appeared.

 

thanks a lot!

0 Karma

yannK
Splunk Employee
Splunk Employee

Your app upgrade failed, and did not install all the required files under default.
check your file system permissions, maybe a write permission is lacking,

If the UI upgrade failed,  an alternative solution is to do a manual upgrade 

  1.  stop splunk
  2.  get the windows app installer (.spl or .tar.gz)
  3. and manually untar it in your SPLUNK_HOME/etc/app folder (it should overrite your windows app folder)

  4. verify that the html files are now present
  5. then restart splunk and retry.
0 Karma
Get Updates on the Splunk Community!

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

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...