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 top-level Music share permissions are as attached. (The 'recursively' checkbox always unchecks itself but settings were saved with the boxed checked.) Should I be maybe looking at the parent of that share to set permissions? When accessed from a PC via a mapped or network share drive the entire contents of the share are fully accessible for read & write. (So close!)
Thanks again,
R
 

Attachments

mudshark

Member
Joined
Jan 17, 2015
Messages
108
Also wondering if a new subsonic user +/or group may be needed?
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
double post
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
The results of the ls -l are attached. The command returned the folders in the top level share.

I have the instructions you cited above and will look at it tomorrow w/ a better eye.

INTERESTING:
The top level share outputs a result for the ls command.
I can cd down into a folder and do the ls but try to cd in the next foler down and 'no such foler' error pops up! (Also attached.)
 

Attachments

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
The results of the ls -l are attached. The command returned the folders in the top level share.

I have the instructions you cited above and will look at it tomorrow w/ a better eye.

INTERESTING:
The top level share outputs a result for the ls command.
I can cd down into a folder and do the ls but try to cd in the next foler down and 'no such foler' error pops up! (Also attached.)
Looks fine, matches what you had on your dataset's settings. Maybe it's not a permission issue?

Can you try installing a second instance of subsonic and see if any content is presented in the middle part of the screen? I get a title "Welcome to Subsonic"
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
Found the problem. Under STORAGE > VOLUMES > JAILS made the permissions to SubSonic = 777.
Following the post you showed me last night I 1st made a subsonic user & group under ACCOUNTs but that didn't seem to help. Then chg'd the rights to the app's jail 'share' and it worked. I suppose the user+group I added were unnecessary but I'll not worry about that now. It's not broken, I'm not touching it!

Now, if I can get the PS3 on another subnet to see SubSonic's DNLA...

Next up: CrashPad.

Thanks again all!
RG
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Found the problem. Under STORAGE > VOLUMES > JAILS made the permissions to SubSonic = 777.
Following the post you showed me last night I 1st made a subsonic user & group under ACCOUNTs but that didn't seem to help. Then chg'd the rights to the app's jail 'share' and it worked. I suppose the user+group I added were unnecessary but I'll not worry about that now. It's not broken, I'm not touching it!

Now, if I can get the PS3 on another subnet to see SubSonic's DNLA...

Next up: CrashPad.

Thanks again all!
RG
Welcome, glad you got it working!
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
...glad you got it working!
Aarrrgh! For whatever reason, the service stopped and I couldn't restart it. (I was trying to get the DLNA server to be seen by a PS3 on the network. (Maybe I ought not chg the port from 4040?)
The good news is that I'd made a backup the the full boot drive after the SubSonic install, the bad news is it was after the SubSonic install but before the finally successful configuration. I banged my head against the wall for a day then wiped the drive and did a restore. Now I just have to (again) succeed in reconfiguring the plug in again.

Here are the things I did after the install that eventually got it working.
I would appreciate feedback on the "correct" order in which to do them (including reboots).

under jails to set IP address
under STORAGE > VOLUMES > JAILS "subsonic_1" permissions = 777.
reboot FreeNAS
in the jail "Add Storage" to point to the actaul media shares
Added sunsonic user and group - no password (unnecessary?)
under PLUGINS > INSTALLED verify service = ON

Lastly, I seem to have lost how to set the PORT through which to access SubSonic! Grrrr.

Thanks, buds,
RG
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Aarrrgh! For whatever reason, the service stopped and I couldn't restart it. (I was trying to get the DLNA server to be seen by a PS3 on the network. (Maybe I ought not chg the port from 4040?)
The good news is that I'd made a backup the the full boot drive after the SubSonic install, the bad news is it was after the SubSonic install but before the finally successful configuration. I banged my head against the wall for a day then wiped the drive and did a restore. Now I just have to (again) succeed in reconfiguring the plug in again.

Here are the things I did after the install that eventually got it working.
I would appreciate feedback on the "correct" order in which to do them (including reboots).

under jails to set IP address
under STORAGE > VOLUMES > JAILS "subsonic_1" permissions = 777.
reboot FreeNAS
in the jail "Add Storage" to point to the actaul media shares
Added sunsonic user and group - no password (unnecessary?)
under PLUGINS > INSTALLED verify service = ON

Lastly, I seem to have lost how to set the PORT through which to access SubSonic! Grrrr.

Thanks, buds,
RG
Never change the ownership/permissions of any of your jail dataset. These are operating system + application files that will stop working properly after you do so.

Only ever change the ownership/permissions of datasets you mount into your jail.

####

  1. delete all the plugins/jails you broke
  2. install subsonic
  3. add storage to the subsonic jail (I personally make this read-write so I can use subsonic to change mp3tags)
  4. if needed, change ownership/permissions of the dataset you added to the subsonic jail
  5. start subsonic
  6. do what you need in subsonic
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
Never change the ownership/permissions of any of your jail dataset. These are operating system + application files that will stop working properly after you do so.

Only ever change the ownership/permissions of datasets you mount into your jail.

####

  1. delete all the plugins/jails you broke
  2. install subsonic
  3. add storage to the subsonic jail (I personally make this read-write so I can use subsonic to change mp3tags)
  4. if needed, change ownership/permissions of the dataset you added to the subsonic jail
  5. start subsonic
  6. do what you need in subsonic
Same thing.. SubSonic Service won't start. (Under Plugins > Installed)
Did a fresh FreeNAS install, fresh SubSonic plugin install.
Added storage to the subsonic jail, made read-write

Not sure about changing ownership/permissions of the jail dataset
Under Jails > SubSonic > Storage - Both media shares are read-write and mounted.
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Same thing.. SubSonic Service won't start. (Under Plugins > Installed)
Did a fresh FreeNAS install, fresh SubSonic plugin install.
Added storage to the subsonic jail, made read-write

Not sure about changing ownership/permissions of the jail dataset
Under Jails > SubSonic > Storage - Both media shares are read-write and mounted.
when you say "made read-write", did you make the storage dataset read-write or the jail dataset?

Can you try running this in the subsonic jail?
Code:
service subsonic onestart
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
when you say "made read-write", did you make the storage dataset read-write or the jail dataset?

Can you try running this in the subsonic jail?
Code:
service subsonic onestart
Unchecked READ ONLY under Jails > SubSonic > Storage

root@subsonic_1:/ # service subsonic onestart
Starting subsonic.
su: pam_start: system error
/usr/local/etc/rc.d/subsonic: WARNING: failed to start subsonic
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
Solved?
I started from scratch with a fully clean reinstall.
My thought was that perhaps one of the OS upgrades could be breaking the SubSonic PBI.

So after creating the bare new server, with volumes and shares but before doing anything else I did the install and it seems to have gone flawlessly.

I'll do a full backup of this drive next before I install any of the OS updates, upgrades or patches.
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Solved?
I started from scratch with a fully clean reinstall.
My thought was that perhaps one of the OS upgrades could be breaking the SubSonic PBI.

So after creating the bare new server, with volumes and shares but before doing anything else I did the install and it seems to have gone flawlessly.

I'll do a full backup of this drive next before I install any of the OS updates, upgrades or patches.
Glad its working.
 

the_tox

Member
Joined
Oct 1, 2013
Messages
150
After upgrading FREENAS to the latest build on the stable train, subsonic is now giving a 503 error when I try to access it. I've tried reinstalling subsonic and a host of other steps (including upgrading java), but nothing seems to work. There were no problems before the upgrade and my transmission jail seems to be working fine. Anyone else have an issue with the latest upgrade? Curiously enough, even reverting boot environments did not seem to help.
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
After upgrading FREENAS to the latest build on the stable train, subsonic is now giving a 503 error when I try to access it. I've tried reinstalling subsonic and a host of other steps (including upgrading java), but nothing seems to work. There were no problems before the upgrade and my transmission jail seems to be working fine. Anyone else have an issue with the latest upgrade? Curiously enough, even reverting boot environments did not seem to help.
are you using the plugin, or installed from packages?
you should be able to edit the init script, make subsonic log to a file and see what the error is.
 

the_tox

Member
Joined
Oct 1, 2013
Messages
150
are you using the plugin, or installed from packages?
you should be able to edit the init script, make subsonic log to a file and see what the error is.
Took me a while, but finally realized that my db got corrupted somehow. I managed to salvage user accounts by copying the relevant fields from my old subsonic.script to the newly generated one, but ultimately I had to clear out the db. Works fine again.
 

anika200

Member
Joined
Mar 18, 2013
Messages
112
ah, a subsonic error then. I have been upgrading without issue, thankfully.
 

mudshark

Member
Joined
Jan 17, 2015
Messages
108
Hi guys. My FreeNAS SubSonic install is again rebuilt but a diff question this time...
In the SubSonic GUI we need to set the path to the jail shares right? But these path, though they are accurate do not work.

/mnt/RAID10/jails/subsonic_1/media/Music
/mnt/RAID10/jails/subsonic_1/media/Videos

I /can/ use the unjailed shares w/o error, but isn't that wrong?

Any ideas?
Thx
 
Top