Help, permissions issue with NZBget 12.

Get help, report and discuss bugs.
Post Reply
Saner
Posts: 8
Joined: 27 Dec 2013, 07:46

Help, permissions issue with NZBget 12.

Post by Saner » 03 Jan 2014, 12:39

Hello, I am new to nzbget, so please go easy on me.


If I run nzbget 12.0-testing-r924 everything works fine, if I upgrade to 12.0 final (or 927) I get errors using sickbeard or couchpotato.

I use https://github.com/clinton-hall/nzbToMedia to handle sickbeard, and couchpotato's built in renamer for movies, so I dont think its pp scripts.


Right, with r924 it downloads and hands it over to the pp script (or renamer in couchpoatos case) and it works fine.

In later versions, it is like a permission error as both claim to be unable to move the files, I get permission denied if i do it from cli.

Umask is set to 1000, but other than that I cant really see any permission settings.

Any pointers on where to look would be great as I suspect I am the only one with this problem, so I know itis my end I just dont know how to diagnose it!


Thanks in advance

S.

Saner
Posts: 8
Joined: 27 Dec 2013, 07:46

Re: Help, permissions issue with NZBget 12.

Post by Saner » 03 Jan 2014, 13:51

Some gumpf


Sickbeard log.
014-01-03 13:44:21 WARNING CP Server Thread-3 :: Processing failed for /media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv: Unable to move the files to their new home
2014-01-03 13:44:21 ERROR CP Server Thread-3 :: Unable to move file /media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv to /media/usbhd-sdb1/XBMC/TV/Haven/Haven - 4x13 - The Lighthouse.mkv: 13
2014-01-03 13:43:51 INFO CP Server Thread-3 :: Trying to clean any empty folders under /media/usbhd-sdb1/XBMC/TV/Haven
2014-01-03 13:43:51 INFO CP Server Thread-3 :: Analyzing name u'Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI.nzb'
2014-01-03 13:43:51 INFO CP Server Thread-3 :: Processing /media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv (Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI.nzb)
NZBget log (compiled with debug)
(last 1000 lines)

http://paste.ubuntu.com/6684638/

(full)
http://paste.ubuntu.com/6684625/


cli

xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$ ls -l Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/
total 1380076
-rwxrwxrwx 1 root root 1412949271 Dec 16 00:41 Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv
-rw-r--r-- 1 root root 223166 Jan 3 13:39 Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.nzb
-rw-r--r-- 1 root root 9357 Jan 3 13:43 Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.srr
-rw-r--r-- 1 root root 3213 Jan 3 13:43 Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.nfo
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$


xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$ umask
0002
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$ cd Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI$ umask
0002
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI$


xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$ rm -rf Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/
rm: cannot remove ‘Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.nzb’: Permission denied
rm: cannot remove ‘Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv’: Permission denied
rm: cannot remove ‘Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.srr’: Permission denied
rm: cannot remove ‘Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.nfo’: Permission denied
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV$ cd Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI/
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI$ mv Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv ~/
mv: cannot remove ‘Haven.S04E13.The.Lighthouse.720p.WEB-DL.DD5.1.H.264-ECI.mkv’: Permission denied
xbmc@xbmc:/media/usbhd-sdb1/nget/NZBDN/dst/TV/Haven.S04E13.720p.WEB-DL.DD5.1.H.264-ECI$

Saner
Posts: 8
Joined: 27 Dec 2013, 07:46

Re: Help, permissions issue with NZBget 12.

Post by Saner » 03 Jan 2014, 15:05

I have managed a workaround using this - http://nzbget.sourceforge.net/forum/vie ... 5846#p5846

but it still seems strange that it worked on a earlier build.

Thank you to Wusa :)

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Help, permissions issue with NZBget 12.

Post by hugbug » 03 Jan 2014, 16:02

Permissions are affected by options DaemonUsername, UMask and by user account which starts NZBGet.

Changes made since r924 have nothing to do with permissions.

Saner
Posts: 8
Joined: 27 Dec 2013, 07:46

Re: Help, permissions issue with NZBget 12.

Post by Saner » 04 Jan 2014, 08:17

as I said I am sure its something my end, but r924 just worked, later versions needed a shove with a pp script.

I tried changing it to a local user and what not.

anyway its working, and thank you for confirming it is defiantly not something changed in the code. I will investigate more when I have time.

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests