Unable to run simple bash script

Hello,

I am trying to run a simple bash script either before or after the backup but it will not execute the script. The backup works fine but I get a yellow warning. Clicking this takes me to the logs, all of which shows ‘error code 2’.

All I am trying to do is append a text string to a document in my home folder. I have clicked on the advanced option “run-script-after” and entered the path to the file /home/duplicati/completed.sh.

What am I doing wrong please?

Thank you :slight_smile:

Fixed. Turns out the script must contain abolute paths, not relative paths.

Glad you figured it out - thanks for following up.