Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp file for the shell script does not exist #587

Open
michalpospiech opened this issue Mar 14, 2023 · 2 comments
Open

Temp file for the shell script does not exist #587

michalpospiech opened this issue Mar 14, 2023 · 2 comments

Comments

@michalpospiech
Copy link

Hello,
I'm trying to run a shell script on chronicle, but after creating it I get the message Error: Script failed: No such file or directory (spawn /tmp/chronicle-script-temp-jlf85jqu30o.sh ENOENT)

I don't know if I have set something wrong somewhere, is there anyone here who can give me some advice please?

@jhuckaby
Copy link
Owner

Well first, what is this weird typo in your file path here:

Error: Script failed: No such file or directory (spawn /tmp/chronicle-script-temp-jlf85jqu30o.sh ENOENT)

Cronicle is spelled without an "h". I'm just trying to figure out how in the world it could have snuck in there. That looks like an error message you copied & pasted, so I'm very confused.

If the /tmp/chronicle misspelling is just a human error (red herring), then the problem is likely your Linux distro doesn't allow executable scripts in the /tmp directory. I think "hardened" Linux flavors have this restriction.

See this issue: #133

@soulteary
Copy link

Perhaps some articles should be written here to talk about the best practices of using cronicle in the docker environment. @jhuckaby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants