Page 1 of 1

_FAILED_ Folders being created

Posted: September 7th, 2012, 12:59 pm
by truxntrax
Version: 0.5.6
OS: Ubuntu
Install-type: Linux repo
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes


I'm using SABnzbd+ in combination with sickbeard on my Linux ubuntu server. I am using post processing SabToSickBeard.py.Recently my TV shows are failing with the following error message EG:

---
Breaking.Bad.S02E01.720p.BluRay.x264-CLUE

Loading config from /home/pps/autoProcessTV.cfg
Opening URL: http://192.168.1.157:8081/home/postproc ... .x264-CLUE
Processing folder /mnt/nfsnas/TV/_FAILED_Breaking.Bad.S02E01.720p.BluRay.x264-CLUE

The directory name indicates it failed to extract, cancelling
-----
Here is my log file:
-----
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 451, in run
workdir_complete = one_file_or_folder(workdir_complete)
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 637, in one_file_or_folder
cont = os.listdir(dir)
OSError: [Errno 2] No such file or directory: '/mnt/nfsnas/TV/Breaking.Bad.S02E01.720p.BluRay.x264-CLUE'

/usr/share/sabnzbdplus/sabnzbd/utils/ssmtplib.py:116: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
-----
However when I look in my folder I see the download is there:

root@ubuntu:/mnt/nfsnas/TV/Breaking Bad/Season 02# ls -l
total 2291440
-rw-r--r-- 1 root root 2344042016 2010-03-05 08:44 Breaking Bad - 2x01 - Seven Thirty-Seven.mkv
-rw-r--r-- 1 root root 86514 2012-09-07 04:34 folder.jpg
drwxr-xr-x 2 root root 4096 2012-09-07 02:33 metadata
root@ubuntu:/mnt/nfsnas/TV/Breaking Bad/Season 02#

Why am I getting the folders with the _FAILED_ prefix created?

Any help is much appreciated.

Trux

Re: _FAILED_ Folders being created

Posted: September 7th, 2012, 1:54 pm
by sander
Version 0.5.6? Why aren't you on SAB 0.7.3?

"nfsnas"? A NAS via NFS? What happens when you let it handle locally? Reason: if NFS or NAS behaves a bit strange, SAB will not be happy.

Re: _FAILED_ Folders being created

Posted: September 7th, 2012, 2:30 pm
by truxntrax
It works perfectly with the nas connected via nfs... Not enough room to run it locally... OK, I'll upgrade and see if that fixes the problem. Hadn't upgraded as system was working perfectly and therefore no reason to upgrade, if it aint broke why fix it. I guess now I have a reason to upgrade.

Re: _FAILED_ Folders being created

Posted: September 7th, 2012, 3:37 pm
by shypike
Try to upgrade to a later release and then disable folder renaming in Config->Switches.
Your NAS probably doesn't like renaming folders.

Re: _FAILED_ Folders being created

Posted: September 8th, 2012, 2:31 pm
by truxntrax
Upgraded and disabled folder renaming as advised. Still getting error message. What should I check next?

Re: _FAILED_ Folders being created

Posted: September 8th, 2012, 4:50 pm
by shypike
Have you looked at the messages in the history?
Does ot say "Failed" in the history?
Click the name of the job.

Re: _FAILED_ Folders being created

Posted: September 9th, 2012, 8:55 am
by truxntrax
OK, it says failed:

Breaking.Bad.S02E02.720p.BluRay.x264-CLUE



Processing succeeded for /mnt/nfsnas/TV/Breaking.Bad.S02E02.720p.BluRay.x264-CLUE/bb202-clue.mkv (More)



Retry
» Download failed - Out of your server's retention?

However now when I click more the screen that used to present more information is blank... Before the upgrade this did display more information.

I appreciate the responses but feel my system may require a total rebuild (sheevaplug) unless there is anything you can suggest? (note the files are being put in the correct folder now and as before are being downloaded and are not creating the _FAILED_ file. Just the error being displayed in the sabs client now).

Trux

Re: _FAILED_ Folders being created

Posted: September 9th, 2012, 11:45 am
by shypike
truxntrax wrote: » Download failed - Out of your server's retention?
That usually means that no files were downloaded at all, either because the post was older
than the retention time of the server or that the post was removed.
The latter is not uncommon with HBO shows...

Re: _FAILED_ Folders being created

Posted: September 10th, 2012, 2:01 am
by truxntrax
Hi, but it does download OK and put's the file into the correct directory.

Re: _FAILED_ Folders being created

Posted: September 10th, 2012, 5:08 am
by shypike
Set logging to "Debug" (Status page), then download a "troublesome" NZB.
Get the logfile from the Status page and email that plus the NZB to bugs@sabnzbd.org
(and add the URL of this post).

Re: _FAILED_ Folders being created

Posted: September 10th, 2012, 9:21 am
by truxntrax
I will do that tonight.

Re: _FAILED_ Folders being created

Posted: September 10th, 2012, 1:47 pm
by truxntrax
File emailed as requested.

Trux

Re: _FAILED_ Folders being created

Posted: September 10th, 2012, 2:08 pm
by shypike
and the NZB file?