Feed Rss

Subsonic 4.7-031, Madsonic and DSM 4.2

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

As many of you are struggling with my „new scripted“ versions 029 and 030 I rolled back to the 028, which means:

  • no downloading during install is required
  • because of that the .spk file contains everything that is needed to run Subsonic on all three plattforms (x86, ARM and PPC)

Another point is the separation of Subsonic and Madsonic (aka MashupMod) which means that from now on there are two independent packages. You can only install one at a time. I had to do this because a package that contains both would just be to large. Also I can now update the Madsonic package without touching the original one.

Also I have removed the Subtunes interface because I didn’t like it and it doesn’t seem to be continued anymore.

In DSM 4.2 „Perl“ becomes an official Synology package. It was installed by default before, so I didn’t care about whether it’s installed or not. It is required during the installation process. Please make sure it is installed before you start the Subsonic installation.


By now both packages are available in my Dropbox beta Folder only:



Please let me know whats wrong with these ones, especially during install and startup (I haven’t worked on the transcoding problems)


I haven’t encountered any problems using DSM 4.2. In fact I like the new package center design. I’ve added a few screen shots to the information section of Subsonic and ownCloud.

22 Responses to Subsonic 4.7-031, Madsonic and DSM 4.2

  1. Dunno if you read my last comment for the subsonic 4.7-30. Script still isn’t working. This two lines wont work. No user will be created. If you want this script working, you have to manually add the user ’subsonic‘.

    #create subsonic daemon user
    synouser --add subsonic `${SYNOPKG_PKGDEST}/passgen 1 20` "Subsonic daemon user" 0 "" ""

    • it must be a problem with passgen, beacuse adding a user is tested during the preinst script above but without the executiom of passgen, which is a simple perl script

      you can test it by navigating to /volumeX/@appstore/Subsonic (or Madsonic) then type ./passgen 1 20
      output should be like this:

      Diskstation> ./passgen 1 20
      perl: warning: Setting locale failed.
      perl: warning: Please check that your locale settings:
              LANGUAGE = (unset),
              LC_ALL = (unset),
              LANG = "en_US.utf8"
          are supported and installed on your system.
      perl: warning: Falling back to the standard locale ("C").

      the last line should be one random password with 20 characters…

      the rest of my adduser line is a synology internal instruction

  2. Ouch
    just found out that perl isn’t installed by default at DSM 4.2, it is now an official Synology package. The script should work with the perl package installed.

  3. After 4.2 update and issue with 4.7-030, I lost some configuration.
    I have been able to make everything working (Subsonic from v. 4.7-031 and the button trick to start and stop correctly).

    For me, Perl as been installed by default (Syno DS1511+).

    A shame the „Restart“ is not an available option :o)

    My issue is now related to international characters.
    I can get through.

    Locale is installed and defined (localedef -c -f UTF-8 -i en_US en_US.UTF-8), the correctly modified but stil not possible to see any international character in Subsonic !

    I do have a lot of French songs so I’m missing tons of musics.

    Connecting with Putty is just fine and I can see the songs correctly (with accent) so I suppose the issue is either related to the Subsonic configuration or JAVA.

    If anyone have some hints for me, I will appreciate !

    Thanks in advance.

    PS Eric, you should remove 4.7-030 since it’s corrupted to avoid issues.
    And… THANKS for your work (even if the Subsonic updates are painful, not like the Owncloud :o)

    • Looks like removing the share and rebuilding the full DB is needed !
      I tried moving some files on a temp folder to check and they are displayed correctly.


  4. 2013-04-03 at 23:37 aktarus legran

    Everything is working well now.. MERCI BEAUCOUP
    Just a little question about Madsonic mod..
    Is it possible tu update it manually to get the 4.8.3360 Beta3 build ??
    Can I just replace the .war file ??

    Thank you 🙂

    • I am in touch with Madevil, the developer of Madsonic, I will update the Madsonic package as soon as he got his new Github repo online and a new build with a lot of fixes is out…
      I don’t recommend to update manually, because Subsonic/Madsonic is a java application and many things have to be edited to fit a new version…(compared to ownCloud which is just a bunch of websites…)

  5. Hi Eric,

    I can’t install Masonic or Subsonic packages, I get always the message „Error: Can not start subsonic during install“.

    And when I try to run the command ./passgen 1 20, I get a seg fault :
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    Segmentation fault (core dumped)

    I have tried to uninstall/re-install perl but same result.

    Have you an idea to resolve this problem ?

  6. I could not install the Subsonic4.7-031.spk package. I decidede to upgrade to the latest DSM version. I the installed Java again, and tried to upgrade from 029 to 031. It installed fine, but when I tried to start the package it gave me a „failed to run package service“ error message. I dont really know much more on how to do more error searching. I uninstalled the entire Subsonic installation and decided to try the Madsonic installation, Madsonic4.7-B3158SE-001.spk, which worked fine, started and everything. Found out Madsonic is not for me, uninstalled and reinstalled 029 which seems to work fine. So – no dice for me on 031. Perl is installed and everything should be as it is. This is on a DS212 NAS.

  7. FFMPEG for Intel (1511+ – Intel Atom D525 Dualcore (2C/4T) 1.8GHz x86 Processor)

    Hi everybody,
    do anyone has been able to setup ffmpeg correctly in order to transcode any video and music correctly to browser and iPhone/iPad ?

    I do use an old ffmpeg working perfectly for music but without video.
    The only version I found able to transcode video tale more than 1 minute to start transconding music or video. Too long…

    I tried to use the latest Serviio ffmpeg including DLL without success (never worked).
    I opened a thread on both Serviio and Subsonic forums without any reply yet.

    Do anyone can help me ?


    • for transcoding issues see here

      you don’t actually need to follow the instructions, just be aware that the problem is the version of ffmpeg included with Subsonic.

      On my server …
      find / -name ffmpeg


      Using the process from the reference above, rename Subsonic version of ffmpeg
      mv /volume1/@appstore/Subsonic/transcode/ffmpeg /volume1/@appstore/Subsonic/transcode/ffmpeg.bak
      Link Synology supplied version of ffmpeg to Subsonic directory
      ln -s /usr/syno/bin/ffmpeg /volume1/@appstore/Subsonic/transcode/ffmpeg

      now transcoding should work (does for me!)

        • ffmpeg version with Madsonic is functionning for me but videos are buffering evry 10 seconde.

          So I’ve tried to view formats supported by the ffmpeg version of Madsonic and I see this :
          libavutil 50. 40. 1 / 50. 40. 1
          libavcodec 52.120. 0 / 52.120. 0
          libavformat 52.108. 0 / 52.108. 0
          libavdevice 52. 4. 0 / 52. 4. 0
          libavfilter 1. 77. 0 / 1. 77. 0
          libswscale 0. 14. 0 / 0. 14. 0

          This seems to be old ones cause libraries in /volume1/@appstore/Madsonic/lib are :
          libavutil 51
          libavcodec 54
          libavformat 54
          libavdevice 54
          libavfilter 3
          libswscale 2
          and there is tow new libraries : librtmp and libswresample

          So, like the default ffmpeg of the syno (in /usr/syno/bin), ffmpeg version of Madsonic (and probably subsonic) use libraries in /usr/lib (old ones)

          Please Eric, can you provide ffmpeg version compiled with the latest libraries and upload the package to your dropbox ?

          Thanks by advance.

  8. Hello,
    First, sorry for my English, i’m french.
    It seem I’ve a problem with minisub.
    I can’t install subsonic 4.7, the log report me
    „install subsonic“ ok
    „start subsonic“ ok
    „stop subsonic“
    „install mini sub“
    „start subsonic“ fail, subsonic don’t start.

    so I’ve installed subsonic 4.6 and It’s ok, but it seem that mini sub don’t run, I can access to „myserver:4040/html5“ but there is no music…

    I don’t know if I make a good explanation, so thank you to read me.


  9. 2013-04-19 at 08:46 Anthr4X

    DS712+ w/ DSM 4.2-3211

    When I try to install the package (no update) from the Package Center, with all features enabled, I’m getting the following error in a dialog after pressing on „Apply“:

    „Failed to install the package.

    SHA256 checksum failed for The file was probaply modified or updated.“

    When I disable all the optional features, I’m still getting the following error:

    „Failed to install the package.

    SHA256 checksum failed for Subsonic.tgz. The file was probaply modified or updated.“

    • 2013-04-19 at 08:55 Anthr4X

      Hm, just now noticed it shows version 4.7-030 in the Package Center and not 4.7-031. My bad. Will try the manual install the SPK files instead.

  10. 2013-04-20 at 02:36 Seth Feinberg

    Just tried to install 4.7-031. Seemed to install ok, but I can’t run the package. DS1812+ DSM 4.1-2661. Am going to try to update the DSM now…

  11. Sorry but, I installed the v031 and it don’t work on my 212+ (DSM4.2)… I return to 029 again ;(

  12. The 029 don’t work in my Syno after the last DSM4.2 and java update… Now I use the 028 ;…(

  13. Pingback: Installing Subsonic on a DS-412+ ← A digital life

  14. Way cool! Some extremely valid points! I appreciate you penning this article and also the rest
    of the site is also really good.


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.