All Apps and Add-ons

error while trying to update: In handler 'localapps' PCI

israelgutierrez
Path Finder

Hello

I have an error when clic on the Save, in the initial setup page of PCI Compliance App

Encountered the following error while
trying to update: In handler
'localapps': Error while posting to
url=/servicesNS/nobody/SplunkPCIComplianceSuite/admin/pci_compliance/general_settings

The enviroment is Windows Server, Splunk Enterprise 6.0.2

Is there any where to look to going deep in the error? or even better the solution 🙂

Thanks

0 Karma

anortrup_splunk
Splunk Employee
Splunk Employee

I know that this is old, but wanted to give a clear answer.

This means that your app has been packaged with the local directory and now your setup.xml is trying to overwrite existing configurations. I recommend removing the local directory from the app (or ignoring it when packaging with tar) then reinstalling (including removing the old copy of the app).

Then when you go to setup the app a new local directory will be created and local configurations will be written there.

jnassar
Explorer

I faced the same problem but had no unix box ... so here is what got it working.

  1. Created a folder called "Local" under splunk_Home\etc\apps\PCIComplianceSuite\ (it just was not there.
  2. I copied app.conf from Splunk_Home\etc\apps\PCIComplianceSuite\default\ to the newly created "Local" folder.
  3. Edited app.conf in local folder and changed "is_configured=false" to "is_configured=true" and saved the file.
  4. restarted splunk and it worked.(bypassing the configuration page that fails) Cheers

jnassar
Explorer

I see...How to go about the getting the app to properly run on windows then?

0 Karma

israelgutierrez
Path Finder

Thanks jnassar, thats partially correct the problem because when uses Windows Splunk needs to create some scripts and change some files, and if the save process doesn't complete correctly, some lookups, and macros didn't work

0 Karma

tozmen
New Member

Have you solved tthat issue? We got same one, we havent solved yet:(

0 Karma

israelgutierrez
Path Finder

It looks that the App doesn't like much Windows, because on Linux works like charm, in order to make it work on Windows I have to copy apps.conf and limits.conf from /local/ on Linux to the Windows Machine

Is not the most Elegant but seem to work by now

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!