Duplicati - 2.0.2.1_beta_2017-08-01 in a Docker in my unRAID.
I am trying to use the options “–run-script-before-required” and “–run-script-after” to trigger some actions but I am always getting an error: The script “/path/to/script/foobar.sh” returned with exit code 255.
I’ve searched for error code 255 without much luck.
The path is accessible inside and outside the container. I can even run manually the script if I am inside the docker container without any problem.
My script should return exit code 0. The funny thing is that after I started and stopped the Docker container I don’t get an error code anymore, however the script is not been called by the Duplicati job and via command line I get an error code 1