Installation

Why am I unable to upload a custom app in Splunk with error "No such file or directory"?

proylea
Contributor

I am getting the following error when uploading a custom app, but the other custom apps work fine.
I have tried via the UI and the CLI, same error in the log

11-24-2015 03:48:59.646 +0000 ERROR LocalAppsAdminHandler - Error during app install: failed to copy /opt/splunk/var/run/9c872453d1076432/tasman to /opt/splunk/etc/apps/tasman: No such file or directory

I have checked and played with permissions, same result.
I have created the tasman.tgz app archive file in Windows and Linux, same error.
I have tried renaming it to tasman.spl, same error.
I can't find this anywhere /opt/splunk/var/run/9c872453d1076432/tasman
and /opt/splunk/etc/apps/tasman is a dir on the Splunk server with the correct permissions.

Any ideas?

Regards
Peter

Labels (2)
0 Karma

NOUMSSI
Builder

Hi,
Try to do it manually. decompress The app, copy his folder and paste it in /opt/splunk/etc/apps/
After, restart splunk server.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...