Does run shell script work in Indigo 24.2

Questions and comments about the Indigo Server. You can also post here if you're unclear which other forum to post to.
User avatar
norcoscia
Posts: 1344
Joined: Wed Sep 09, 2015 5:54 am

Does run shell script work in Indigo 24.2

Post by norcoscia »

I can't seem to get my shell scripts to work and the only thing that I have changed is the version of indigo.

Does the run shell script still work - is anyone using it with indigo 24.2, Thanks
Attachments
Screenshot 2025-04-02 at 11.25.27 AM.png
Screenshot 2025-04-02 at 11.25.27 AM.png (114.48 KiB) Viewed 464 times
_______
Norm
User avatar
jay (support)
Site Admin
Posts: 19202
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Does run shell script work in Indigo 24.2

Post by jay (support) »

This just worked for me:
runshortcut.png
runshortcut.png (86.78 KiB) Viewed 459 times
Have you run this from the command line? Sometimes, macOS will need permission to do stuff and it might prompt you to allow it so you should do "always allow" if prompted.

Also, have you tried using the Server Actions->Run Apple Shortcut action instead?

FYI, I also tried:

Code: Select all

/usr/bin/say testing
in the Run Shell Script action and it worked as well.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
norcoscia
Posts: 1344
Joined: Wed Sep 09, 2015 5:54 am

Re: Does run shell script work in Indigo 24.2

Post by norcoscia »

Thanks - I will figure it out with your suggestions - I just did not want to spend too much time if something in the latest release broke it. Thanks again…
_______
Norm
User avatar
norcoscia
Posts: 1344
Joined: Wed Sep 09, 2015 5:54 am

Re: Does run shell script work in Indigo 24.2

Post by norcoscia »

Hi, I never got this to work - since I was upgrading to a new machine I decided to do it a different way with Home Assistant Agent - that way I did not have to run Soros and I did not even install it on the new machine to test more with it.

Then I noticed the error in the log when I was restarting the server - it is still happening - I don’t get any permission requests from the OS. So not sure what is going on.
Started plugin "Action Collection 2024.2.1"
Action Collection Error Failed to get the shortcuts list due to a macOS system error. Please report the following error to Support. Disabling shortcuts.
Action Collection Error Command to get the shortcuts list failed with error '-9'
_______
Norm
User avatar
jay (support)
Site Admin
Posts: 19202
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Does run shell script work in Indigo 24.2

Post by jay (support) »

norcoscia wrote: Wed Apr 16, 2025 10:48 am Hi, I never got this to work - since I was upgrading to a new machine I decided to do it a different way with Home Assistant Agent - that way I did not have to run Soros and I did not even install it on the new machine to test more with it.
Did you try the say command as I show above? If not, it's unfortunate - it would have been useful for trying to track down things.
norcoscia wrote: Wed Apr 16, 2025 10:48 am
Started plugin "Action Collection 2024.2.1"
Action Collection Error Failed to get the shortcuts list due to a macOS system error. Please report the following error to Support. Disabling shortcuts.
Action Collection Error Command to get the shortcuts list failed with error '-9'
I don't believe they are related, but since I can't reproduce and you didn't try the run shell script suggestion above, I can't really diagnose further. :?
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
jay (support)
Site Admin
Posts: 19202
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Does run shell script work in Indigo 24.2

Post by jay (support) »

jay (support) wrote: Wed Apr 16, 2025 12:44 pm I don't believe they are related, but since I can't reproduce and you didn't try the run shell script suggestion above, I can't really diagnose further. :?
It's a bug in Sonoma 14.7.5 so it isn't related to your run shell script issue.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Post Reply

Return to “Indigo Server Software”