Page 1 of 1

(SOLVED) Cannot run script via Filters

Posted: Tue Apr 28, 2020 7:47 pm
by Johnny1337
Hi,

I am trying to run a bash-script when on all matches. It is setup like this:
Monitor id - in set - 1,2,3,4
Execute command on all matches is checked and script is /usr/bin/script.sh.

I have tried setting permissions with chmod 777.

It works when running "zmfilter.pl --filter_id=3". But it won't work when running via Execute on web or in background.

Any idea?

Thanks in advance!

[Edit]
I had to specify '/usr/bin/rclone' instead of just rclone in my script. Otherwise www-data wasn't allowed to run it.

Re: Cannot run script via Filters

Posted: Wed Apr 29, 2020 9:18 am
by Johnny1337
Sorry for postning, found out www-data doesn't have permission to run rclone.

Have to figure out a solution.