Page 1 of 1

Post Processing Scripts Always Running Twice, Duplicate Files

Posted: June 7th, 2018, 1:09 am
by Quandru
Hi folks,

I hope someone can help. This issue only started about a week ago. All of a sudden, every time an episode of something does post processing, it shows as "processing failed" in Sab. When I review the logs, it shows that for some reason the script actually ran twice. The first time it succeeded (and correctly processed and added the file to the right folder) and then for whatever reason ran again and failed due to not replacing an existing file of an identical size. It also then leaves a copy behind of the file in my completed directory to clutter things up.

This means that a system that has been running flawlessly for years has all of a sudden in the last week started falling over for no apparent reason. I've upgraded to the latest version to see if that resolves it but it doesn't. Does anybody have any thoughts or has anybody experienced this before? I've gone from not even needing to think of my setup to needing to check it several times a day and manually tidy up files and check on post processing logs, which is far from ideal :(

I'm running Sab 2.3.4 [2a113f7] on Server 2012 R2.

Thanks in advance!
Q.

Re: Post Processing Scripts Always Running Twice, Duplicate Files

Posted: June 7th, 2018, 1:20 am
by safihre
So your user-script is ran twice?
Maybe it calls itself twice? The file works fine without your script activated?

What does your script do, maybe SAB can already do it for you :)

Re: Post Processing Scripts Always Running Twice, Duplicate Files

Posted: June 7th, 2018, 2:09 am
by Quandru
It's the default sabToSickBeard.exe one, but I hadn't made any changes to either sab or SickBeard and randomly the issue appeared :(

Re: Post Processing Scripts Always Running Twice, Duplicate Files

Posted: June 9th, 2018, 5:10 am
by safihre
Strange indeed, I think we need to look at the logs.
Can you enable +Debug in the Status and Interface settings window, then when it happens again, send me the log at safihre@sabnzbd.org?