Get help with all aspects of SABnzbd
Forum rules
Help us help you:
Are you using the latest stable version of SABnzbd? Downloads page .
Tell us what system you run SABnzbd on.
Adhere to the forum rules .
Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers .
We will probably ask you to do a test using only basic settings .
Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
HashWorks
Newbie
Posts: 5 Joined: December 21st, 2013, 10:21 am
Post
by HashWorks » March 14th, 2014, 5:09 pm
I recently created a pre-processing script and set it in the settings of sabnzbd:
I set the correct rights:
Also I checked for syntax errors on
http://www.shellcheck.net/ and tested the script with custom parameters.
However, the shell script isn't executed at all - not even my log is created. Even after a restart of Sabnzbd nothing happens.
This is my code:
http://pastebin.com/DdDRZU6c
Any idea whats wrong?
Regards
Last edited by
HashWorks on March 15th, 2014, 3:44 am, edited 1 time in total.
shypike
Administrator
Posts: 19774 Joined: January 18th, 2008, 12:49 pm
Post
by shypike » March 15th, 2014, 1:23 am
Did you make the script executable (chmod +x)?
Did you select the script for the nzb?
HashWorks
Newbie
Posts: 5 Joined: December 21st, 2013, 10:21 am
Post
by HashWorks » March 15th, 2014, 2:48 am
shypike wrote: Did you make the script executable (chmod +x)?
Did you select the script for the nzb?
Yes, the script is executable as I already said in my first post: -rwxrwxr-x
I selected the PRE script in die settings of Sabnzbd. Do I need to select it somewhere else?
Each category has another post-script btw.
PS: sabnzbd.log is empty as well.
EDIT: I found it! Windows line breaks in file, executed dos2unix and it works...