Subsonic Package for Synology NAS

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic Package for Synology NAS

Postby gigon » Sun Jun 24, 2012 4:11 pm

The Synology package is now up to date.
I have impemented MadEvils MashupMod and fixed many bugs, but don't forget: It is still beta!
More infos at http://eg-blog.de
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby randy21m » Tue Jul 17, 2012 1:39 am

Gigon,

Thank you very much for the package, just got a DS1512+ and have been running subsonic for a couple of years now. Love the fact I can run this off my Syno now! Quick question, in the regular Windows install for SS, I have the option to change the location for Playlists. I don't see this option in your version, and instead, see an option on the left for Playlists, which include Importing and Create a New Playlist. I use MediaMonkey on my main PC, and often export my playlists to a common directory to utilize with SS when out and about. Is there plans to put the functionality of changing the default location for playlists back in? I've attempted to use the Import Playlist option, but everytime I try, I get a "Failed to Import Playlist. No songs in the playlist were found". I can open these playlists in my other version of SS I have still up and running, as well as any Windows media player. Is there something I need to do to get your version to recognize my playlists? As well, is there a way to export the playlists at this time so I can use them in other media players? Thanks again for all of your hard work on this!!
randy21m
 
Posts: 6
Joined: Thu Aug 05, 2010 4:29 pm

Re: Subsonic Package for Synology NAS

Postby gigon » Tue Jul 24, 2012 2:56 pm

hi randy

by default the playlist folder is set to /volume1/music/playlist
So you can copy your playlist to this folder (create it, if it doesn't exist), or change the path.

The only way I know to change it at the "all platform version" I am using, is to edit the subsonic.sh file.
If you are familiar with ssh and linux shell: the file is located in /volumeX/@appstore/Subsonic/Subsonic/ (X is the volume number you installed Subsonic to), just change the "SUBSONIC_DEFAULT_PLAYLIST_FOLDER" tag.

If you are not familiar:
You have to connect to your DS via ssh (for example with a little program called putty)
Start putty, type in the IP of your DS, set the connection type to ssh an click connect
enter user: root / password: <same as admin>
type
cd /volume1/@appstore/Subsonic/Subsonic (change the number to the volume you installed Subsonic to)
now you can either copy the subsonic.sh file to a shared folder (cp subsonic.sh /volumeX/shared folder), edit it in windows and copy it back
or edit it directly in the shell:
type vi subsonic.sh (I don't like vi, but this is the only editor that is installed by default, if you have bootstrapped your DS you can install nano which is much easier to work with)
type a <enter>
navigate to the line that starts with SUBSONIC_DEFAULT_PLAYLIST_FOLDER
now you can edit the path to your playlist folder
after editing press <Esc> and type :wq (to save (w) and exit (q) the editor)
you should be back to the shell now
type exit
putty (or whatever ssh program you are using) closes
the new playlist folder will be mounted after restarting subsonic.
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby Aktarus » Mon Aug 06, 2012 2:23 pm

Hello everyone

I was using subsonic since a while in my computer and enjoy this software.
now, I want to install it in my new DS212j synology san !!!
The installation of the java and synology package semms to be ok, but since i installes subsonic, my CPU is running very high (100%)
and the subsonic interface is not available (myip:4040) ...
Is it because subsonic scan my music ??
How long it will take before become available (50 000 song library) ??

Can someone can help me ???
... and sorry for my poor english !!!!

Merci :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby gigon » Mon Aug 06, 2012 6:00 pm

hi Aktarus
what error message do you get? (http error 404/403....)

After starting Subsonic it might take a while (at least one minute, up to 5 minutes, depending on your system) before the Interface is available. (100% CPU load is normal during this time)
maybe you can try https://yourip:4041
The interface should be available during scanning.


P.S. I am working on a 4.7 beta 3 version...
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby Aktarus » Mon Aug 06, 2012 6:18 pm

Hello,

thank you to help me !!
i think i really have a problem... my cpu is 100% since 2 hour and the interface is still unavailable ...
With my internal ip ... 4040 and 4041 port are not working !!! i think is a 404 error ... timeout request... page not found !!!

Really strange !! I tried to remove and re-download the package ... reboot san ... without any success. If I stop subsonic ... my cpu goes normally and no more java process in the processus tab !!!

What can I do ... I really like subsonic and I want to use it if it's possible :)

MERCI
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby gigon » Mon Aug 06, 2012 7:01 pm

please wait for the new beta 3, it might be a java incompatibly problem, which is fixed in 4.7 beta 3
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby Aktarus » Tue Aug 07, 2012 10:35 am

Just another question :
It say in installation procedure : "“User Home” activated in DSM (Control Panel->User->User Home)"
But I dont' have any user with this name in my DSM4.1 ... just Admin and guest user are in the system.
Subsonic installation create a Subsonic user and the software is installed in /volume1/@appsotre/subsonic/subsonic

Do I have to create a User Home in my dsm4.1 or it's not this that cause my problem ??
Java 7 is ok or java 6 could be better ??

Maybe I will wait for new release ... hope my bug will be fixed !!

Merci
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby Aktarus » Tue Aug 07, 2012 5:36 pm

Hello,

Here some new about my trouble,

I let my computer scan enough time to complete databas scan
i restarted the san
Subsonic is still unavailable with http://ip:4040 ou https:ip:4041

I discover the log file and everything semms to work well, but still unavailable
Here is th end of log file:

1 - subsonic_sh.log

669965 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
670176 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public net.sourceforge.subsonic.ajax.UploadInfo net.sourceforge.subsonic.ajax.TransferService.getUploadInfo()] with attributes [[ROLE_UPLOAD]]
670177 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public java.lang.String net.sourceforge.subsonic.ajax.TagService.setTags(int,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)] with attributes [[ROLE_COVERART]]
670179 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
670471 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 642881 ms
671208 [main] INFO / - Initializing Spring FrameworkServlet 'subsonic'
671208 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization started
671213 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@121b804: display name [WebApplicationContext for namespace 'subsonic-servlet']; startup date [Tue Aug 07 12:21:14 GMT-05:00 2012]; parent: org.springframework.web.context.support.XmlWebApplicationContext@136dabd
671215 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/subsonic-servlet.xml]
671945 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@121b804]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1be4a2c
672542 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1be4a2c: defining beans [leftController,rightController,statusController,mainController,playlistController,importPlaylistController,topController,helpController,moreController,uploadController,lyricsController,allmusicController,podcastController,podcastReceiverController,podcastReceiverAdminController,setMusicFileInfoController,shareManagementController,setRatingController,randomPlaylistController,changeCoverArtController,nowPlayingController,starredController,searchController,settingsController,playerSettingsController,shareSettingsController,musicFolderSettingsController,networkSettingsController,transcodingSettingsController,internetRadioSettingsController,podcastSettingsController,generalSettingsController,advancedSettingsController,personalSettingsController,avatarUploadController,userSettingsController,passwordSettingsController,homeController,editTagsController,playQueueController,coverArtController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,videoPlayerController,externalPlayerController,downloadController,donateController,multiController,wapController,restController,dbController,donateValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,localeResolver,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1f97f92
[GC 56481K->35526K(84924K), 0.0589990 secs]
[GC 59206K->34897K(84924K), 0.0588880 secs]
[GC 58577K->35621K(84924K), 0.0469320 secs]
678778 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 7570 ms
679004 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
680514 [main] INFO org.mortbay.log - Started SslSocketConnector@0.0.0.0:4041
Subsonic running on: http://localhost:4040/
and: https://localhost:4041/
680929 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
681098 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
681352 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[192.168.2.186:9412](local),objID:[0:0:0, 0]]]]


2 - Subsonic.log

[2012-08-07 12:10:36,495] INFO DaoHelper - Checking database schema.
[2012-08-07 12:20:30,659] INFO DaoHelper - Done checking database schema.
[2012-08-07 12:21:06,553] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Wed Aug 08 03:00:00 GMT-05:00 2012
[2012-08-07 12:21:07,729] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Tue Aug 07 12:26:07 GMT-05:00 2012
[2012-08-07 12:21:14,142] WARN NetworkService - No UPnP router found.
[2012-08-07 12:26:07,737] INFO PodcastService - Starting scheduled Podcast refresh.
[2012-08-07 12:26:07,784] INFO PodcastService - Completed scheduled Podcast refresh.


Anybody have an idea of what's wrong with my installation ???

MERCI :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby gigon » Wed Aug 08, 2012 6:40 pm

Aktarus wrote:Just another question :
It say in installation procedure : "“User Home” activated in DSM (Control Panel->User->User Home)"
But I dont' have any user with this name in my DSM4.1 ... just Admin and guest user are in the system.
Subsonic installation create a Subsonic user and the software is installed in /volume1/@appsotre/subsonic/subsonic

Do I have to create a User Home in my dsm4.1 or it's not this that cause my problem ??
Java 7 is ok or java 6 could be better ??

Maybe I will wait for new release ... hope my bug will be fixed !!

Merci


user Home:
it is a service to provide private folders to every user (during installation a "subsonic" user is created, who runs the subsonic process)

your log looks fine, can't find an error...

the rest is correct,
for 4.7 beta 2 java 6 is the correct one. Now that beta 3 is out, I am working on a new package which will support java 7.
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby Aktarus » Wed Aug 08, 2012 7:33 pm

Hello,

I have tried also with java 6 yesterday .. no more success !!
Everything seem to be ok ... but always unable to connect on port 4040 or 4041 ... LAN or WAN !!
I checked my firewall open port = ok too

I'm out of idea about that !!!
it's a bit frustrating because I really like Subsonic !!!

I hope your Beta3 version will be ok for me !!!

MERCI :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby Aktarus » Sat Aug 18, 2012 4:01 pm

Hello !!

Good news for me ... My subsonic is working now on my Syno ds212j :D :D
I just updated Java7 with the august10 version and it's work !!!! Very Kool !!!

I have just another question about updates... Can I update my subsonic by download new .war file and copy to subsonic folder ?? Or I have to wait special Synology package to be release (beta 3 example)

Thank you -> Merci :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Subsonic Package for Synology NAS

Postby gigon » Sat Sep 22, 2012 9:33 am

I am currently working on a 4.7 package.
In case I don't encounter any big issues it will be released tomorrow.
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby gigon » Mon Sep 24, 2012 1:34 pm

4.7 is out and ready for your Disk Station.
MashupMod is also included.
See eg-blog.de for details
Subsonic Package for Synology DiskStations http://eg-blog.de
gigon
 
Posts: 46
Joined: Thu Dec 01, 2011 12:52 am

Re: Subsonic Package for Synology NAS

Postby dictatortot » Mon Sep 24, 2012 6:51 pm

gigon wrote:4.7 is out and ready for your Disk Station.
MashupMod is also included.
See eg-blog.de for details


Thanks for the hard work - I've been enjoying your packages for a while now.

However with this new one, I tried upgrading from your 4.7b1 package, as well as a fresh install (both restoring from backup, and completely fresh), and I get this error in my subsonic_package.log (and I unchecked "Run after installation"
Code: Select all
DiskStation> cat subsonic_package.log
092412114217: create subsonic daemon user
092412114217: set ownership of Subsonic folder tree
092412114217: download and install MashupMod
092412114346: extracted MashupMod
092412114347: copied Mashupmod and deleted downloaded files
092412114347: start Subsonic for first initialisation
092412114352: Error: Can not start Subsonic during install


and here is the subsonic_sh.log:
Code: Select all
DiskStation> cat subsonic_sh.log
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sourceforge/subsonic/booter/Main : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.sourceforge.subsonic.booter.Main. Program will exit.


I am running Java 6 (ejre-1_6_0_34-fcs-b04-linux-i586-headless-19_jul_2012.gz) from packages.pcloadletter.co.uk on my DS1812+ (DSM 4.1)
dictatortot
 
Posts: 4
Joined: Mon Sep 24, 2012 6:23 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 3 guests