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:
HTTP ERROR: 503 SERVICE_UNAVAILABLE RequestURI=/ 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 subsonic.data file:
-
cp ./dbold/subsonic.data ./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 subsonic.sh 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 subsonic.sh /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:
https://www.dropbox.com/sh/pylh8ilr0fi80ub/eiK0e_06fK
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.
Cheers,
mattes
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.
Hello,
have you tried to install MusicCabinet on your Subsonic ?
http://dilerium.se/musiccabinet
Nope
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 =(
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 subsonic.sh 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 subsonic.sh 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 subsonic.sh and restarting the application did not work for me neither. Any ideas?
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 ????.
The command :
su – subsonic -s /bin/sh -c /usr/syno/synoman/webman/3rdparty/Subsonic/subsonic.sh
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.