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
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...