Problem executing scripts (extcommands.xml)


im trying to execute some scripts through the dashboard (v0.92). Add following to the extcommands.xml...

The button show up in the dashbaord but nothing happens on executing.
    <execute>sudo cat /var/lib/Repetier-Server/database/ | ssh python</execute>
I tried also a normal bash script... but this is also not working.
    <execute>sudo /var/lib/Repetier-Server/database/</execute>
Also changed the rights from the files to 775 without success.

When i execute the commands through CLI everthing works fine.

Anyone an idea?

Thanks in advance


  • sudo is most likely your problem. User is repetierserver so you need to add your scripts into the list of sudoers without password prompt. See in our manual how we describe this for the shutdown which we add also to sudoers.
Sign In or Register to comment.