Feed Rss


How do I get ssh or telnet access to my DiskStation?

See this side at the Synology wiki.

I get the following error when I want to connect to subsonic:


Powered by jetty://

I don’t know when it happens and why. It is a Subsonic problem, that happens, when Subsonic was shut down at the wrong time. I have been reading a lot in the subsonic Forum, but it seems nobody has a clue when this error occurs.  If you have solved it, please let me know. Until then: First try to restart Subsonic (yeah I know you have done that already) Or reboot the DiskStation  (yeah I know you have done that already, too.) The easiest way to solve this is to remove the package and install it again. With this method you will loose all your settings. If you have access to your Diskstation via ssh you can try this:

  • stop Subsonic
  • go to /volumeX/@appstore/Subsonic/ (X is the number of the volume Subsonic is installed to)
  • cd /volumeX/@appstore/Subsonic
  • rename the db folder
  • mv db dbold
  • start Subsonic in DSM (it should work now, but without your settings)
  • wait until you can access the web GUI on http://your-DS-ip:4040
  • stop Subsonic
  • copy the file:
  • cp ./dbold/ ./db
  • start and see if it works again
  • if it does, be happy and delete the dbold folder
  • rm -r dbold
  • if it still doesn’t work you will have to delete the database
  • rm -r db
    rm -r dbold 
  • if it still doesn’t work, reinstall Subsonic
  • if it still doesn’t work, reboot again
  • if this still doesn’t work: start crying!

When I try to install a package it just says „Processing. Please wait…“

Yesterday I had this error while working on the new ownCloud package. The installation from a packge source was working well but I couldn’t install anything manually. In my case the error was caused by my Opera adblock plugin. So I switched to IE and everything was working fine again. I read that the firefox adblock can cause this, too. So if you have problems like that turn your adblocker off or switch the browser. 😉 If you have any questions, feel free to ask.

Where are the installed files located on my Diskstation?

They are in: /volumeX/@appstore/Subsonic. VolumeX is the volume you selected during install.

I want to edit the file to change things like Port  or default music Folders. How do I do that?

1. Connect to your Diskstation via ssh or telnet. (explained above) 2. go to the Subsonic folder

cd /volumeX/@appstore/Subsonic

3. edit your subsonic sh using vi(or any other texteditor installed) or copy it to the public folder (use

 cp /volume1/public

) edit it in your OS and copy it back.

I am using the Synology Directory Server package. How does it work with Subsonic?

The LDAP option is located in Settings->Advanced

Lets say your FQDN is: mydomain.local

Then you have to fill in the following strings:

  • LDAP URL: ldap://localhost:389/dc=mydomain,dc=local
  • LDAP search filter: (uid={0})
  • LDAP manager DN: uid=root,cn=users,dc=mydomain,dc=local
  • Password: <guess what?>

Where can I find the log files to get support at any issues?

There are two log files:

  • The first one is the one for the Synology package, mainly for installing, and the start-stop-procedure. This one can be seen in the DS Package Center->Subsonic->More->Log
  • The other one is the one from Subsonic itself. It can be seen when you log in to Subsonic and click the Subsonic icon in the upper left corner. In MashupMod there is an own Log icon in the top row.

If you can’t access the logfiles for any reason: They are both located in /volumeX/@appstore/Subsonic and called subsonic.log and subsonic_package.log

I want to view / modify the package before installing. How?

There might be some cases in which it is easier to edit the files before installing the package. It is quite simple.

  • Download the .spk and untar it (in Widows rename the file type from .spk to .tar)
  • Now you see everything that is Synology DSM relevant.
  • Located Inside the package.tgz is the actual program.
  • Tar the package again with „tar cvf packagefilename.spk“ in Windows you can use Tar for Windows. The .spk has to be uncompressed. The package.tgz can be compressed (use tar czvf package.tgz).

Where can I download the .spk files separately?

All packages and addons are placed in my public Dropbox folder:

27 Responses to FAQs

  1. 2012-05-04 at 21:06 mattes

    I had se same issue when I killed the process over SSH and tried to restart it. Viewing the logs showed, that subsonic could not obtain a lock on the data base. Removing the subsonic.lck file inside the „db“ folder of Subsonic (/volume1/@appstore/Subsonic/db/subsonic.lck) solved it and I was able to start the server again.

    Hope that helps anyone encountering this error.


    • Thanks for the comment.
      I will not force Subsonic to crash, because it runs fine now, but if it crashes again I will try your method.

  2. Hello,
    have you tried to install MusicCabinet on your Subsonic ?

  3. any chance you will ? 🙂

    • Maybe, But there are a few other projects I have to finish first, also I have to prepare for exams in February, as always my time is limited =(

  4. Thanks so much for your package – love it. If you have a PayPal donation I will be happy to contribute. However, I need to disable the https (SSL) encryption, as its a bit annoying for my friends using the service. Is there a way to do this? I tried editing the file, setting https-port to 0, as indicated by users in the Subsonic forum. This did not work. How can I set port 4040 to be the default port for Subsonic?

    • But thats the only way to do it:
      go to /volumeX/@appstore/Subsonic and edit the set the https port to 0 and restart subsonic. Https should now be disabled. The DSM link always points at 4040 so it should work this way…

      • Setting the https port to 0 in and restarting the application did not work for me neither. Any ideas?

        • 2014-07-14 at 13:32 Kento Petersen

          It dosnt set the subsonic to port 4040 when you select subsonic in the dsm manager it select port 4041 when will you give us the port 4040 version in your dropbox??

  5. After restart of the NAS ( DS713+ ) subsonic does not start automatically. When I start it manually i receive an error „can’t start packagge service“ but it does run, till i reboot the NAS it’s gone again ????.

  6. The command :

    su – subsonic -s /bin/sh -c /usr/syno/synoman/webman/3rdparty/Subsonic/

    is not executed when the NAS restart. Where can i put this line ?

    • I know about this its a x86 DS problem.
      It will be fixed with the next package which will be out during the next weekend.

  7. Hi I couldn’t install the subsonic for synology package using your instructions here. I get „Failed to install the package. Error:Cannot Start Subsonic during install“. This happens irrespective of whether the box „Run after Installation“ is ticked or not.

    I found out that I could manually install the subsonic package (file from your dropbox Subsonic4.8-033.spk). Now the package center gives me the option to Run or Uninstall – if I choose Run, it pops up the error message: „Failed to run the package service“. What am I doing wrong?

  8. 2013-05-31 at 11:37 fabrice dlc

    to kc:
    had the same problem with the installation
    “Failed to install the package. Error:Cannot Start Subsonic during install”
    it was everything installed but somehow to user that was created during the install proccess was unknown to syndb.
    tried to start it with:
    su – subsonic -s /bin/sh -c /usr/syno/synoman/webman/3rdparty/Subsonic/ gave me the error „user unknown“
    so startet it once with root rights:
    su – root -s /bin/sh -c /usr/syno/synoman/webman/3rdparty/Subsonic/
    and now all is working fine.

    • Hi – thanks for your post. I ran the command you suggested in putty, with the following response:

      Started Subsonic [PID 810, /usr/syno/synoman/webman/3rdparty/Subsonic/subsonic_sh.log]

      …but subsonic won’t launch from DSM start menu or by ipaddress:4040 – what else did you do to get it working?

      Also does starting as root user survive a reboot?

    • I should add: the manual installation did in fact create user subsonic and
      su – subsonic -s /bin/sh -c /usr/syno/synoman/webman/3rdparty/Subsonic/ did start the subsonic but still the package centre shows status:stopped and selecting „run“ still shows: “Failed to install the package. Error:Cannot Start Subsonic during install”.

      Any suggestions greatly appreciated

      • 2013-06-14 at 14:59 fabrice dlc

        so,as the installation is done now, just try once to kill all related proccess to subsonic. which means stop subsonic with kill pid xxx and a killall java, or just reboot your dsm, after this you should be able to start subsonic from the package manager. starting subsonic with root rights was just to correct a issue,which i was still not able to figure out.

        • Fabrice, thanks for your reply, but I’m still struggling. My synology (412+)won’t let me ps so I can’t see which processes to kill. Reboot makes no difference. I can start the subsonic process but cannot launch the Subsonic browser pages.

  9. Hello there! This blog post couldn’t be written much better!
    Looking at this post reminds me of my previous roommate!
    He always kept preaching about this. I will forward this information to him.

    Pretty sure he’ll have a great read. I appreciate you for sharing!

  10. 2013-10-27 at 12:55 Jeroen

    I cant install Subsonic on the DS413+ when i come to the question Restore Backup Yes or No what ever i choose there it always fails install.
    The error is „Can’t find i folder named ‚Subsonic‘ in your public folder. Please ….“ etc its says i need to select no and i did just that but what ever i try i get the same error. I even downloaded a version before the latest and even there i get the error.

  11. 2013-11-09 at 19:17 kento petersen

    ok got the http up and running, and can test connection on mobil phone but get a network error when i try to se the albums or anything else for that matter. anybody got a clue how to fix this??

  12. Hi Thank you for putting the Subsonic Package together. I have it installed and running with no issues, however, I’m struggling to get transcoding to work. I followed your workaround.
    1. installed sevillio package
    2. ln -s sevillio package ffmpeg to Subsonic/transcode path.

    Problem is when I link the files Subsonic won’t play music from any player..I tested the ln by typing ./ffmpeg on the command line in the linked directory and it lists the commands and help like it should.

    Any suggestions would be greatly appreciated.

    Btw, I’m running the latest build of DSM 5.0 on a Synology DS412+


  13. One more quick thing: I’m running the latest Java version 8. Not sure if that would make a difference..

  14. Hi,

    A great job.
    As Joerund if you have a paypal account for donation it would be a pleasure to help the project as I help the subsonic project to.

    However I have a problem with the scan of my lybrary.
    I’ve configured Subsonic without any problem yesterday but I don’t find any media in my lybrary.

    I’ve clicked several time on „Scan media folders now“ yesterday about 11:00 pm but this morning I don’t see anything in my media list.

    Tried to stop the service reboot the syno and start the service again.

    How can I check that the scan is running well ?


  15. After a look at the logs I’ve seen that there were a permission problem on /volume1/music and /volume1/mp3

    I gave owner permissions (children included) for the subsonic user on the two directories but the log file seems to say that there is no media to scan :/
    [2014-07-08 10:59:28,674] INFO MediaScannerService – Starting to scan media library.
    [2014-07-08 10:59:28,749] INFO MediaScannerService – Scanned media library with 2 entries.
    [2014-07-08 10:59:28,749] INFO MediaScannerService – Marking non-present files.
    [2014-07-08 10:59:28,756] INFO MediaScannerService – Marking non-present artists.
    [2014-07-08 10:59:28,762] INFO MediaScannerService – Marking non-present albums.
    [2014-07-08 10:59:28,770] INFO MediaScannerService – Completed media library scan.
    [2014-07-08 10:59:28,857] INFO PlaylistService – Starting playlist import.
    [2014-07-08 10:59:28,857] INFO PlaylistService – Completed playlist import.
    [2014-07-08 10:59:28,858] INFO PlaylistService – Starting playlist statistics update.
    [2014-07-08 10:59:28,861] INFO PlaylistService – Completed playlist statistics update.
    [2014-07-08 11:00:55,033] INFO PodcastService – Starting scheduled Podcast refresh.
    [2014-07-08 11:00:55,035] INFO PodcastService – Completed scheduled Podcast refresh.

  16. 2014-11-16 at 12:14 enrico

    no Marvell Armada cpu support?
    thank you in advance


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.