I unfortunately had to reinstall my QNAP Containerstation and my backup Docker with Transmission (not Linuxserver) did not want to start. So I started fresh with the latest docker from Linuxserver.
Now almost everything works. Downloading, watch folder etc etc.
But for the life of me I can’t get my unrar script working (which worked in my old (timhaak) Transmission Docker).
The script gets called by Transmission after a download completes but gives my different errors.
My old script did not have a SHEBANG (and worked).
But now without a shebang I get the error
Error executing script “/config/unrar.sh” (8): Child process setup failed: Exec format error
With #!/bin/sh or #!/bin/bash comes
Error executing script “/config/unrar.sh” (2): Child process setup failed: No such file or directory
Only with #!/usr/bin/env bash the script gives no errors in the docker log but does nothing.
script for testing:
date >> “/config/unrar.log”
printf “test” >> “/config/unrar.log”
This unfortunately does not create an unrar.log file. The script is set to be executable.
Does anyone have a unrar script that is working with linuxserver.io latest transmission docker?