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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...