[FreeNAS-9.10.2-U2 (e1497f2)] | SickRage "Unable to create the folder" Permissions Issue

Status
Not open for further replies.
Joined
Jun 22, 2017
Messages
8
Howdy Everyone,

When trying to add a show via SickRage I'm getting this error in the logs:

2017-06-22 19:40:25 Thread-36 :: [96b53de] Unable to create the folder /media/tv/Fear the Walking Dead, can't add the show

I've been going through the forums and the closest thing that I could find resembling my issue is found here "Share folder Transmission and Sabnzbd".


Below are the permissions of my group from the FreeNAS side of the house as I've mapped my dataset to "/media/" along with other sub directories such as "tv" & "movies"

[root@freenas] ~# cat /etc/group
...
...removed for brevity
...
media:*:8675309:
shared:*:1004:sickrage
Media:*:1005:sickrage
sickrage:*:1001:
media2:*:816:


Here are the permissions from my SickRage Jail:


root@sickrage_1:/ # ls -la
...
drwxrwxr-x+ 12 root Media 12 Jun 22 18:34 media
...
root@sickrage_1:/ #


What I'm trying to figure out is where am I going wrong with the permissions with this as I'm fairly new and want to do it right. I figure ya'll can be of much help. Again, sorry for the newbness :(

root@sickrage_1:/ # cat /etc/passwd
# $FreeBSD: releng/10.3/etc/master.passwd 256366 2013-10-12 06:08:18Z rpaulo $
#
root:*:0:0:Charlie &:/root:/bin/csh
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
news:*:8:8:News Subsystem:/:/usr/sbin/nologin
man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin
unbound:*:59:59:Unbound DNS Resolver:/var/unbound:/usr/sbin/nologin
proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
auditdistd:*:78:77:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
hast:*:845:845:HAST unprivileged user:/var/empty:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
media:*:8675309:8675309:User &:/home/media:/bin/sh
sickrage:*:1001:1001:sickrage:/home/sickrage:/bin/sh
media2:*:816:816:User &:/nonexistent:/usr/sbin/nologin
root@sickrage_1:/ # cat /etc/group
# $FreeBSD: releng/10.3/etc/group 256366 2013-10-12 06:08:18Z rpaulo $
#
wheel:*:0:root
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
ftp:*:14:
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
guest:*:31:
bind:*:53:
unbound:*:59:
proxy:*:62:
authpf:*:63:
_pflogd:*:64:
_dhcp:*:65:
uucp:*:66:
dialer:*:68:
network:*:69:
audit:*:77:
www:*:80:
hast:*:845:
nogroup:*:65533:
nobody:*:65534:
media:*:8675309:
sickrage:*:1001:
Media:*:1005:sickrage
shared:*:1004:sickrage
media2:*:816:
root@sickrage_1:/ #
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
You being new I need to ask, has SickRage ever worked? This is important info.

Also, did you setup your shares for the jail properly to define where /media is linked to? And wherever that links to, what are the permissions of that directory? Change them to 777 and try again.

If SickRage worked previously and you had several shows which were created and this one just failed... Is this the only failure and others work? If all fail and it worked fine previously, is your hard drive full?

I don't use SickRage but this does look like a setup/permissions issue. I hope what I said helps, otherwise keep searching the forums, and the SickRage forums as well. Something is bound to pop up.
 
Joined
Jun 22, 2017
Messages
8
joeschmuck,

First thanks for the reply. Yes this is a new setup that I've not been able to get working. As per your suggestion I've reviewed Joshua's document here before posting: [How-To] Giving Plugins Write Permissions to Your Data

Maybe it's me and I'm not understanding fully (many apologies), would there be another resource/recommendation that you could point me to so that I can figure out my permissions? I'm not asking anyone to do the work for me, just a little push in the right direction would be most appreciated.

Regards,

molotov_kazic
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
That is actually a good thread and if it can't help you then I'm not sure what else I can offer. Did you try to set the permissions for the pool directory you are using to "777" and for all subdirectories? While 777 isn't optimal, it will help troubleshoot. Also, what is "/media" or "/media/tv" mapped to in your pool?
 
Status
Not open for further replies.
Top