Unable to move file - Unknown value passed in, ignoring it

Support for the Debian/Ubuntu package, created by JCFP.
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.
Post Reply
kl1k
Release Testers
Release Testers
Posts: 30
Joined: November 1st, 2009, 3:21 pm

Unable to move file - Unknown value passed in, ignoring it

Post by kl1k »

Stuggling with some weird problems.

SAB Running on my R-Pi. I've got a CIFS share mounted and when I move a file manually to the share it gets copied ok. (Using sudo)

I've setup CIFS using this http://forums.sabnzbd.org/viewtopic.php?f=16&t=9034

When sab tries to move the file itself, it fails. The file is copied to the destination ok, but not moved.

Code: Select all

Sep-08 18:08:13 DEBUG    CP Server Thread-5 :: Destination folder for this episode: /mnt/disk1/TV/Tanked/Season 02
Sep-08 18:08:13 DEBUG    CP Server Thread-5 :: Checking if the path /mnt/disk1/TV/Tanked/Season 02 already exists
Sep-08 18:08:13 DEBUG    CP Server Thread-5 :: Moving file from /var/multimedia/incoming/sabnzbd/complete/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON.mp4 to /mnt/disk1/TV/Tanked/Season 02/Tanked.S02E10.SD.TV.mp4

Sep-08 18:09:07 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Sep-08 18:13:27 DEBUG    CP Server Thread-5 :: Unknown value passed in, ignoring it: <type 'int'> (13:<type 'int'>)
Sep-08 18:13:27 ERROR    CP Server Thread-5 :: Unable to move file /var/multimedia/incoming/sabnzbd/complete/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON.mp4 to /mnt/disk1/TV/Tanked/Season 02/Tanked.S02E10.SD.TV.mp4: 13
Sep-08 18:13:27 WARNING  CP Server Thread-5 :: Processing failed for /var/multimedia/incoming/sabnzbd/complete/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON/Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON.mp4: Unable to move the files to their new home
A few questions, when SAB moves the file does it do it using the user "sabnzdb"

Here's the source file details:

Code: Select all

-rw-r--r-- 1 sabnzbd sabnzbd 421188316 Sep  1 04:57 Tanked.S02E10.For.Love.of.the.Game.or.Money.HDTV.x264-CRiMSON.mp4
After the error message this is the destination file:

Code: Select all

-rwxr--r-- 1 nobody nobody 421188316 Sep  8 18:13 Tanked.S02E10.SD.TV.mp4
Its some kind of permission problem but I've got no idea how to fix it.

remote share is mounted like this:

Code: Select all

sudo mount -t cifs //netbiosname/sharename /media/sharename -o credentials=/root/.smbcredentials,iocharset=utf8,gid=1001,uid=1001,nounix,file_mode=0777,dir_mode=0777
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unable to move file - Unknown value passed in, ignoring

Post by shypike »

CIFS is a huge PITA, or rather the way you need to mount it in Linux.
Even OSX does this much better.
The current user is not relevant, the CIFS user account is set in the mount statement.
I gave up connecting Linux to CIFS.
Other than that, if SABnzbd fails to move a file, it should revert to copy/delete instead.
Does that work in your case?
Is it just a case of weird error messages?
BTW: don't set a "permissions" value in Config->Folders.
kl1k
Release Testers
Release Testers
Posts: 30
Joined: November 1st, 2009, 3:21 pm

Re: Unable to move file - Unknown value passed in, ignoring

Post by kl1k »

I haven't set the permissions in the SAB config.

The file is copied to the destination, but not deleted from source.

What do you recommend I can use instead of cifs? The remote server is also linux - should I try nfs?

Update: What a sec - I forgot to mention that I'm running Sickbeard - would this make any difference to the problem?

Update2: Fixed - I set the file permissions in SAB to 777 and it worked! :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unable to move file - Unknown value passed in, ignoring

Post by shypike »

OK, that you are using SickBeard is significant.
I assume your SABnzbd final folder is local and that SickBeard moves files from local storage to CIFS.
In that case the 777 is important to let SB do its work.
kl1k
Release Testers
Release Testers
Posts: 30
Joined: November 1st, 2009, 3:21 pm

Re: Unable to move file - Unknown value passed in, ignoring

Post by kl1k »

Correct - SAB complete folder is local, and then its moved to a remote CIFS.

Thanks for the help - glad its all working, and on the R-Pi as well!! :)
Post Reply