Subsonic Podcasts - Failed to create directory

Status
Not open for further replies.

Mitman1234

Cadet
Joined
Jul 9, 2015
Messages
1
I am trying to get podcasts working on my Subsonic plugin and I have a simple problem that I should be able to solve but can't. Whenever I add a podcast, it cannot download the episodes and gives the error "Failed to create directory /var/music/Podcasts/Radiolab". Now, I know what the problem is but I am missing the information I need to fix it. I know I need to create a new user in FreeNAS that matches the user Subsonic is using to try to create that directory and give it permission to edit that dataset. I just don't know what user Subsonic is running under and all my searches have been fruitless.

I checked in /etc/passwd in the jail Subsonic is running in and none of the users listed looked right but I have attached that list below.
Code:
root                                                                           
toor                                                                           
daemon                                                                         
operator                                                                       
bin                                                                            
tty                                                                            
kmem                                                                           
games                                                                          
news                                                                           
man                                                                            
sshd                                                                           
smmsp                                                                          
mailnull                                                                       
bind                                                                           
unbound                                                                        
proxy                                                                          
_pflogd                                                                        
_dhcp                                                                          
uucp                                                                           
pop                                                                            
auditdistd                                                                     
www                                                                            
hast                                                                           
nobody                                                                         
media                                                                          
cups


Let me know if there is anything else I should try.
 

Joshua Parker Ruehlig

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

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
Ok, I am having the same problem.... I have decided to install subsonic, I know I have to make sure it has the right permissions to create the folder when I add a podcast. What is described above is a little hard to understand, as I don't use my server very often, and when I do I have to re-learn everything again because it's been a year since I do any work on it :(

Can someone please explain in layman's terms how to change the permissions... thanks much.

I am running FreeNAS 9.10 with the latest subsonic plugin.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok, I am having the same problem.... I have decided to install subsonic, I know I have to make sure it has the right permissions to create the folder when I add a podcast. What is described above is a little hard to understand, as I don't use my server very often, and when I do I have to re-learn everything again because it's been a year since I do any work on it :(

Can someone please explain in layman's terms how to change the permissions... thanks much.

I am running FreeNAS 9.10 with the latest subsonic plugin.
by default I think podcasts are stored under /var/db/subsonic so permissions won't be a problem unless you change something.

do you want to save them somewhere else?
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
thanks for the reply, yes I am storing them somewhere else.
in the jail:
/jails_2/subsonic_1/media/Podcasts
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
thanks for the reply, yes I am storing them somewhere else.
in the jail:
/jails_2/subsonic_1/media/Podcasts
assuming you want to change that directories owner, from the jail you can run..
chown -R media:media /media/Podcasts
 

asw2012

Contributor
Joined
Dec 17, 2012
Messages
182
chown -R media:media /media/Podcasts

that worked perfect. thank you.
 
Status
Not open for further replies.
Top