Not moving completed files to correct folders

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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.
Post Reply
alien8
Newbie
Newbie
Posts: 4
Joined: January 21st, 2008, 9:58 pm

Not moving completed files to correct folders

Post by alien8 »

Version: 0.5.0 beta 5
OS: Vista x64 Ultimate
Install-type: Windows Installer
Skin: Plush
Firewall Software: using router's firewall (latest Tomato firmware, if that makes a difference)
Are you using IPV6? no
Is the issue reproducible? yes
The following bug report did not happen in the latest 0.4 stable release.

Downloaded files are not being moved to the correct folders that I've got set up under Categories.  For example, using the latest 0.4 release of SABnzbd, all TV shows would be moved to the Z:\TV folder on my NAS, but after upgrading to 0.50b5, they are only being moved to the default Completed folder.  This is the error that gets created in the log:

Code: Select all

2010-01-02 22:27:26,637
ERROR:
Failed making (Z:\TV)
The NAS is set to have the hard drives power down after 30 minutes of inactivity, but this happens whether they are awake or not.  The NAS does not have any sort of special read/write permissions either.  If there is any other information that I can provide you, just let me know.
Last edited by alien8 on January 3rd, 2010, 11:20 am, edited 1 time in total.
momoz
Newbie
Newbie
Posts: 3
Joined: December 3rd, 2009, 5:49 pm

Re: Not moving completed files to correct folders

Post by momoz »

I have the exact same problem,

Version: .0.5.0 beta 5
OS: Windows 7
Install-type: Windows Installer
Skin: Push
IPV6:  No
Reproducable: Yes

Same as the other guy.. Categories are setup to move the finished item to either "Tv Shows" or "Movies" on a mapped drive:

ERROR:
Failed making (Z:\Media Center Content\TV Shows)
ERROR:
Failed making (Z:\Media Center Content\Movies)


This worked in previous version .0.4 stable

Thanks,
mike
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not moving completed files to correct folders

Post by shypike »

Do either of you use the "Sorting" feature?

The only thing I can think of is this:
1. SABnzbd checks if the TV folder is present.
2. The NAS doesn't answer fast enough and the OS says the folder is missing
3. SABnzbd tries to create the folder
4. The NAS doesn't answer fast enough and the OS says it cannot create the folder
5. SABnzbd says it cannot create the folder.

What happens if you do this:
1. wait for the NAS to fall asleep
2. open a command prompt and type "mkdir z:\just-a-test"
alien8
Newbie
Newbie
Posts: 4
Joined: January 21st, 2008, 9:58 pm

Re: Not moving completed files to correct folders

Post by alien8 »

Waited until the NAS fell asleep and did a 'md z:\test' and it created the new folder with no problems.  It took about 15 seconds or so for it to complete while the NAS's drives spun up, but it did create the directory.
arastaf
Newbie
Newbie
Posts: 13
Joined: November 6th, 2009, 7:29 am

Re: Not moving completed files to correct folders

Post by arastaf »

Try using UNC pathing. \\HOSTNAME\SHARENAME\TV

I had the same issue when running sabnzb as a service, even if I was logged in. This fixed it. 
momoz
Newbie
Newbie
Posts: 3
Joined: December 3rd, 2009, 5:49 pm

Re: Not moving completed files to correct folders

Post by momoz »

Thanks!

That fixed the problem. 

mike
alien8
Newbie
Newbie
Posts: 4
Joined: January 21st, 2008, 9:58 pm

Re: Not moving completed files to correct folders

Post by alien8 »

Yep, me too.  Thanks!

Weird that it worked fine like that in 0.4 stable though.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not moving completed files to correct folders

Post by shypike »

arastaf wrote: I had the same issue when running sabnzb as a service, even if I was logged in. This fixed it. 
When a program runs as a service it usually runs under another user account (often "Local System").
In general, sessions running as a service do not inherit mounted drive letters.
This makes using UNC paths a necessity.
arastaf
Newbie
Newbie
Posts: 13
Joined: November 6th, 2009, 7:29 am

Re: Not moving completed files to correct folders

Post by arastaf »

shypike wrote:
arastaf wrote: I had the same issue when running sabnzb as a service, even if I was logged in. This fixed it. 
When a program runs as a service it usually runs under another user account (often "Local System").
In general, sessions running as a service do not inherit mounted drive letters.
This makes using UNC paths a necessity.
Right unless they are sent to run as a user. Either way UNC pathing works just fine, and in most cases is better anyways. Plus its not the fault of the program its a limitation of how windows works.
alien8
Newbie
Newbie
Posts: 4
Joined: January 21st, 2008, 9:58 pm

Re: Not moving completed files to correct folders

Post by alien8 »

arastaf wrote:
shypike wrote:
arastaf wrote: I had the same issue when running sabnzb as a service, even if I was logged in. This fixed it. 
When a program runs as a service it usually runs under another user account (often "Local System").
In general, sessions running as a service do not inherit mounted drive letters.
This makes using UNC paths a necessity.
Right unless they are sent to run as a user. Either way UNC pathing works just fine, and in most cases is better anyways. Plus its not the fault of the program its a limitation of how windows works.
I'm not faulting the program in any way, and I'm super happy that the UNC pathing works fine, and like you said, is probably better anyways.  All I'm saying is that using mapped drive letters to my NAS worked perfectly under 0.4.9 stable and I'm running the 0.5 beta in the exact same way I was with the stable release.
snubz
Newbie
Newbie
Posts: 5
Joined: December 14th, 2009, 7:31 pm

Re: Not moving completed files to correct folders

Post by snubz »

I'm having the same problem, but under Ubuntu (XBMC Live).  I have sabnzbd set to unpack files to my QNAP NAS.  I'm using autofs to mount these shares.  If the NAS is completely awake, this works just fine. However, if the harddrives have spundown, then the copy fails with the "Failed making" error, and the file remains on the local XBMC hdd.

Any thoughts on how to fix this?  Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Not moving completed files to correct folders

Post by shypike »

If the operating system doesn't gracefully handle the
wakeup of the NAS, what can SABnzbd do about this?
snubz
Newbie
Newbie
Posts: 5
Joined: December 14th, 2009, 7:31 pm

Re: Not moving completed files to correct folders

Post by snubz »

snubz wrote: ... under Ubuntu (XBMC Live).  I have sabnzbd set to unpack files to my QNAP NAS.  I'm using autofs to mount these shares.  If the NAS is completely awake, this works just fine. However, if the harddrives have spundown, then the copy fails with the "Failed making" error, and the file remains on the local XBMC hdd.
For anyone with this issue, I fixed it by mounting my NAS shares using NFS instead of SMB (and using fstab instead of autofs, but seems to be the NFS that actually did the trick).

And yup, not a sabnzb prob, but an OS thing.
Post Reply