Quick question about subsonic media folder...

Status
Not open for further replies.

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
Hello, I have a quick question, I installed the subsonic plugins from the plugins list in the freenas webgui, and everything seems fine, but how do i tell it where my music folder is, I added storage to the jail like this:

Source: /mnt/tank/media/music <------- Where i put the music
Destination: /media <------------------------ Just to mount it there?

but when i go to the webgui of the subsonic, and add /mnt/media as my point of like where my music is, it tells me it dont exist.

any idea? or suggestion? thanks.
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
You'd use /media, not /mnt/media.
OK, now it doesnt show that it doesnt exist, but the music isnt showing....I did rescan media folders, nothing. also refreshed the index, and nothing.
 
Last edited:

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
anybody?? i think its an easy fix, but nothing so far....
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Do you have child datasets under /mnt/tank/media/music? If so, they won't show up when you mount the parent, you have to mount each dataset individually.
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
Do you have child datasets under /mnt/tank/media/music? If so, they won't show up when you mount the parent, you have to mount each dataset individually.
wait, what does that mean...
I have a dataset called "media" and in there there is a folder called "music" where I store the music so that subsonic can access it...am i doing something worng?
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
am i doing something worng?
Not necessarily. When you mount a dataset in a jail, child folders should show up, but child datasets won't. I just wanted to raise that as a possible explanation.
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
Not necessarily. When you mount a dataset in a jail, child folders should show up, but child datasets won't. I just wanted to raise that as a possible explanation.
ah ok ok, gotcha...thanks for the advice.

Still no luck boys, anyone else have any idea?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Using code tags:
what is the output of zfs list?

And what is the result from within the jail of ls -la / and ls -la /media?
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
this is zfs list:

[root@freenas ~]# zfs list
NAME USED AVAIL REFER MOUN
TPOINT
freenas-boot 498M 27.4G 31K none
freenas-boot/ROOT 491M 27.4G 25K none
freenas-boot/ROOT/Initial-Install 1K 27.4G 480M legacy
freenas-boot/ROOT/default 491M 27.4G 488M legacy
freenas-boot/grub 6.33M 27.4G 6.33M legacy
tank 470G 10.1T 153K /mnt/tank
tank/.system 3.58M 10.1T 288K legacy
tank/.system/configs-d8bf7623f2464a4f944b29c3b2f43a27 633K 10.1T 633K legacy
tank/.system/cores 1.10M 10.1T 1.10M legacy
tank/.system/rrd-d8bf7623f2464a4f944b29c3b2f43a27 153K 10.1T 153K legacy
tank/.system/samba4 562K 10.1T 562K legacy
tank/.system/syslog-d8bf7623f2464a4f944b29c3b2f43a27 895K 10.1T 895K legacy
tank/Server 153K 10.1T 153K /mnt/tank/Server
tank/jails 7.30G 10.1T 268K /mnt/tank/jails
tank/jails/.warden-template-pluginjail 549M 10.1T 549M /mnt/tank/jails/.warden-template-pluginjail
tank/jails/.warden-template-standard 2.23G 10.1T 2.23G /mnt/tank/jails/.warden-template-standard
tank/jails/PlexConnect 213M 10.1T 2.31G /mnt/tank/jails/PlexConnect
tank/jails/plexmediaserver_1 2.65G 10.1T 3.18G /mnt/tank/jails/plexmediaserver_1
tank/jails/sabnzbd_1 1.19G 10.1T 1.57G /mnt/tank/jails/sabnzbd_1
tank/jails/subsonic_1 502M 10.1T 1.02G /mnt/tank/jails/subsonic_1
tank/media 463G 10.1T 463G /mnt/tank/media
[root@freenas ~]#

for ls -la:

root@subsonic_1:/ # ls -la /
total 186
drwxr-xr-x 18 root wheel 22 May 9 08:09 .
drwxr-xr-x 18 root wheel 22 May 9 08:09 ..
-rw-r--r-- 2 root wheel 966 Mar 24 19:11 .cshrc
drwxr-xr-x 2 root wheel 4 May 9 08:08 .plugins
-rw-r--r-- 2 root wheel 254 Mar 24 19:11 .profile
-r--r--r-- 1 root wheel 6197 Mar 24 19:11 COPYRIGHT
drwxr-xr-x 2 root wheel 47 Mar 24 19:10 bin
drwxr-xr-x 8 root wheel 50 Mar 24 19:11 boot
dr-xr-xr-x 11 root wheel 512 May 9 09:18 dev
drwxr-xr-x 23 root wheel 107 May 10 12:35 etc
drwxr-xr-x 3 root wheel 52 Mar 24 19:10 lib
drwxr-xr-x 3 root wheel 5 Mar 30 16:26 libexec
drwxrwxrwx 4 1002 wheel 4 May 9 09:06 media
drwxr-xr-x 2 root wheel 2 Mar 24 19:10 mnt
dr-xr-xr-x 1 root wheel 0 May 10 16:51 proc
drwxr-xr-x 2 root wheel 146 Mar 24 19:10 rescue
drwxr-xr-x 2 root wheel 7 May 9 08:41 root
drwxr-xr-x 2 root wheel 132 Mar 24 19:11 sbin
lrwxr-xr-x 1 root wheel 11 Mar 24 19:11 sys -> usr/src/sys
drwxrwxrwt 7 root wheel 7 May 10 12:35 tmp
drwxr-xr-x 15 root wheel 15 May 9 08:08 usr
drwxr-xr-x 25 root wheel 25 May 9 09:18 var
root@subsonic_1:/ #

for ls -la /media

root@subsonic_1:/ # ls -la /media
total 79
drwxrwxrwx 4 1002 wheel 4 May 9 09:06 .
drwxr-xr-x 18 root wheel 22 May 9 08:09 ..
drwxrwxrwx 2 1002 wheel 24 May 9 08:24 Adele - 21
drwxrwxrwx 2 1002 wheel 94 May 9 09:06 Ultimate
root@subsonic_1:/ #

thanks in advance.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
what is the output of ls -la /mnt/tank/media on your freenas? Because in the jail there are only 2 sub folders showing.

And can you use CODE tags please?
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
here it is:

Code:
[root@freenas ~]# ls -la /mnt/tank/media
total 5
drwxrwxrwx 5 media wheel 5 May 7 10:13 .
drwxr-xr-x 5 root wheel 5 May 5 08:27 ..
drwxrwxrwx 4 media wheel 4 May 5 08:40 downloads
drwxrwxrwx 4 media wheel 4 May 9 09:06 music
drwxrwxrwx 4 media wheel 4 May 5 08:40 videos
[root@freenas ~]#



idk how to use code tags, sorry.

EDIT: i found the code tag....
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Oops, sorry, /mnt/tank/media/music. Because inside the jail (/media) and outside the jail (/mnt/tank/media/music) should be identical.

upload_2016-5-10_20-32-16.png
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
Its fine lol, thanks for showing me the ways....

Code:
[root@freenas ~]# ls -la /mnt/tank/media/music                                 
total 132                                                                      
drwxrwxrwx  4 media  wheel   4 May  9 09:06 .                                  
drwxrwxrwx  5 media  wheel   5 May  7 10:13 ..                                 
drwxrwxrwx  2 media  wheel  24 May  9 08:24 Adele - 21                         
drwxrwxrwx  2 media  wheel  94 May  9 09:06 Ultimate                           
[root@freenas ~]#   
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
So that looks ok. What's the problem? Point subsonic at /media and you should have Adele -21 and Ultimate.
 

rodofrn

Contributor
Joined
Apr 13, 2016
Messages
180
So that looks ok. What's the problem? Point subsonic at /media and you should have Adele -21 and Ultimate.
wow, really....i had that!!! now that i re-did it, IT WORKS..! WT*...!!!!!!!!!! im genuinely pissed..

still thanks mate!

p.s wow, i cant believe it..!!!!!!!!!!!!!!!!!!!!!!
 
Status
Not open for further replies.
Top