Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

[How To] Install Subsonic 4.8 on FreeNAS 9.1.1

mudshark

Member
Joined
Jan 17, 2015
Messages
108
The links I cited below ARE the newly created paths in the jail:
/mnt/RAID10/jails/subsonic_1/media/Music
/mnt/RAID10/jails/subsonic_1/media/Videos

But when I enter these strings into the path fields in the SubSonic GUI it says they are not found.
 

anika200

Member
Joined
Mar 18, 2013
Messages
112
Have you re-created the links from your freenas storage to your jail, they have probably changed.
Add your Dataset ( Media ) to your Subsonic Jail
Using WebGUI
Click/highlight your new jail and at the bottom of the page select the folder icon for "add storage". Make sure subsonic is listed as the jail and in the source box navigate to the /mnt/nas1/media Dataset. In the destination box click on the new folder you created in the subsonic jail, in my case "music". Click ok and you are done.
What you have basically done is link your Dataset "media" to a folder inside your subsonic jail named music. Now when you fill up the media dataset with flac files they can be used by your jail and subsonic media server.

Reboot the Server
 

anika200

Member
Joined
Mar 18, 2013
Messages
112
The links I cited below ARE the newly created paths in the jail:
/mnt/RAID10/jails/subsonic_1/media/Music
/mnt/RAID10/jails/subsonic_1/media/Videos

But when I enter these strings into the path fields in the SubSonic GUI it says they are not found.
Ok, I understand yes. I can not do any testing at the moment. my server is offline at the moment. I will respond as soon as possible.
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
The links I cited below ARE the newly created paths in the jail:
/mnt/RAID10/jails/subsonic_1/media/Music
/mnt/RAID10/jails/subsonic_1/media/Videos

But when I enter these strings into the path fields in the SubSonic GUI it says they are not found.
Subsonic runs in the jail and sees the files at /media/Music and /media/Videos
 

anika200

Member
Joined
Mar 18, 2013
Messages
112
Make sure your storage is being mounted and online, for some reason a couple of updates ago my storage for /music etc... stopped being mounted.
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
>> Subsonic runs in the jail and sees the files at /media/Music and /media/Videos

Uh duh. I was putting the entire path to the jailed shares in there. I just wants the last part of the path, having assumed the "jail" & the "subsonic_1" folders.

Thanks!
 

1uVBo

Junior Member
Joined
Feb 3, 2015
Messages
20
Joshua, would you be able to update the plugin in the default repo? An update was pushed last week (5.3) that I am looking forward to using (custom domains combined with my own certs).
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Joshua, would you be able to update the plugin in the default repo? An update was pushed last week (5.3) that I am looking forward to using (custom domains combined with my own certs).
sure, I'll work on it tonight.
thanks for reminding me. I didn't know it was available.
 

1uVBo

Junior Member
Joined
Feb 3, 2015
Messages
20
Not a problem! Thank you for looking into this.
It's working great! However, is there any reason I cannot set the port with SSL to 443? It will not run when I use that low of a port. I thought subsonic ran in root in e jail so it would access ports under 1024... That is unless there is another sever in the background running port 443..

EDIT: I'm confident and now realize that it was trying to bind to a privileged port from user level. Java (as it should be) is sort of that user level set of route and is unable to use port 443.

With the following command (found here http://yaws.hyber.org/privbind.yaws):
Code:
sysctl net.inet.ip.portrange.reservedhigh=0


I'm able to change the port range for reserved privileges. this might not be the most elegant solution but this one works.

I needed to do this because when the CDN server was entering my network on port 443 and redirected internally on my network to 4040. The acknowledgment packet was dropped from my CDN because it did not come from port 443 on my network. At least this is what appeared to have happened. It only acted like this with my CDN and not my dynamic DNS. the SSL Certs only made it more complicated.
 
Last edited:

1uVBo

Junior Member
Joined
Feb 3, 2015
Messages
20
sure, I'll work on it tonight.
thanks for reminding me. I didn't know it was available.
so maybe I just didn't notice this before but I'm getting this pop up in my log before every single play on a song.
but only through mobile devices and mobile apps. Never through the web browser player.
Code:
Error in REST API: EofException
ERROR JAXBWriter Failed to marshal JAXB
ERROR RESTFilter Failed to write error response.
 

1uVBo

Junior Member
Joined
Feb 3, 2015
Messages
20
Sorry to post once more in this topic. Was anyone else having problems with 5.3? I had to roll back to 5.2.1 because every 24 to 48 hours in 5.3 the web interface would stop responding and I had to reboot the plug-in. Did anyone else run into this?

Additionally, I ended up resolving my SSL issue with CDN just by passing through their DNS and using my own SSL certificate. (I was trying to use cloudflare which ended up causing more problems than it did helping).
 

FlyingPersian

Member
Joined
Jan 27, 2014
Messages
210
Sorry for digging out this thread. I'm having issues using the internet radio function as posted here. I get the following error:

Code:
html5: Video file not found
http://192.168.1.8:4040/internetRadioStream.view?id=1


Tried inputting the radio station like this:

Code:
Name = tuner.gayfm
StreamUrl = http://tuner.gayfm.de:80


I tried multiple browsers (Chrome, Firefox). Everything is up2date (all packages in the jail, subsonic itself, browsers). Any ideas? There isn't much online about this. One thread said that it has to do with the ffmpeg file, but it refered to the raspberry pi and the faulty version it installs on the RPI. My ffmpeg file is up2date though.
 

BadJo0Jo0

Newbie
Joined
Nov 15, 2017
Messages
1
What's the best way to update subsonic to the latest? Is it still downloading the standalone package and copying over the new files to the install directory in subsonic jail?
 

anika200

Member
Joined
Mar 18, 2013
Messages
112
What's the best way to update subsonic to the latest? Is it still downloading the standalone package and copying over the new files to the install directory in subsonic jail?
Yes it is.
On a side note I have moved to the Subsonic plugin provided by Freenas 11 so I no longer have my own jail for testing anything. If you go this route check the last page of the plugin thread for update instructions from the author. here
 
Last edited:

quegorosoit

Newbie
Joined
May 1, 2020
Messages
1
Yes it is.
On a side note I have moved to the Subsonic plugin provided by Freenas 11 so I no longer have my own jail for testing anything. If you go this route check the last page of the plugin thread for update instructions from the author. here
Hello, are you still using Freenas 11 subsonic?
I am in 11.3 and unfortunately the plugin is not present.
Do you know if you should just wait for it to appear?
Thank you.

[EDIT]

Hello again, I finally succeeded by following the tutorial with some minor modifications.
I had to switch to DHCP rather than NAT to access the service :).
 
Last edited:
Top