Simple step-by-step for installing Subsonic xubuntu linux?

Need help? Post your questions here.

Moderator: moderators

Simple step-by-step for installing Subsonic xubuntu linux?

Postby spdorsey » Fri Apr 05, 2019 12:29 am

Is there a SIMPLE step-by-step for this sort of installation? It seems like it would be simple, but then again, many people told me my Plex install would also be simple, so I'm pretty nervous about getting this working. I am not a network admin, I do not hold a degree in network administration, coding, scripting, or any other super-powerful computer-based technologies. I use a Mac when I'm not using Linux.

I own a Subsonic lifetime license.

I built a media server that is currently running Plex. It is running xubuntu Linux and it appears to be working fairly well. I have not installed anything on it aside from Plex, Google Chrome, and Sublime Text. It is a Core i7 16GB RAM and the media lives on a 27TB Synology which I have already set up to mount as a share here in Linux as /media/music. I have already set up my network firewall to forward port 4040 to my Subsonic server's IP address so that I can access my media outside my home network.

My Synology network storage system has a /music UFS shared directory that contains an iTunes folder. I maintain my music collection using iTunes because it does a fair job of cataloging the new additions to my collection, and I am easily able to edit tags on the files.

Being a Mac user all my life, I am new to the Linux concept. I had a very hard time getting the Plex server running and and even harder time learning things like editing the fstab document to get the shares to mount properly. It took me several days to get it working and I'm not sure if I could do it again.

There is a tutorial in the forums for an install similar to mine, but the post is ten years old, so I'm going to avoid it as a lot has changed since it was written. I have not seen much else in the way of instructions that are somewhat specific to my hardware and system specs, but perhaps there is one and I simply couldn't find it.

viewtopic.php?f=6&t=1486

I need to install Subsonic so that the following occur:
1) Subsonic accesses the music share for content (that part is easy)
2) Subsonic autostarts when the machine starts up
3) Subsonic properly loads things like cover art and metadata (not sure if that's something I need to configure)

thanks for your help and for your time.
spdorsey
 
Posts: 16
Joined: Fri May 15, 2015 2:14 pm

Re: Simple step-by-step for installing Subsonic xubuntu linu

Postby LRanger » Fri Apr 05, 2019 3:11 am

Follow the instructions http://www.subsonic.org/pages/installation.jsp#debian for Debian/Ubuntu.

It should start after installing the deb package.

You can check the status of Subsonic by the command 'sudo systemctl status subsonic'

on my server:

Code: Select all
peter@HC2-1:~$ sudo systemctl status subsonic
[sudo] password for peter:
● subsonic.service - LSB: Subsonic daemon
   Loaded: loaded (/etc/init.d/subsonic; generated)
   Active: active (running) since Sat 2019-03-30 12:48:19 +08; 5 days ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/subsonic.service
           └─1241 java -Xmx150m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=4443 -Dsubsonic.contextPath=/ -Dsub

Mar 30 12:33:49 HC2-1 systemd[1]: Starting LSB: Subsonic daemon...
Mar 30 12:48:19 HC2-1 subsonic[994]: Started Subsonic [PID 1241, /var/subsonic/subsonic_sh.log]
Mar 30 12:48:19 HC2-1 systemd[1]: Started LSB: Subsonic daemon.


I had some problems running with openjdk; I'm using Oracle Java 8 from https://launchpad.net/~webupd8team/+archive/ubuntu/java

I need to install Subsonic so that the following occur:
1) Subsonic accesses the music share for content (that part is easy)
2) Subsonic autostarts when the machine starts up
- the Subsonic package installer does this
3) Subsonic properly loads things like cover art and metadata (not sure if that's something I need to configure)
- comply with the Subsonic requirements for cover art naming and ensure your files are correctly tagged (I use mp3tag)
LRanger
 
Posts: 48
Joined: Thu Mar 03, 2016 10:51 am

Re: Simple step-by-step for installing Subsonic xubuntu linu

Postby spdorsey » Fri Apr 05, 2019 11:22 pm

Typed 'sudo systemctl status subsonic'
Answer: "Unit subsonic.service could not be found"
I assume this means it is not installed?

I went to https://launchpad.net/~webupd8team/+archive/ubuntu/java
That page states that Oracle Java 9 has reached end of life, and then it only makes Java8 available at the bottom of the page for download. So I cannot install a current Java from this page? What is the best way to install Java? Is there an apt-get command I can type to do this that will guarantee a good version?

Does Java update automatically? If not, how do I make it do so?

I can install Subsonic using the "Software" app in xubuntu, but now I feel like I need to wait until Java is installed and running properly before installing Subsonic. Is this indeed the case?

Thanks
spdorsey
 
Posts: 16
Joined: Fri May 15, 2015 2:14 pm

Re: Simple step-by-step for installing Subsonic xubuntu linu

Postby LRanger » Sat Apr 06, 2019 5:18 am

I went to https://launchpad.net/~webupd8team/+archive/ubuntu/java
That page states that Oracle Java 9 has reached end of life, and then it only makes Java8 available at the bottom of the page for download. So I cannot install a current Java from this page? What is the best way to install Java? Is there an apt-get command I can type to do this that will guarantee a good version?

Does Java update automatically? If not, how do I make it do so?



As far as I'm aware you can still install Java 8 from this repo. EOL means that Oracle is not supporting it any more.

At the bottom of the page -
For Oracle Java 11, see a different PPA -> https://www.linuxuprising.com/2018/10/h ... buntu.html

Otherwise you could try OpenJDK as recommended by the Subsonic installation instructions From a web search the command should be 'sudo apt install openjdk-8-jdk'

If you use the apt package installer then everything will be updated by the 'sudo apt-get update/sudo apt-get upgrade' commands
LRanger
 
Posts: 48
Joined: Thu Mar 03, 2016 10:51 am

Re: Simple step-by-step for installing Subsonic xubuntu linu

Postby spdorsey » Sat Apr 06, 2019 4:22 pm

Thanks for your reply. I'll try that and post my results.
spdorsey
 
Posts: 16
Joined: Fri May 15, 2015 2:14 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests