Feed Rss

Subsonic 4.7-027 Synology package (x86 only)

09.27.2012, Allgemein, Download / Release Notes, Subsonic on Synology DS, by .

Thanks to MoBos hint I made a new package for those of you who aren’t able to install Java 7 and wanted to install Madevils MashupMod.

I also uploaded a new ARM version to the Dropbox folder, because the latest version of MashupMod is now included. But I will not update the repository for this little change.

For the Atom users: The update button in your Package center will appear soon. If it doesn’t work at the first start, wait two minutes, stop Subsonic, reboot and restart Subsonic again.


There are just changes at the MashupMod  version, If you aren’t using it, you don’t have to install this update!

30 Responses to Subsonic 4.7-027 Synology package (x86 only)

  1. Eric, THANKS SO MUCH for releasing this update but… I do have the „update“ button but no option about MashupMod displayed ;o(

    My JAVA version on my 1511+ is 1.6.0_34
    Do you think the problem is because an higher version is needed ?

    The post from MadEvil said ;
    This mod is default compiled with java SDK 1.7_07, if you can’t install it.
    I made a Build revert and compiled the lastest version with Java SDK 1.6_35,
    now this version should work with your Java 1.6/NAS installation -> Build 3130SE.

    Do you think I should ask for a 1.6_34 compile ?
    Or it is your install script who’s looking for an higher version ?


  2. Or maybe… I should make a FULL uninstall of Subsonic then a fresh Install ?

  3. Got it working now. Had to wait a bit for the web interface coming available but eventually it is working.
    Except for ffmpeg transcoding flac. running ffmpeg from a shell gives me the following error: ffmpeg: line 1: syntax error: unexpected word (expecting „)“)
    running the other executable lame gives me the same. doing an ln -s to /usr/syno/bin/ffmpeg solved it for now.
    this is on a DS412+

    • 2012-09-28 at 13:01 KillerWhale

      Could you elaborate on what you did ? I am getting the same error (also for videos). What is the source of your symbolic link?

    • I am sorry guys but I can’t really help you with this. I don’t really know about ffmpeg and don’t have a x86 Disk Station.

      If somebody fixed this please let me know how or send me the working files so I can implement them.

  4. Eric, look like ffmpeg is not correctly defined during the installation.
    So encoding to MP3 is not working anymore ;o(
    mibur fixed it with the „ln -s“ symlink but didn’t provide the full entry…

    Maybe you can fix the installation process or provide the fix ?


    • On on the postinstall process the following entry is defined :

      #create symbolic link to Serviio’s version of FFmpeg
      28 if [ -f /opt/bin/ffmpeg ]; then
      29 mv /opt/bin/ffmpeg /opt/bin/ffmpeg.bak.serviio
      30 ln -s ${SYNOPKG_PKGDEST}/bin/ffmpeg /opt/bin/ffmpeg
      31 else
      32 ln -s ${SYNOPKG_PKGDEST}/bin/ffmpeg /bin/ffmpeg
      33 fi
      35 #set up symlink for the DSM GUI
      36 if [ -d /usr/syno/synoman/webman/3rdparty ]; then
      37 ln -s ${SYNOPKG_PKGDEST}/DSM /usr/syno/synoman/webman/3rdparty/Serviio
      38 fi

      Maybe this can help ?

    • what this script does is:

      look if there is a ffmpeg binary „installed“
      if yes: rename it and create a symlink too the one in the serviio package
      if not: just create the symlink

      This is necessary because serviio searches for the binary in the /opt/bin directory and by default there is none.

      Subsonic instead searches in the Subsonic_Home directory which I defined in the script as /usr/syno/synoman/webman/3rdparty/Subsonic

      This directory is linked to the actual Subsonic folder in /volumeX/@appstore/Subsonic/Subsonic

      Subsonic expects the binary to be in the subfolder „transcode“

      And this is where I made the mistake.
      the only difference between the x86 and the ARM version are the ffmpeg and lame binaries (and the fact that it is labeled as x86 or ARM in the INFO file)

      By providing the last fix as fast as possible I copied the ffmpeg to the wrong directory.

      You can fix this by yourself (or wait for my next package update):

      delete the content of the transcode folder

      rm -r /volumeX/@appstore/Subsonic/Subsonic/transcode/*

      and copy the ffmpeg binary from the Subsonic folder into the subfolder.

      cd /volumeX/@appstore/Subsonic/Subsonic/
      mv ./ffmpeg ./transcode/ffmpeg

      (change the volumeX to the volume you installed Subsonic on)

      I will be more careful next time 😉

      • 2012-10-02 at 08:52 KillerWhale

        Thanks, that enabled transcoding, I now see the progress bar in streaming my FLAC files. They don’t play however… The player stays stuck at the beginning. And I still have „no video found or access denied“ for videos. But that may be unrelated to the package now. 🙂

      • Hello Eric,

        It’s working fine now !
        Thanks for this fix !

        PS I reverted to the „standard“ synology package because I gt to many issues with MashupMod.

  5. 2012-10-02 at 11:56 KillerWhale

    Now for another unrelated problem, I don’t know where to post it and I know it’s a regular SS problem but I can’t find an answer or a solution working on the Synology. None of my files having accents or special characters in their names (éàç) will play in SS. They show up as dirs with a ? in the name. What can I do? I would very much like to avoid renaming everything…

    • Hello KillerWhale…

      This is strange. Can you tell us your version of JAVA ?
      The latest 1.6_34 should have the UTF-8 support.

      Description :
      Java Runtime Environment including Linux locale support for UTF-8. The end user must register at and download the Java binary package separately since it may not be redistributed. This package does not need to start, installing it is sufficient

      I did a fresh reset of my Synology and just installed Java + Synology an got all of them correctly showed. I do have a lot of French singers with special caracter.

      Please let us know ;o)

      • 2012-10-11 at 14:33 KillerWhale

        Hey MoBo,
        Thanks for your answer. I tried just about everything I could think of: logged as root into the NAS to install the Locales packages, defined them in, to no avail. I am indeed using 1.6_34 and must admit that, after a whole day of fiddling, gave up on Subsonic, to much regret. I was using a DS412+ and DSM 4.0 at the time of my attemps. (I am now on DSM 4.1 and using DS Audio despite the lack of HTTPS support my phone.)

  6. 2012-10-11 at 20:36 Christer

    Hi I Love what you do for us but I cant install Subsonic 4.7 and restore my old settings. They are just not included after the install. I also get the strange error of cant start when it is not installed. This did not happen the first time when I upgraded from 4.6 beta. The reason I then reinstalled 4.7 was that the settings from 4.6 were not installed. After that I have tried many times to install 4.7 and restore my old settings but it just dont work and I keep geting the error at the end of the installation prosses now 🙁

    • As I said in the release notes: The libraries seem to be incompatible. You won’t be able to restore all of your old settings. If you want to keep the users see this post at the Subsonic Forum.

  7. 2012-10-15 at 17:26 Seth Feinberg

    Hey I’m having issues with doing a fresh install of this on my Synology. I’ve tried both the 4.7 standard version and the Mashup Mod and I get this error in my Log: ERROR MediaScannerService Failed to scan media library. Not immediately but after it loads about 100gb of my 250gb collection. After that anytime I click the Scan Media Folder now option, this error instantly appears in my Log. Here’s the extended log
    [2012-10-13 23:05:00,013] ERROR MediaScannerService - Failed to scan media library.
    org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [insert into media_file (id, path, folder, type, override, format, title, album, album_name, artist, album_artist, disc_number, track_number
    at org.springframework.jdbc.core.JdbcTemplate.execute(
    at org.springframework.jdbc.core.JdbcTemplate.update(
    at org.springframework.jdbc.core.JdbcTemplate.update(
    at org.springframework.jdbc.core.JdbcTemplate.update(
    at net.sourceforge.subsonic.dao.AbstractDao.update(
    at net.sourceforge.subsonic.dao.MediaFileDao.createOrUpdateMediaFile(
    at net.sourceforge.subsonic.service.MediaFileService.updateChildren(
    at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(
    at net.sourceforge.subsonic.service.MediaScannerService.scanFile(
    at net.sourceforge.subsonic.service.MediaScannerService.scanFile(
    at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(
    at net.sourceforge.subsonic.service.MediaScannerService.access$000(
    at net.sourceforge.subsonic.service.MediaScannerService$
    Caused by: java.sql.SQLException: S1000 General error java.lang.NullPointerException in statement [insert into media_file (id, path, folder, type, override, format, title, album, album_name, artist, album_artist, disc_number, track_n
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
    at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(
    at org.springframework.jdbc.core.JdbcTemplate.execute(
    ... 12 more

    I have an atom based x86 Synology NAS and I have 1.6.0_34 installed. I see that 1.6.0_35 is the latest ( but also see you guys talking about 1.6_34 in this comment thread. I don’t care about saving any settings, just want the media scan to fully complete. Any help would be greatly appreciated.

  8. 2012-10-15 at 17:27 Seth Feinberg

    Sorry I don’t know why my HTML tags didn’t work, wanted that paste to be scrollable.

  9. 2012-10-15 at 23:49 Seth Feinberg

    Sorry for the triple post. Just noticed that the required Java is 1.6.0_35 and the highest embedded to download from the Oracle website is 1.6.0_34. I’m guess that’s the issue and subsonic 4.7 is my best bet.

  10. Hello

    I have an issue with video transcoding not working at all (video not found)

    Is this a normal behavior ?


  11. @ Seth: certainly you are right
    @ stan: it is a know issue:

    @ rest: new package is in progress

  12. Thanks
    I have to use Madsonic Mashup-Mod Transcoding Packs ?
    To be honest I don’t understand what I have to do to make video transcoding works

  13. I want to thank you for making the Subsonic4.7-027-x86.spk only ( and this is not you’re work ) the MashupMod included ( when you accept it ) has some nasty bugs, many of them are removed in the 16-10-2012 update

    If you find the time it would be great if you can add this ( or next update ) in you’re package.

  14. I read this paragraph fully on the topic of the difference of latest and preceding technologies,
    it’s remarkable article.

  15. I’m really loving the theme/design of your blog. Do you ever run into any internet browser compatibility
    issues? A few of my blog visitors have complained about my site not operating correctly in
    Explorer but looks great in Chrome. Do you have any advice to help fix this problem?


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.