Cronicle icon indicating copy to clipboard operation
Cronicle copied to clipboard

Temp file for the shell script does not exist

Open michalpospiech opened this issue 3 years ago • 2 comments

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?

michalpospiech avatar Mar 14 '23 11:03 michalpospiech

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: https://github.com/jhuckaby/Cronicle/issues/133

jhuckaby avatar Mar 14 '23 16:03 jhuckaby

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

soulteary avatar May 07 '23 09:05 soulteary