<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Trouble Executing TriggerCMD Commands on Raspberry Pi]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">I'm facing an issue with executing TriggerCMD commands on my Raspberry Pi. Even after following the setup instructions, my commands aren't triggering as expected.<br />
I am using Raspberry Pi 4 Model B , Raspbian Buster, version 10 , TriggerCMD Agent version 1.0.1 , Connected via Wi-Fi, stable connection</p>
<p dir="auto">I have verified my internet connection and confirmed the TriggerCMD agent is running. However, when I try to run a command, I get no response or error message.</p>
<p dir="auto">Here’s an example of the command I'm trying to run:<br />
triggercmd --trigger YourCommandName<br />
Error message received "Command not found" or "Unable to connect to TriggerCMD service" I have restarted the TriggerCMD agent, checked the configuration file, verified internet connection</p>
<p dir="auto">Has anyone else faced this issue?</p>
<p dir="auto">Thanks in advance for your help!</p>
<p dir="auto">Thank you<br />
boblewis</p>
]]></description><link>https://www.triggercmd.com/forum/topic/2857/trouble-executing-triggercmd-commands-on-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 16:41:21 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/2857.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 May 2024 12:01:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble Executing TriggerCMD Commands on Raspberry Pi on Tue, 28 May 2024 20:24:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/22963">@boblewis</a>, that all sounds good.  Do you have any remaining problems or are you all set now?</p>
]]></description><link>https://www.triggercmd.com/forum/post/7866</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7866</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 28 May 2024 20:24:36 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble Executing TriggerCMD Commands on Raspberry Pi on Tue, 28 May 2024 18:29:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@Russ</a> said in <a href="/forum/post/7860">Trouble Executing TriggerCMD Commands on Raspberry Pi</a>:</p>
<blockquote>
<p dir="auto">Russ<br />
<a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/22963">@boblewis</a><br />
4 days ago</p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/22963">@boblewis</a>, I think we can fix this, but I have a few questions.</p>
<p dir="auto">Are you able to run your commands using the green Trigger button while you're logged into your account on the TRIGGERcmd website?</p>
<p dir="auto">How did you confirm the triggercmd agent is running? Did you run systemctl status triggercmdagent ?</p>
<p dir="auto">On the Pi, the agent runs as root, and the data files are in /root/.TRIGGERcmdData<br />
So please confirm your commands are in<br />
/root/.TRIGGERcmdData/commands.json, not<br />
/home/pi/.TRIGGERcmdData/commands.json</p>
<p dir="auto">You ran a triggercmd command. is that a copy of the tcmd Go utility? I assume so because you're giving it a --trigger parameter. You might need to be root to use it if your token.tkn file is in /root/.TRIGGERcmdData. I would rename that to tcmd becauses I tend to refer to it as the tcmd tool (written in Go), but anyway, please run it with the --list parameter and let me know what happens. That should give you a list tcmd commands you can use to run your remote commands.</p>
</blockquote>
<p dir="auto">Hello@Russ</p>
<p dir="auto">Thank you for your detailed response and helpful suggestions.<br />
I am able to successfully trigger commands using the green Trigger button while logged into my account on the TriggerCMD website.</p>
<p dir="auto">I ran systemctl status triggercmdagent, and it shows that the TriggerCMD agent service is active and running without any errors.</p>
<p dir="auto">I rechecked, and my commands are indeed listed in the correct file at /root/.TRIGGERcmdData/commands.json.</p>
<p dir="auto">I'm using the tcmd utility, and I have ensured to run it as root since my token file is located in /root/.TRIGGERcmdData.</p>
<p dir="auto">When I ran tcmd --list, it provided me with a list of TriggerCMD commands available for execution. All my commands are correctly recognized by the TriggerCMD agent.</p>
<p dir="auto">Thank you<br />
boblewis</p>
]]></description><link>https://www.triggercmd.com/forum/post/7865</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7865</guid><dc:creator><![CDATA[boblewis]]></dc:creator><pubDate>Tue, 28 May 2024 18:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Trouble Executing TriggerCMD Commands on Raspberry Pi on Fri, 24 May 2024 19:51:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/22963">@boblewis</a>, I think we can fix this, but I have a few questions.</p>
<p dir="auto">Are you able to run your commands using the green Trigger button while you're logged into your account on the TRIGGERcmd website?</p>
<p dir="auto">How did you confirm the triggercmd agent is running?  Did you run <strong>systemctl status triggercmdagent</strong> ?</p>
<p dir="auto">On the Pi, the agent runs as root, and the data files are in /root/.TRIGGERcmdData<br />
So please confirm your commands are in<br />
/root/.TRIGGERcmdData/commands.json, not<br />
/home/pi/.TRIGGERcmdData/commands.json</p>
<p dir="auto">You ran a <strong>triggercmd</strong> command.  is that a copy of the <a href="https://www.triggercmd.com/forum/topic/196/tcmd-go-command-line-tool-is-available-now">tcmd Go utility</a>?  I assume so because you're giving it a --trigger parameter.  You might need to be root to use it if your token.tkn file is in /root/.TRIGGERcmdData.  I would rename that to <strong>tcmd</strong> becauses I tend to refer to it as the tcmd tool (written in Go), but anyway, please run it with the <strong>--list</strong> parameter and let me know what happens.  That should give you a list tcmd commands you can use to run your remote commands.</p>
]]></description><link>https://www.triggercmd.com/forum/post/7860</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/7860</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Fri, 24 May 2024 19:51:57 GMT</pubDate></item></channel></rss>