Page 1 of 5

Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 04 Apr 2016, 23:57
by Madsonic
Image

Madsonic 6.x Synology-NAS PLugin

http://www.synology.com/


DSM 6.0 only!

This package needs this requirements installed:
  • Perl
  • Java Manager
Installation
  • 01. install Synology
    02. update Synology
    03. create Volume
    04. create shared folder: Public
    05. activate user home service
    06. add read/write access to share/volume
    07. install Perl module
    08. install JavaManager module
    09. download java jdk 8
    10. activate Java
    11. reboot
    12. select installation from all publisher
    13. install Madsonic package
Download

Madsonic6.1-B8600-050.spk (full installer)
Madsonic6.1-B8550-048.spk (full installer)
Madsonic6.1-B8280-044.spk (simplified installer)
Madsonic6.1-B8220-042.spk (simplified installer)
Madsonic6.1-B8190-041.spk


Warning
  • Make a backup of the old madsonic database before installing

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 06 Apr 2016, 11:07
by Oxize
I am getting the same error warning like El-gato, but with other log i think.

Using an DS214+ with DSM 6.0-7321

madsonic_sh.log

Code: Select all

admin@OxizeNAS:/var/packages/Madsonic/target$ vi madsonic_sh.log
    at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)
    at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)
    at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)
    at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457)
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
    at org.eclipse.jetty.server.Server.doStart(Server.java:282)
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
    at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
    at org.madsonic.booter.Main.<init>(Main.java:43)
    at org.madsonic.booter.Main.main(Main.java:82)
2016-04-06 10:41:11.797:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4040
Madsonic running on: http://localhost:4040/
Apr 06, 2016 10:41:12 AM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Looking for RMI registry at port '9412'
Apr 06, 2016 10:41:12 AM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Could not detect RMI registry - creating new one
Apr 06, 2016 10:41:12 AM org.springframework.remoting.rmi.RmiServiceExporter prepare
INFO: Binding service 'MadsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[10.0.0.200:9412](local),objID:[0:0:0, 0]]]]
madsonic_package.log

Code: Select all

06.04.16_11:40:44: create madsonic daemon user
06.04.16_11:40:44: created transcode directory
06.04.16_11:40:44: start Madsonic for first initialisation
06.04.16_11:41:00: looking for PID
06.04.16_11:41:00: Error: Can not start Madsonic during install
After the installation failed, the madsonic has the state "stopped". When i manual try to start it. I get the next log in Madsonic_sh.log

Code: Select all

Apr 06, 2016 11:18:48 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae: display name [org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae]; startup date [Wed Apr 06 11:18:48 GMT+01:00 2016]; root of context hierarchy
Apr 06, 2016 11:18:49 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
Apr 06, 2016 11:18:49 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae]: org.springframework.beans.factory.support.DefaultListableBeanFactory@a570f
Apr 06, 2016 11:18:49 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a570f: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
used forced Install_Dir = /usr/syno/synoman/webman/3rdparty/Madsonic
Using WAR file: /volume1/@appstore/Madsonic/madsonic.war
Extracting webapp to /usr/syno/synoman/webman/3rdparty/Madsonic/jetty/8180
Using WAR file: /volume1/@appstore/Madsonic/madsonic.war
Using GZIP-compression for REST
2016-04-06 11:18:49.983:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2016-04-06 11:18:56.366:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/volume1/@appstore/Madsonic/jetty/8180/webapp/},madsonic.war
java.lang.ArrayIndexOutOfBoundsException: 0
	at sun.nio.cs.UTF_8$Decoder.decode(UTF_8.java:441)
	at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:153)
	at java.lang.StringCoding.decode(StringCoding.java:193)
	at java.lang.String.<init>(String.java:426)
	at java.lang.String.<init>(String.java:491)
	at sun.security.x509.AVA.toRFC2253CanonicalString(AVA.java:909)
	at sun.security.x509.RDN.toRFC2253StringInternal(RDN.java:443)
	at sun.security.x509.RDN.toRFC2253String(RDN.java:423)
	at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:729)
	at sun.security.x509.X500Name.equals(X500Name.java:415)
	at sun.security.pkcs.SignerInfo.getCertificateChain(SignerInfo.java:245)
	at sun.security.pkcs.SignerInfo.getTimestamp(SignerInfo.java:499)
	at sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:529)
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:270)
	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238)
	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
	at java.util.jar.JarVerifier.update(JarVerifier.java:228)
	at java.util.jar.JarInputStream.read(JarInputStream.java:212)
	at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
	at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
	at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
	at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)
	at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)
	at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)
	at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)
	at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)
	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
	at org.eclipse.jetty.server.Server.doStart(Server.java:282)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
	at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at org.madsonic.booter.Main.<init>(Main.java:43)
	at org.madsonic.booter.Main.main(Main.java:82)
2016-04-06 11:18:56.429:WARN:oejuc.AbstractLifeCycle:FAILED SelectChannelConnector@0.0.0.0:4040: java.net.BindException: Address already in use
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
	at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.Server.doStart(Server.java:293)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
	at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at org.madsonic.booter.Main.<init>(Main.java:43)
	at org.madsonic.booter.Main.main(Main.java:82)
2016-04-06 11:18:56.431:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.Server@af6cff: java.net.BindException: Address already in use
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
	at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.Server.doStart(Server.java:293)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
	at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at org.madsonic.booter.Main.<init>(Main.java:43)
	at org.madsonic.booter.Main.main(Main.java:82)
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)
	at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)
	at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.Server.doStart(Server.java:293)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
	at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at org.madsonic.booter.Main.<init>(Main.java:43)
	at org.madsonic.booter.Main.main(Main.java:82)
Apr 06, 2016 11:18:56 AM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Looking for RMI registry at port '9412'
Apr 06, 2016 11:18:57 AM org.springframework.remoting.rmi.RmiServiceExporter prepare
INFO: Binding service 'MadsonicDeployerService' to RMI registry: RegistryImpl_Stub[UnicastRef [liveRef: [endpoint:[10.0.0.200:9412](remote),objID:[0:0:0, 0]]]]

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 06 Apr 2016, 15:03
by agentred
Many thanks for looking at this so quickly Madevil!

Unfortunately I'm seeing the same "Error: Can not start Madsonic during install" using the lp version.

I don't have anything in the Madsonic folder in public so I can't post a log (assuming that's where it would be). But there is a Madsonic folder in the 'homes' directory so something is happening.

Looking forward to any updates, happy to provide logs if anybody can point me in the right direction.

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 06 Apr 2016, 20:50
by Oxize
Logs are in the Var/packages/Madsonic/target folder. Accessible through Putty with SSH (if SSH enabled)

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 00:22
by Madsonic
thanks for feedback!

Fixed
  • problem to resolve PID from madsonic service
  • remove seperated installer for public folder
please try the new installer Madsonic6.1-B8190-041.spk

suggestion

1. uninstall existing madsonic version
2. cleanup Public\Madsonic folder
3. reboot NAS
4. install new madsonic.spk

best regards

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 08:06
by softsmoke
Now it seems to work :)

But i have problem to access the synology externaly since the last update DSM 6.0

It work fine on DSM5.0, do anyone else have the same problem?

/Softsmoke

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 09:32
by Oxize
softsmoke wrote:Now it seems to work :)

But i have problem to access the synology externaly since the last update DSM 6.0

It work fine on DSM5.0, do anyone else have the same problem?

/Softsmoke
No problems here, since i use https (ssl certificate).

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 10:00
by Oxize
Madevil wrote:thanks for feedback!

Fixed
  • problem to resolve PID from madsonic service
  • remove seperated installer for public folder
please try the new installer Madsonic6.1-B8190-041.spk

suggestion

1. uninstall existing madsonic version
2. cleanup Public\Madsonic folder
3. reboot NAS
4. install new madsonic.spk

best regards
Got it installed succesfully.

Service is running, but i get in webbrowser:

HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable

I tried to rename DB to DB.old an restarted the services. Cant still access it.

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 10:03
by Madsonic
Oxize wrote:
Madevil wrote:thanks for feedback!

Fixed
  • problem to resolve PID from madsonic service
  • remove seperated installer for public folder
please try the new installer Madsonic6.1-B8190-041.spk

suggestion

1. uninstall existing madsonic version
2. cleanup Public\Madsonic folder
3. reboot NAS
4. install new madsonic.spk

best regards
Got it installed succesfully.
Service is running, but i get in webbrowser: HTTP ERROR: 503
Problem accessing /. Reason: Service Unavailable
I tried to rename DB to DB.old an restarted the services. Cant still access it.
can you provide the log files: madsonic.log, madsonic_sh.log, madsonic_package.log ?

best regards

Re: Madsonic Server 6.1 Synology-DSM 6.x NAS Plugin

Posted: 07 Apr 2016, 10:17
by Oxize
Madsonic_sh.log

Code: Select all

Apr 07, 2016 10:08:09 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae: display name [org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae]; startup date [Thu Apr 07 10:08:09 GMT+01:00 2016]; root of context hierarchy
Apr 07, 2016 10:08:09 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
Apr 07, 2016 10:08:10 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@12b1dae]: org.springframework.beans.factory.support.DefaultListableBeanFactory@a570f
Apr 07, 2016 10:08:10 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a570f: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
used forced Install_Dir = /usr/syno/synoman/webman/3rdparty/Madsonic
Using WAR file: /volume1/@appstore/Madsonic/madsonic.war
Extracting webapp to /usr/syno/synoman/webman/3rdparty/Madsonic/jetty/8190
Using WAR file: /volume1/@appstore/Madsonic/madsonic.war
Using GZIP-compression for REST
2016-04-07 10:08:10.386:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2016-04-07 10:08:17.070:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/volume1/@appstore/Madsonic/jetty/8190/webapp/},madsonic.war
java.lang.ArrayIndexOutOfBoundsException: 0
	at sun.nio.cs.UTF_8$Decoder.decode(UTF_8.java:441)
	at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:153)
	at java.lang.StringCoding.decode(StringCoding.java:193)
	at java.lang.String.<init>(String.java:426)
	at java.lang.String.<init>(String.java:491)
	at sun.security.x509.AVA.toRFC2253CanonicalString(AVA.java:909)
	at sun.security.x509.RDN.toRFC2253StringInternal(RDN.java:443)
	at sun.security.x509.RDN.toRFC2253String(RDN.java:423)
	at sun.security.x509.X500Name.getRFC2253CanonicalName(X500Name.java:729)
	at sun.security.x509.X500Name.equals(X500Name.java:415)
	at sun.security.pkcs.SignerInfo.getCertificateChain(SignerInfo.java:245)
	at sun.security.pkcs.SignerInfo.getTimestamp(SignerInfo.java:499)
	at sun.security.util.SignatureFileVerifier.getSigners(SignatureFileVerifier.java:529)
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:270)
	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238)
	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
	at java.util.jar.JarVerifier.update(JarVerifier.java:228)
	at java.util.jar.JarInputStream.read(JarInputStream.java:212)
	at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140)
	at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118)
	at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
	at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
	at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)
	at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)
	at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)
	at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)
	at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)
	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
	at org.eclipse.jetty.server.Server.doStart(Server.java:282)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.madsonic.booter.deployer.MadsonicDeployer.deployWebApp(MadsonicDeployer.java:249)
	at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:104)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
	at org.madsonic.booter.Main.<init>(Main.java:43)
	at org.madsonic.booter.Main.main(Main.java:82)
2016-04-07 10:08:17.159:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4040
Madsonic running on: http://localhost:4040/
Apr 07, 2016 10:08:17 AM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Looking for RMI registry at port '9412'
Apr 07, 2016 10:08:17 AM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Could not detect RMI registry - creating new one
Apr 07, 2016 10:08:17 AM org.springframework.remoting.rmi.RmiServiceExporter prepare
INFO: Binding service 'MadsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[10.0.0.200:9412](local),objID:[0:0:0, 0]]]]
madsonic_package.log

Code: Select all

07.04.16_11:06:13: create madsonic daemon user
07.04.16_11:06:14: created transcode directory
07.04.16_11:06:14: start Madsonic for first initialisation
07.04.16_11:06:29: looking for PID
07.04.16_11:06:29: started Madsonic successfully. PID is: 15725
07.04.16_11:08:04: Stopped Madsonic
07.04.16_11:08:04: restore previously made backup fron public folder
07.04.16_11:08:05: ----installation complete----
07.04.16_11:08:08: Madsonic DSM link created
07.04.16_11:08:08: Temp directory created
07.04.16_11:08:08: starting Madsonic as madsonic daemon user
07.04.16_11:08:23: started madsonic as madsonic daemon user
07.04.16_11:08:23: started madsonic successfully. PID is: 18124
07.04.16_11:08:23: ----madsonic is running----

no madsonic.log.

Maybe something with Jetty?

Edit

Okay got it working now also. What i did is.

- Uninstalled Madsonic again
- Uninstalled Perl
- Unstalled Java Se Embedded 8
- Restarted NAS
- Installed Perl (from Offical Synology apps)
- Installed Java8 (From Official Synology apps) - Not from SynoCommunity!
- Cleaned up all directories from Madsonic
- Installed Madsonic
- Restarted NAS

After this i could access Madsonic.

Only 1 thing are not working Maddevil.

- You can set the playlist on the left side under the General tab. But when you check that option, the Playlist isnt showing on the left like in the old Madsonic 5 and 6 look. I really like to have the playlist on the left like in Madsonic 6.0. It seems this issue is also at the desktop version, because when i had this problem with DSM 6, i used the desktop version for a while. 6.1 didnt had playlist on the left with the option checked, and 6.0 desktop version was just working properly.

(- Permissions on old music shares (old music shares didnt had the right permissons to the user Madsonic, i made a new share and connected madsonic user to it. After that i moved all my music to the new share) )

@El-gato: Search function works here. When indexed the music, it takes a while before you can search.

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 04:38
by muiz
Can't find a folder named "Madsonic"..................
Clean install of DSM 6.0
Installed Perl and java8

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 08:31
by Oxize
Did you said no, when it ask to restore a backup? Tell us some more information.

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 18:03
by agentred
Installed and it seems to be running, many thanks Madevil!!

I'm having media library issues but will post those in a separate thread since they seem unrelated.

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 21:43
by carlosarze
muiz wrote:Can't find a folder named "Madsonic"..................
Clean install of DSM 6.0
Installed Perl and java8


Same here it can't find the folder named Madsonic on the public folder

I created a public folder and inside Madsonic

Public folder is accesible to all users and all groups ....

Can't install

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 21:48
by Oxize
So far i know, Madsonic directory on the public directory wont be used so long you dont restore any backups. Your guys trying to restore a backup or something?

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 23:00
by carlosarze
Oxize wrote:So far i know, Madsonic directory on the public directory wont be used so long you dont restore any backups. Your guys trying to restore a backup or something?

Not at all

Seems that the smb.conf address has changed ? I am not sure ... Even if not restoring its looking for that and since its changed can't install.

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 08 Apr 2016, 23:27
by Oxize
Hmm weird, because on my Synology NAS when i installed this version i had Madsonic in my Public. When i had problems with getting madsonic webinterface started, i removed Madsonic from the Public. I didnt get this warning at all. I even uninstalled/installed it like 4 or 5 times or so.

Lets hope Mad has a fix for you.

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 09 Apr 2016, 00:00
by muiz
With or without the Madsonic folder present it wont install. restore or no restore... Nothing works.

Im using a 213J

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 09 Apr 2016, 00:47
by carlosarze
muiz wrote:With or without the Madsonic folder present it wont install. restore or no restore... Nothing works.

Im using a 213J

Yeah no problem using old DMS but in this new one there is no way to install it ......

I tried to modify the install script without success.....

Running at the moment DSM 6.0-7321

Re: Madsonic Server 6.x Synology-DSM 6.x NAS Plugin

Posted: 09 Apr 2016, 04:24
by carlosarze
Hi

My other server that had madsonic installed stopped after the update

I did uninstalled and tried to install again without success