Hi @woodcock,
Thanks for quick update, I had a try on latest but it does not help so far.
I did upgrade from 1.0.9 to 2.0.1 and restarted splunk server. Not working, blank as before.
Then i uninstalled the entire Splunk, reinstall Splunk, and install latest Jenkins app 2.0.1. Also not quite working.
Error log from web_service.log:
2019-07-08 09:48:48,486 INFO [5d22a10075145ae7ba160] error:323 - GET /en-US/static/@5AC167FAD34082830C96A77EC5F656C5014A4FA397BE433537596CA18EF83D15:2/app/splunk_app_jenkins/pages/commons~audit_trail~build_analysis~configuration~custom_panel~jenkins_health~jenkins_node~job_insigh~cbb93852.js 127.0.0.1 8065
2019-07-08 09:48:48,486 INFO [5d22a10075145ae7ba160] error:324 - 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
2019-07-08 09:48:48,486 ERROR [5d22a10075145ae7ba160] error:325 - Traceback (most recent call last):
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cprequest.py", line 603, in respond
self.hooks.run('before_handler')
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cprequest.py", line 98, in run
hook()
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cprequest.py", line 58, in call
return self.callback(self.kwargs)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cptools.py", line 158, in _wrapper
if self.callable(kwargs):
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\customstaticdir.py", line 47, in custom_staticdir
filename = resolver(section, branch, dir)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\root.py", line 197, in static_resolver
return static_app_resolver(section, branch, static_app_dir)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\root.py", line 183, in static_app_resolver
i18n_cache = i18n.translate_js(fn)
File "C:\Program Files\Splunk\Python-2.7\Lib\site-packages\splunk\appserver\mrsparkle\lib\i18n.py", line 868, in translate_js
f = file(tmp_file, 'wb')
IOError: [Errno 2] No such file or directory: 'C:\Program Files\Splunk\var\run\splunk\appserver\i18n\commons~audit_trail~build_analysis~configuration~custom_panel~jenkins_health~jenkins_node~job_insigh~cbb93852.js-52b3cad4ac8f7c72fdbb33bbc30c1e2ef810cea2-en_US.cache.4f87dc38-8f24-457f-89db-a5f6bf695aee.cache'
Additional info:
- My server does not have Python installed (but i guess the python lib come with Splunk installation should do the job? which is 2.7, under Splunk/Python-2.7)
I installed Splunk under local system account (instead of domain account)
Both Alert and Search page is accessible. No complains. Rest of pages are not accessible, complains on same error message attached above.
If I go into Build Analysis page,
I can see build_analysis.js being loaded into Splunk\var\run\splunk\appserver\i18n as build_analysis.js-58fdc61d2d51af65ea632484af73e5f2e423cf12-en_US.cache
But error (listed above) on /app/splunk_app_jenkins/pages/commons~audit_trail~build_analysis~configuration~custom_panel~jenkins_health~jenkins_node~job_insigh~cbb93852.js
In Splunk\etc\apps\splunk_app_jenkins\appserver\static\pages, commons~audit_trail~build_analysis~configuration~custom_panel~jenkins_health~jenkins_node~job_insigh~cbb93852.js exists
When loading other pages, the corresponding .js files (eg. overview.js, test_analysis.js, etc from splunk_app_jenkins\appserver\static\pages can loaded in Splunk\var\run\splunk\appserver\i18n too. Just not the js with "~" in-between.
... View more