Sonarr version: 4.0.8.1874
Mono version: Mono JIT compiler version
OS: Unraid 6
Description of issue:
I’m trying to add a custom script to sonarr but it keeps giving me this error every time I try to add the script to sonarr
An error occurred trying to start process 'media/Data/Scripts/test.sh' with working directory '/'. No such file or directory
The file itself is accessible to sonarr, I’ve also run chmod +x on the file but it still didn’t do anything.
I haven’t been able to find a solution for this searching online and nor have I found a a guide/tutorial that explains the custom scripting for sonarr for a beginner so I’m a bit lost.
Any help would be greatly appreciated.
Debug logs:
System.ComponentModel.Win32Exception (2): An error occurred trying to start process ‘/media/Data/Scripts/test.sh’ with working directory ‘/’. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at NzbDrone.Common.Processes.ProcessProvider.Start(String path, String args, StringDictionary environmentVariables, Action1 onOutputDataReceived, Action
1 onErrorDataReceived) in ./Sonarr.Common/Processes/ProcessProvider.cs:line 189
at NzbDrone.Common.Processes.ProcessProvider.StartAndCapture(String path, String args, StringDictionary environmentVariables) in ./Sonarr.Common/Processes/ProcessProvider.cs:line 220
at NzbDrone.Core.Notifications.CustomScript.CustomScript.ExecuteScript(StringDictionary environmentVariables) in ./Sonarr.Core/Notifications/CustomScript/CustomScript.cs:line 470
at NzbDrone.Core.Notifications.CustomScript.CustomScript.Test() in ./Sonarr.Core/Notifications/CustomScript/CustomScript.cs:line 449: An error occurred trying to start process ‘/media/Data/Scripts/test.sh’ with working directory ‘/’. No such file or directory
Invalid request Validation failed:
– : An error occurred trying to start process ‘/media/Data/Scripts/test.sh’ with working directory ‘/’. No such file or directory