Package Details: subsonic 6.1.3-1

Git Clone URL: (read-only)
Package Base: subsonic
Description: A free, web-based media streamer and jukebox.
Upstream URL:
Licenses: custom
Conflicts: subsonic
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 72
Popularity: 0.583562
First Submitted: 2010-03-26 16:48
Last Updated: 2017-11-19 17:38

Latest Comments

mikedal commented on 2017-10-03 16:35

Has anyone else had trouble running 6.1? After updating, the service starts, but I get 503s from jetty. I've tried uninstalling and reinstalling subsonic, but nothing changed.
Potentially related is that I also recently updated my jdk from 8 to 9.
Here is a pastebin of my logs, I haven't been able to make much sense of them:

polylux commented on 2016-11-02 12:22

Anybody knows what's missing if only .ogg from my collection are displayed? Seems to be unable to cope with the mp3s.

robertfoster commented on 2016-05-02 08:01

You could do a pull request on my github PKGBUILD repo. thanks for your contribution

MattScherbatsky commented on 2016-05-01 18:32

Updated PKGBUILD for 6.0 ->

Xarin commented on 2015-11-10 15:25

Any chance this could be updated to 5.3?

bitfix commented on 2015-10-28 17:59

Updated PKGBUILD for 5.3 ->

robertfoster commented on 2015-04-20 18:40

all my PKGBUILD are managed on github.
Checkout for suggestions and forks

bitfix commented on 2015-01-31 08:59

Got checksum error on subsonic-5.1-standalone.tar.gz while building, new md5sum seems to be f5dd63e4d52a63de324010a3979e05c9

hrast commented on 2015-01-08 21:41

Can you update the PKGBUILD to not clobber an existing subsonic.conf?

billyburly commented on 2015-01-07 16:54

The change in subsonic home directory does not bring across the file. You need to manually copy it over `cp /var/subsonic/ /var/lib/subsonic`. Otherwise you will loose any settings (in my case, my license and LDAP setting).

twiggers commented on 2014-12-31 15:02

My new subsonic-beta package allows to run subsonic as its own user. I've also fixed the dependencies, as libcups doesn't appear to be needed (which would also be weird, why need a printing lib).

ejstacey commented on 2014-07-29 07:34

FYI, this works with both the armv6h and armv7h architectures, if you want to add them to the 'arch' array.

springer commented on 2014-03-11 19:53

I was not able to use the Subsonic jukebox mode (playing music through the servers audio interface) with only jre7-openjdk-headless installed. Installing jre7-openjdk and restarting the subsonic service fixed the problem.
Can anyone check if that behavior is reproducible?

I don't know if this is a bug in jre7-openjdk-headless, Subsonic, or my own configuration.

To check that audio from my headless is working I tried aplay. It worked.
possibly related:
Using jre7-openjdk pulseaudio is definitely not required.

If this is not the right place for this report please forgive me and point me in the right direction.

menollo commented on 2014-01-29 10:29

# Maintainer: M0Rf30 <>
# Contributors : hoban
# Contributors : Nrm

pkgdesc="A free, web-based media streamer and jukebox."
arch=('i686' 'x86_64')
depends=('jre7-openjdk-headless' 'libcups')

package() {
cd ${srcdir}
mkdir -p $pkgdir/var/subsonic
mkdir -p $pkgdir/usr/lib/systemd/system
cp * $pkgdir/var/subsonic
rm $pkgdir/var/subsonic/{subsonic.bat,${pkgname}-${pkgver}-standalone.tar.gz}
cp $srcdir/subsonic.service $pkgdir/usr/lib/systemd/system
chmod +x $pkgdir/var/subsonic/


justin8 commented on 2013-09-17 07:51

Came here to say that it should be depending on headless java. probably not on openjdk-headless 'java-runtime-headless' so that it will work for those crazies that use oracle jdk ;)

It's been 3 months since this was last mentioned. If no-one is currently maintaining it I can take over.

justin8 commented on 2013-09-17 07:50

Came here to say that it should be depending on headless java. probably not on openjdk-headless 'java-runtime-headless' so that it will work for those crazies that use oracle jdk ;)

tmoore commented on 2013-08-24 01:45

Is this still maintained? I use subsonic as well and already manage the plexmediaserver aur. I can watch this as well if you like.

Anonymous comment on 2013-06-01 04:08

Today I was migrating my Subsonic server to a fresh ArchLinux box and ran into problems with cover art thumbnails -- no thumbnails would display. After some troubleshooting, I determined that libcups is a dependency for Subsonic. Once I installed libcups everything worked fine and Subsonic stopped throwing errors.

Maybe this got missed in the dependencies list because it is a common package.

Alternately, I noticed that jre7-openjdk-headless could be used since Subsonic explicitly invokes java with the headless option. ArchLinux does link jre7-openjdk-headless to libcups.

Hopefully this saves someone all the time I spent figuring that out. :)

Nrm commented on 2012-10-30 16:55

I've made an update with systemd support here

yochaigal commented on 2012-10-29 14:49

Please update this package with systemd support! See for more info.

unhammer commented on 2012-10-15 11:16

kirjoitti, yeah you'd think there'd be a pacnew file … I believe you just have to backup your /var/subsonic/ before updating. At least the stuff stored in db stays intact.

dabbi2000 commented on 2012-09-23 13:19

Emm... this sounds stupid but how would you upgrade Subsonic so that setting files and database are not overwritten?!

Anonymous comment on 2012-09-14 18:02

Version 4.7 has been released. If anyone is interested, I've made a source package:

Snowflake commented on 2012-08-09 20:43

In your tutorial on how to run subsonic as a user.
Please note that chown jetty webapp directory to root won't work anymore since the war get decompiled there.
You want to keep:
chown -R subsonic:subsonic /var/subsonic/jetty/*/webapp
(or run nothing which would give the same result)
You can still allow all the files under to be own by root
chown -R root:root /var/subsonic/jetty/*/webapp/*
For improved security

robertfoster commented on 2012-05-14 15:44


jonandermb commented on 2012-05-13 21:18

Could anyone create a package for supersonic?
Its a free implementation of subsonic... no license needed.... :)

Anonymous comment on 2012-01-12 23:35

Thanks for packaging this one up. The wiki's instructions for running as non root are worth looking at. Maybe this could be incorporated into the package?

One thing you should include are symlinks in /var/subsonic/transcode to ffmpeg and lame.

unhammer commented on 2012-01-11 13:53

robotmachine, contains an alternative solution to the locale problem.

Anonymous comment on 2011-11-11 17:29

Just in case anyone is having the same problem, I finally posted in the Subsonic forums and got it solved.
The solution was very similar to what I had done, but I had not done it correctly.

Anonymous comment on 2011-10-15 23:41

I'm not sure if it was the last update or the one before, but sometime somewhat recently Subsonic refuses to index any accented characters (ó, ö, æ, á, ü etc). I have gone to the Subsonic forum and have made sure to set everything to export LOCALE=en_US.utf8 as suggested, but no change. Even having it rebuild the index didn't work. The files show fine in the terminal (The disk is XFS) and the files play fine in mplayer. Not sure if I'm missing something. I know that they used to be there and play fine.
Any ideas? Apologies if this should be posted elsewhere.

trishika commented on 2011-10-06 08:28

The packager don't have to choose the jre implementation unless there is incompatibility ... So the 'java-runtime' meta-package is here for that ! please change jre to java-runtime.

Anonymous comment on 2011-09-19 19:54

Why not make this depend on openjdk6 instead of jre? From subsonic installation's page one might assume (see the different linux installation instructions at that openjdk6 works fine. And openjdk6 is the recommended java implementation in Arch...

Anonymous comment on 2011-08-17 14:29

The new /var/subsonic/ has the JAVA_HOME variable set and so subsonic wasn't starting for me after the upgrade from 4.4 to 4.5. Well, more specifically, the new was JAVA_HOME variable pointed to /opt/java , but that wasn't correct for my system. I had to change it to /opt/java/jre to get the process to start.

trishika commented on 2011-08-12 05:48

can you change jre to java-runtime ?

Anonymous comment on 2011-08-11 14:10

PKGBUILD for 4.5-1

# Maintainer: M0Rf30 <>
pkgdesc="Subsonic is a free, web-based media streamer and jukebox."
arch=('i686' 'x86_64')

build() {
cd ${srcdir}
mkdir -p $pkgdir/var/subsonic
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/etc/rc.d
cp * $pkgdir/var/subsonic
rm $pkgdir/var/subsonic/{subsonic,subsonic.rc,subsonic.bat,${pkgname}-${pkgver}-standalone.tar.gz}
cp $srcdir/subsonic $pkgdir/usr/bin
cp $srcdir/subsonic.rc $pkgdir/etc/rc.d/subsonic

Anonymous comment on 2011-06-13 22:59

is there a way to get this to run as a non-root user?

Anonymous comment on 2011-05-28 01:01

Thanks for this, works fine.
It seemed content with ffmpeg, but I had to symlink lame.
ln -sf /usr/bin/lame /var/subsonic/transcode/lame

Worked great.

risk commented on 2011-05-24 19:16

also, it seems that lame and ffmpeg should be present in $SUBSONIC_HOME/transcode
maybe you could add those symlinks to the package ?

risk commented on 2011-05-24 18:35

missing deps, ffmpeg and lame.

Anonymous comment on 2011-05-08 11:58

Thanks Morfeo!
I tested with "openjdk6" instead of "jre" and works great.

hoban commented on 2011-03-21 23:33

I've just spent some time making some fixes that I'd appreciate it if you incorporated into your package.
Firstly, because you are using /usr/bin/subsonic (which you install) as your DAEMON, the DAEMON_ARGS, if used (which requires adding it to the start portion of your case statement) doesn't get used.
Additionally, running the script with a start argument multiple times would start multiple instances of subsonic.
Also, running the script with a stop argument has been fixed, and running it with a stop argument multiple times will now report FAIL if subsonic isn't killed because it wasn't running to begin with.
I propose using the following /etc/rc.d/subsonic which just makes a few tweaks to the work of Tad2much and yourself.
Please see the following:

hoban commented on 2011-01-19 18:51

In the new version the rc script is broken again as well. It tries to use a command (or function) called get_pid which doesn't exist.

Anonymous comment on 2011-01-18 23:47

hoban, try editing the rc script. Where it says cut -d " " -f 1, change it to:

ps ax |grep java |grep subsonic |cut -d " " -f 2

and it should work.

I have a slightly different one that I use, but you are welcome to throw it on your system and see if it works:

hoban commented on 2011-01-09 20:31

I appreciate your work on this, especially for creating an /etc/rc.d/ script. However the rc.d script isn't working right as shown here:
It doesn't seem to know how to detect whether subsonic is running and isn't able to stop it when it is running.
Thanks for looking into this.

hoban commented on 2011-01-08 04:01

also, please update subsonic.install to reflect the fact that is in /var, not /opt

hoban commented on 2011-01-08 03:56

4.3 is out. It enables video support. :) Thanks!

hoban commented on 2010-12-30 17:43

You've done a great job packaging this.

hoban commented on 2010-12-29 04:44

As stated before, this works just fine with jre, can you make it require either jre *or* java-runtime?

hoban commented on 2010-12-29 04:34

great, thanks Morfeo!

robertfoster commented on 2010-12-27 11:18


hoban commented on 2010-12-27 03:30

Thanks for packaging this up!
Anyone got a /etc/rc.d/ script for this?

beat commented on 2010-10-28 23:33

I also had to alter the in order for it to work, I added the -f option, like this:

cd $(dirname $0)
if [ -e /bin/readlink ] || [ -e /usr/bin/readlink ]; then
cd $(dirname $(readlink -f $0))

This is most likely an upstream problem though.

beat commented on 2010-10-28 22:51

The dependency should be on jre and not on java-environment as that package does not exist.

robertfoster commented on 2010-09-26 13:35

there is a bug in this version regarding the jar archive.It seems to be unaccessible

Ashex commented on 2010-09-15 13:56

4.1 has been released.

Anonymous comment on 2010-07-13 08:26

Check if java is in your path:
%> which java

If not, you could add the following to the (just prior to the line "# Use JAVA_HOME if set...")


(assuming you have jre installed).

Also make sure that the directory pointed out by SUBSONIC_HOME exists and is writable.

Anonymous comment on 2010-04-21 18:46

yes. when I installed subsonic it prompted me to replace openjdk6 with jre and I did.

robertfoster commented on 2010-04-21 17:53

Are you sure you have installer the jre package?

Anonymous comment on 2010-04-20 04:35

I get this "/var/subsonic/subsonic_sh.log: No such file or directory" when I tried to run subsonic the first time. Then I edited /opt/subsonic/ and changed some things. Still couldn't get it to run. Tried running it with sudo and it appeared started, but I get a page cannot be found when I try to go to my computer's ip:port specified in I look in my running processes and it's not there so it apparently crashes as soon as it starts.

I check out subsonic_sh.log and it says "/opt/subsonic/ line 98: java: command not found" Line 98 is...


Anybody know what the issue is? I don't know anything about java.

robertfoster commented on 2010-04-03 11:34