Package Details: subsonic 6.1.6-1

Git Clone URL: (read-only, click to copy)
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: 68
Popularity: 0.000000
First Submitted: 2010-03-26 16:48 (UTC)
Last Updated: 2019-11-18 21:11 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

haldean commented on 2018-11-28 23:43 (UTC)

@mikedal looks like it doesn't work with JDKs since 8. If you're down to keep a JDK8 install around, you can hard-code which java binary to use in /etc/subsonic.conf by setting JAVA_HOME at the top of the script to /usr/lib/jvm/java-8-openjdk or what have you.

It might be worth changing the package to depend on java-runtime-headless <= 8

mikedal commented on 2017-10-03 16:35 (UTC)

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 (UTC)

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 (UTC)

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

MattScherbatsky commented on 2016-05-01 18:32 (UTC)

Updated PKGBUILD for 6.0 ->

Xarin commented on 2015-11-10 15:25 (UTC)

Any chance this could be updated to 5.3?

bitfix commented on 2015-10-28 17:59 (UTC)

Updated PKGBUILD for 5.3 ->

robertfoster commented on 2015-04-20 18:40 (UTC)

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

bitfix commented on 2015-01-31 08:59 (UTC)

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 (UTC)

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

billyburly commented on 2015-01-07 16:54 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

# Maintainer: M0Rf30 <> # Contributors : hoban # Contributors : Nrm pkgname=subsonic pkgver=4.9 pkgrel=1 pkgdesc="A free, web-based media streamer and jukebox." arch=('i686' 'x86_64') url="" license=('GPL') depends=('jre7-openjdk-headless' 'libcups') conflicts=('subsonic-beta') source=(${pkgname}-${pkgver}-standalone.tar.gz 'subsonic.service') backup=('var/subsonic/db') install=$pkgname.install 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/ } md5sums=('1932fa2d1915498547675f24586acf8d' '0d321009898118fa9390631fd21c5e63')

justin8 commented on 2013-09-17 07:51 (UTC)

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.

tmoore commented on 2013-08-24 01:45 (UTC)

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

commented on 2013-06-01 04:08 (UTC)

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 (UTC)

I've made an update with systemd support here

yochaigal commented on 2012-10-29 14:49 (UTC)

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

unhammer commented on 2012-10-15 11:16 (UTC)

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 (UTC)

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

commented on 2012-09-14 18:02 (UTC)

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

Snowflake commented on 2012-08-09 20:43 (UTC)

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 (UTC)


jonandermb commented on 2012-05-13 21:18 (UTC)

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

commented on 2012-01-12 23:35 (UTC)

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 (UTC)

robotmachine, contains an alternative solution to the locale problem.

commented on 2011-11-11 17:29 (UTC)

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.

commented on 2011-10-15 23:41 (UTC)

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 (UTC)

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.

commented on 2011-09-19 19:54 (UTC)

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...

commented on 2011-08-17 14:29 (UTC)

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 (UTC)

can you change jre to java-runtime ?

commented on 2011-08-11 14:10 (UTC)

PKGBUILD for 4.5-1 # Maintainer: M0Rf30 <> pkgname=subsonic pkgver=4.5 pkgrel=1 pkgdesc="Subsonic is a free, web-based media streamer and jukebox." arch=('i686' 'x86_64') url="" license=('GPL') depends=('jre') conflicts=('subsonic-beta') source=(${pkgname}-${pkgver}-standalone.tar.gz 'subsonic' 'subsonic.rc') backup=('var/subsonic/') md5sums=('14335df737219ffb39ba00ee562c92f3' '43b8000cf7d5beb83bb9d0ca37535b0f' 'fe298af83a38e4e3a794f3be18ca6af6') install=$pkgname.install 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 }

commented on 2011-06-13 22:59 (UTC)

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

commented on 2011-05-28 01:01 (UTC)

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 (UTC)

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 (UTC)

missing deps, ffmpeg and lame.

commented on 2011-05-08 11:58 (UTC)

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

hoban commented on 2011-03-21 23:33 (UTC)

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 (UTC)

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.

commented on 2011-01-18 23:47 (UTC)

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 (UTC)

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 (UTC)

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

hoban commented on 2011-01-08 03:56 (UTC)

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

hoban commented on 2010-12-30 17:43 (UTC)

Thanks! You've done a great job packaging this.

hoban commented on 2010-12-29 04:44 (UTC)

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 (UTC)

great, thanks Morfeo!

robertfoster commented on 2010-12-27 11:18 (UTC)


hoban commented on 2010-12-27 03:30 (UTC)

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

beat commented on 2010-10-28 23:33 (UTC)

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)) fi This is most likely an upstream problem though.

beat commented on 2010-10-28 22:51 (UTC)

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

Ashex commented on 2010-09-15 13:56 (UTC)

4.1 has been released.

commented on 2010-07-13 08:26 (UTC)

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...") JAVA_HOME=/opt/java/jre (assuming you have jre installed). Also make sure that the directory pointed out by SUBSONIC_HOME exists and is writable.

commented on 2010-04-21 18:46 (UTC)

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

robertfoster commented on 2010-04-21 17:53 (UTC)

Are you sure you have installer the jre package?

commented on 2010-04-20 04:35 (UTC)

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... ${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \ Anybody know what the issue is? I don't know anything about java.

robertfoster commented on 2010-04-03 11:34 (UTC)