I’m trying to run a custom script on ubuntu 16.04 and it seems like something is messing up inside of sonarr. It tries to runs it, fails with a 255 and shows no output in the log.
Right now I’m running a simple script that should work to output the env variables and nothing is happening.
#!/bin/bash
echo "Reading environment variables"
env > /tmp/env_var.txt
echo "Check env_var for results"
Here is a snippet from the debug log
17-2-19 13:16:09.0|Debug|CustomScript|Executing external script: /mnt/Media/RemoveTorrentScript.sh
17-2-19 13:16:09.0|Debug|RemoveTorrentScript.sh|Starting /mnt/Media/RemoveTorrentScript.sh
17-2-19 13:16:09.1|Debug|CustomScript|Executed external script: /mnt/Media/RemoveTorrentScript.sh - Status: 255
17-2-19 13:16:09.1|Debug|CustomScript|Script Output:
17-2-19 13:16:09.1|Debug|Api|[GET] /api/queue??sort_by=timeleft&order=asc: 200.OK (5 ms)```