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

ENV variables? #23

Open
rgsaura opened this issue Apr 23, 2024 · 3 comments
Open

ENV variables? #23

rgsaura opened this issue Apr 23, 2024 · 3 comments
Labels
question Further information is requested

Comments

@rgsaura
Copy link

rgsaura commented Apr 23, 2024

Hi! I'm having trouble executing commands. They need the full path of the executable and this causes some bash scripts to not work at all.

Please consider a solution to solve this 🙏🏼

@AlexxIT AlexxIT added the question Further information is requested label Apr 23, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 23, 2024

It's just SSH client. You should have right settings for your SSH user.

@rgsaura
Copy link
Author

rgsaura commented Apr 24, 2024

I'll just give you my experience and you can guess whats going on... 😅

I try both from HA, but the ssh_command. exec_command doesnt work because a program it's not found by ENV...
That's my guess, what do you think? All ideas are welcomed!

Thanks for the response

Screenshot 2024-04-24 at 12 50 35
Screenshot 2024-04-24 at 12 51 19
Screenshot 2024-04-24 at 12 52 08

@sigmaenigma
Copy link

I'll just give you my experience and you can guess whats going on... 😅

I try both from HA, but the ssh_command. exec_command doesnt work because a program it's not found by ENV... That's my guess, what do you think? All ideas are welcomed!

Thanks for the response

Screenshot 2024-04-24 at 12 50 35 Screenshot 2024-04-24 at 12 51 19 Screenshot 2024-04-24 at 12 52 08

What does line 20 and 25 have in your message.sh script? Do you have something like "#!/usr/bin/env bash" in the first line of your sh script?

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

No branches or pull requests

3 participants