SOLVED Sickbeard causing me to pull out my hair

Status
Not open for further replies.

jimmmy

Cadet
Joined
Dec 4, 2014
Messages
5
Hey all,

Yes - I'm a first time NAS'r.

I have set up almost everything fine, it is all working (Plex, transmission etc...)

I can't for the life of me to get Sickbeard to let me write to a folder. Argh! Please help!

upload_2014-12-4_23-10-10.png


I am reallllly sick of seeing that message.

I have tried 'chown' and 'chmod' all over the place. I have both guest and media with full permissions.

I have looked all over the interwebs but no one else seems to have this problem!

I'm using FreeNAS 9.3 Beta.

:/ Please haaalp
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
can you post the output of "ls -l /media/TV\ Shows" from within the jail.

SickBeard by default runs as the "media" user, UID=816, so the folder needs to be writable by that user (or change users).
 

jimmmy

Cadet
Joined
Dec 4, 2014
Messages
5
Hey there,

Yep - here it is:

total 231009
-rw-rw-rw- 1 1002 guest 6148 Nov 10 02:23 .DS_Store
drwxrwxrwx 2 1002 guest 16 Mar 7 2014 Attack on Titan
drwxrwxrwx 2 1002 guest 2 Nov 10 03:24 Gotham
drwxrwxrwx 2 1002 guest 3 Nov 10 02:21 Madam Secretary
-rw-rw-rw- 1 1002 guest 236797755 Oct 7 03:11 Silicon.Valley.S01E08.HDTV.x26
4-KILLERS.mp4
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey there,

Yep - here it is:

total 231009
-rw-rw-rw- 1 1002 guest 6148 Nov 10 02:23 .DS_Store
drwxrwxrwx 2 1002 guest 16 Mar 7 2014 Attack on Titan
drwxrwxrwx 2 1002 guest 2 Nov 10 03:24 Gotham
drwxrwxrwx 2 1002 guest 3 Nov 10 02:21 Madam Secretary
-rw-rw-rw- 1 1002 guest 236797755 Oct 7 03:11 Silicon.Valley.S01E08.HDTV.x26
4-KILLERS.mp4
actually can I see it for /media too. I want to check if /media/TV Shows is writable by the 'media' user
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
I am having this same issue.... I have a feeling it has to do with ACLs but I only know enough to get myself into trouble...
Should I be concerned that I do not see a media user listed under accounts?
I under my raidz2 volume named 'stacked' I have a dataset named shows;
Sickbeard jail storage:
Source -> /mnt/stacked/shows
from freenas root:
Code:
[root@freenas] ~# ls -l /mnt/stacked/
total 1334
drwxrwxr-x+    3 nobody  nogroup     3 Dec  6 22:33 shows/


Destination -> /media/download
from sickbead jail;
Code:
root@sickbeard_1:/ # ls -l /media/
total 17
drwxrwxrwx 2 root wheel 2 Dec 7 13:28 download
 
Last edited:
J

jkh

Guest
Joshua already answered this question. You need to pay close attention to the uids involved!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I am having this same issue.... I have a feeling it has to do with ACLs but I only know enough to get myself into trouble...
Should I be concerned that I do not see a media user listed under accounts?
I under my raidz2 volume named 'stacked' I have a dataset named shows;
Sickbeard jail storage:
Source -> /mnt/stacked/shows
from freenas root:
Code:
[root@freenas] ~# ls -l /mnt/stacked/
total 1334
drwxrwxr-x+    3 nobody  nogroup     3 Dec  6 22:33 shows/


Destination -> /media/download
from sickbead jail;
Code:
root@sickbeard_1:/ # ls -l /media/
total 17
drwxrwxrwx 2 root wheel 2 Dec 7 13:28 download

The 'media' user doesn't exist in FreeNAS by default. Because, users between the FN host and jails aren't shared.

What I usually recommend is creating the 'media' user with the matching UID, but you can shave this cat many different ways.
 

Chupa0

Dabbler
Joined
Dec 16, 2013
Messages
33
That actually clears things up a lot. Its most certainly a permission issue. Thanks much!
 
Status
Not open for further replies.
Top