Jump to content
binhex

[Support] binhex - Madsonic

62 posts in this topic Last Reply

Recommended Posts

Overview: Support for Docker image arch-madsonic in the binhex repo.

Application: Madsonic - http://www.madsonic.org/

Docker Hub: https://hub.docker.com/r/binhex/arch-madsonic/

GitHub: https://github.com/binhex/arch-madsonic

Documentationhttps://github.com/binhex/documentation

 

If you appreciate my work, then please consider buying me a beer  :D

 

btn_donate_SM.gif

 

For other Docker support threads and requests, news and Docker template support for the binhex repository please use the "General" thread here

Edited by binhex

Share this post


Link to post

Hey binhex,

 

wonderful docker, works very very well.

One issue though, there doesn't seem to be any support for FLAC (it recognizes the files and adds to db, but playback fails, missing transcodersupport i bet).

Any way for you to look into this ? Found some info here; https://wiki.archlinux.org/index.php/Subsonic#Install_transcoders

I'm not sure how to implement it in the docker but I think this would be a nice feature to have on your container either way.

 

 

Share this post


Link to post

The transcoding is fine and dandy on mine??

 

In the web interface (yourserverip:4040) click on 'new'.  You'll see:

 

ffmpeg version N-41404-g0e406ab- http://johnvansickle.com/ffmpeg/ Copyright © 2000-2014 the FFmpeg developers (25.02.2016)

 

Flac works great for me - it gets transcoded into mp3 for streaming to my devices.

 

However, I'm having some trouble with a client app (Z-Subsonic) I just bought for an older iPod (6.1.6). It will not connect to the binhex Madsonic docker running on my unraid......but it WILL connect to gfjardim's Madsonic docker on the same server (obviously running independently).

 

The developer is silent on the issue. Probably abandoned it a while back. Last app store update was in 2012.

 

I'm hoping binhex might have some insight into this - why does it connect to one but not the other? The bin hex docker is better - since it comes with the transcoding pre-installed. The gfjardim docker does not.

 

Cheers

 

 

 

Share this post


Link to post

It will not connect to the binhex Madsonic docker running on my unraid......but it WILL connect to gfjardim's Madsonic docker on the same server (obviously running independently).

 

probably due to different versions of madsonic, im not running the beta version, possibly the app was built only to support the very latest bleeding edge version of subsonic/madsonic?

Share this post


Link to post

Could be. However Z-Subsonic is an old app.

 

Looking at the two docker apps:

 

binhex:

 

Version MADSONIC 5.1.5250.20150813.1155  MADSONIC REST API v1.12.0

License Madsonic Free Edition, for personal use only as described below.

Server jetty/8.y.z-SNAPSHOT, java 1.7.0_95, Linux (129.5 MB / 243.0 MB)

Size:        Database: 16MB, Thumbs-Cache: 0MB, LastFM-Cache: 0MB, Lucene-Cache: 1MB

                Spring.Framework v3.2.14, Spring.Security v3.2.8

                HyperSQL DataBase v2.3.2

 

gfjardim:

 

Version MADSONIC 5.2.5420.20141214.0251  MADSONIC REST API v1.12.0

License Madsonic Free Edition, for personal use only as described below.

Server jetty/8.y.z-SNAPSHOT, java 1.7.0_72, Linux 4.1.17-unRAID (amd64) (100.9 MB / 236.0 MB)

Size:        Database: 7MB, Thumbs-Cache: 0MB, LastFM-Cache: 0MB, Lucene-Cache: 1MB

                Spring.Framework v3.2.12, Spring.Security v3.2.5

                HyperSQL DataBase v2.3.2

                WARNING no transcoder found!

 

 

So gfjardim Madsonic version is newer, but other components (jetty / spring) are older......

 

 

Share this post


Link to post

Just updated your madsonic docker and it no longer wants to start. Deleted container/image, to no avail. Deleted perms.txt and restarted, same. Java error of some sort.

 

2016-02-28 12:00:14,923 DEBG 'madsonic' stdout output:
Started Madsonic [PID , /config/madsonic_sh.log]

2016-02-28 12:00:14,924 DEBG fd 8 closed, stopped monitoring (stderr)>
2016-02-28 12:00:14,924 DEBG fd 6 closed, stopped monitoring (stdout)>
2016-02-28 12:00:14,924 INFO exited: madsonic (exit status 0; not expected)
2016-02-28 12:00:14,924 DEBG received SIGCLD indicating a child quit
2016-02-28 12:00:15,925 INFO gave up: madsonic entered FATAL state, too many start retries too quickly

 

 

rg.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:392)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:306)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:4162)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:4153)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument1(XSDHandler.java:2486)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2183)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:569)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:613)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2446)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1766)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:380)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:614)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3135)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
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:26)
at org.madsonic.booter.Main.main(Main.java:65)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.springframework.org/schema/beans/spring-beans.xsd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:582)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:685)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:530)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2171)
... 34 more

Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 7 in XML document from class path resource [applicationContext-deployer.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
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:26)
at org.madsonic.booter.Main.main(Main.java:65)
Caused by: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1900)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:380)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:614)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3135)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 15 more

Share this post


Link to post

Just updated your madsonic docker and it no longer wants to start. Deleted container/image, to no avail. Deleted perms.txt and restarted, same. Java error of some sort.

 

2016-02-28 12:00:14,923 DEBG 'madsonic' stdout output:
Started Madsonic [PID , /config/madsonic_sh.log]

2016-02-28 12:00:14,924 DEBG fd 8 closed, stopped monitoring (stderr)>
2016-02-28 12:00:14,924 DEBG fd 6 closed, stopped monitoring (stdout)>
2016-02-28 12:00:14,924 INFO exited: madsonic (exit status 0; not expected)
2016-02-28 12:00:14,924 DEBG received SIGCLD indicating a child quit
2016-02-28 12:00:15,925 INFO gave up: madsonic entered FATAL state, too many start retries too quickly

 

 

rg.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:99)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:392)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:306)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:4162)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:4153)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument1(XSDHandler.java:2486)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2183)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:569)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:613)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2446)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1766)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:380)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:614)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3135)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
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:26)
at org.madsonic.booter.Main.main(Main.java:65)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.springframework.org/schema/beans/spring-beans.xsd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:582)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(SchemaParsingConfig.java:685)
at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(SchemaDOMParser.java:530)
at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2171)
... 34 more

Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 7 in XML document from class path resource [applicationContext-deployer.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
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:26)
at org.madsonic.booter.Main.main(Main.java:65)
Caused by: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 66; cvc-elt.1: Cannot find the declaration of element 'beans:beans'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1900)
at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:380)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:614)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3135)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
... 15 more

 

hmm odd, running fine here with latest docker image and up to date android client, just to rule out anything else, can you stop the container, then create a new /config folder on the host and edit the container and point it at this, i know you wont have any settings etc i just want to make sure the container starts with a blank db etc. If it doesn't start then there is something more fundamental going on, perhaps a disk space issue?.

Share this post


Link to post

hmm odd, running fine here with latest docker image and up to date android client, just to rule out anything else, can you stop the container, then create a new /config folder on the host and edit the container and point it at this, i know you wont have any settings etc i just want to make sure the container starts with a blank db etc. If it doesn't start then there is something more fundamental going on, perhaps a disk space issue?.

 

Well prior to posting, I did the following; stopped the container, deleted and remove the image. Moved my old config dir, created a new config dir and re-added the container via the saved template. Tried to rule out things prior to posting. Yet the error is still there, db directory not created. Not a config folder issue. Have plenty of space left on my device. Docker image file:

 

devid    1 size 20.00GiB used 8.04GiB path /dev/loop0

 

Not sure what to make of it.

Share this post


Link to post

hmm odd, running fine here with latest docker image and up to date android client, just to rule out anything else, can you stop the container, then create a new /config folder on the host and edit the container and point it at this, i know you wont have any settings etc i just want to make sure the container starts with a blank db etc. If it doesn't start then there is something more fundamental going on, perhaps a disk space issue?.

 

Well prior to posting, I did the following; stopped the container, deleted and remove the image. Moved my old config dir, created a new config dir and re-added the container via the saved template. Tried to rule out things prior to posting. Yet the error is still there, db directory not created. Not a config folder issue. Have plenty of space left on my device. Docker image file:

 

devid    1 size 20.00GiB used 8.04GiB path /dev/loop0

 

Not sure what to make of it.

 

hmm im at a bit of a loss with this one, i just tried a blank /config folder and it boots up fine, i can login to the webui with no issues. can you screenshot and post your unraid docker settings screen for this docker?.

Share this post


Link to post

hmm im at a bit of a loss with this one, i just tried a blank /config folder and it boots up fine, i can login to the webui with no issues. can you screenshot and post your unraid docker settings screen for this docker?.

 

http://i.imgur.com/dz1orQb.png

 

Thanks for the help. I'm not too sure how docker works with other containers using the same base image. Perhaps I need to delete all other containers/images using the same base image or something. I'm using two other of your dockers sab and couchpotato.

 

EDIT: Guess not. Deleted all three of your images plus one marked as "<none>" with the "docker images" command. Madsonic refuses to start with the same error. Don't know...

Share this post


Link to post

hmm im at a bit of a loss with this one, i just tried a blank /config folder and it boots up fine, i can login to the webui with no issues. can you screenshot and post your unraid docker settings screen for this docker?.

 

http://i.imgur.com/dz1orQb.png

 

Thanks for the help. I'm not too sure how docker works with other containers using the same base image. Perhaps I need to delete all other containers/images using the same base image or something. I'm using two other of your dockers sab and couchpotato.

 

EDIT: Guess not. Deleted all three of your images plus one marked as "<none>" with the "docker images" command. Madsonic refuses to start with the same error. Don't know...

 

no they do share the same base image, but if madsonic just happened to be using a different base then it would force it to be pulled down in any case. im still at a loss right now, just to double check things can you see what permissions are applied on the root of the /config folder for madsonic, let me know.

Share this post


Link to post

one thing i did spot from your screenshot is that /media is currently set to read only, this shouldnt matter tbh, but its the only difference between your setup and mine that ive spotted so far (other than diff host paths), might be worth a go setting this to read/write

Share this post


Link to post

Having trouble with madsonic docker and it appears the issue is similar to one of the posters above. I have copied the logs below. Does this point to anything known?

 

Details from log are copied below and also a screenshot of the config.

 

        at org.madsonic.booter.Main.<init>(Main.java:26)
        at org.madsonic.booter.Main.main(Main.java:65)
Caused by:
java.sql.SQLException: Out of Memory
        at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
        at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:571)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:153)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:464)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:472)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:477)
        at org.springframework.jdbc.core.JdbcTemplate.queryForInt(JdbcTemplate.java:488)
        at org.madsonic.service.SecurityService.afterPropertiesSet(SecurityService.java:85)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
        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:152)
        at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:68)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
        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:26)
        at org.madsonic.booter.Main.main(Main.java:65)
Caused by:
org.hsqldb.HsqlException: Out of Memory
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.persist.ScriptRunner.runScript(Unknown Source)
        at org.hsqldb.persist.ScriptRunner.runScript(Unknown Source)
        at org.hsqldb.persist.Log.processLog(Unknown Source)
        at org.hsqldb.persist.Log.open(Unknown Source)
        at org.hsqldb.persist.Logger.open(Unknown Source)
        at org.hsqldb.Database.reopen(Unknown Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
        at org.hsqldb.DatabaseManager.newSession(Unknown Source)
        at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
        at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
        at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:571)
        at java.sql.DriverManager.getConnection(DriverManager.java:187)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)
        at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:153)
        at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:464)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:472)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:477)
        at org.springframework.jdbc.core.JdbcTemplate.queryForInt(JdbcTemplate.java:488)
        at org.madsonic.service.SecurityService.afterPropertiesSet(SecurityService.java:85)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
        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:152)
        at org.madsonic.booter.deployer.MadsonicDeployer.<init>(MadsonicDeployer.java:68)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
        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:26)
        at org.madsonic.booter.Main.main(Main.java:65)
016-04-27 20:22:20.269:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4040
2016-04-27 20:22:20.357:INFO:oejus.SslContextFactory:Enabled Protocols [TLSv1, TLSv1.1, TLSv1.2] of [sSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
2016-04-27 20:22:20.366:INFO:oejs.AbstractConnector:Started SslSocketConnector@0.0.0.0:4050
Madsonic running on: http://localhost:4040/
                and: https://localhost:4050/
Apr 27, 2016 8:22:20 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Looking for RMI registry at port '9412'
Apr 27, 2016 8:22:20 PM org.springframework.remoting.rmi.RmiServiceExporter getRegistry
INFO: Could not detect RMI registry - creating new one
Apr 27, 2016 8:22:20 PM org.springframework.remoting.rmi.RmiServiceExporter prepare
INFO: Binding service 'MadsonicDeployerService' to RMI registry: RegistryImpl[unicastServerRef [liveRef: [endpoint:[127.0.0.1:9412](local),objID:[0:0:0, 0]]]]

 

[/img]

madsonic.jpg.228cb78c0b4bbc368804d8e137cb2f8c.jpg

Share this post


Link to post
ava.sql.SQLException: Out of Memory

 

host ran out of memory perhaps? how much ram does your host have?

Share this post


Link to post

The server has a 32GB ram with 6GB for a Windows VM. i thought that was plenty and never had trouble till now. Over the last few days the madsonic_sh.log seems to be running what seems to be a DB update continuously. I cannot access the madsonic though, get connection refused message. Copied below is a snippet from the log ..

 

 

[GC 19427K->6988K(189440K), 0.0015730 secs]
[Full GC 6988K->6917K(189440K), 0.0327300 secs]
[GC 18169K->6949K(175616K), 0.0013700 secs]
[Full GC 6949K->6918K(175616K), 0.0403970 secs]
[GC 18317K->7014K(187392K), 0.0011950 secs]
[Full GC 7014K->6919K(187392K), 0.0306290 secs]
[GC 18318K->7015K(175616K), 0.0012510 secs]
[Full GC 7015K->6921K(175616K), 0.0362790 secs]
[GC 18320K->7017K(185344K), 0.0012110 secs]
[Full GC 7017K->6922K(185344K), 0.0259300 secs]

 

 

ava.sql.SQLException: Out of Memory

 

host ran out of memory perhaps? how much ram does your host have?

Share this post


Link to post

The server has a 32GB ram with 6GB for a Windows VM. i thought that was plenty and never had trouble till now. Over the last few days the madsonic_sh.log seems to be running what seems to be a DB update continuously. I cannot access the madsonic though, get connection refused message. Copied below is a snippet from the log ..

 

 

[GC 19427K->6988K(189440K), 0.0015730 secs]
[Full GC 6988K->6917K(189440K), 0.0327300 secs]
[GC 18169K->6949K(175616K), 0.0013700 secs]
[Full GC 6949K->6918K(175616K), 0.0403970 secs]
[GC 18317K->7014K(187392K), 0.0011950 secs]
[Full GC 7014K->6919K(187392K), 0.0306290 secs]
[GC 18318K->7015K(175616K), 0.0012510 secs]
[Full GC 7015K->6921K(175616K), 0.0362790 secs]
[GC 18320K->7017K(185344K), 0.0012110 secs]
[Full GC 7017K->6922K(185344K), 0.0259300 secs]

 

 

ava.sql.SQLException: Out of Memory

 

host ran out of memory perhaps? how much ram does your host have?

 

hmm yeah 32GB of ram is a shed load, you def should have no issues there, so i would guess then its probably some corruption of the database, i dont suppose you take regular backups of your config data do you? (you should consider it if you dont), if you do i would recommend a stop of the docker container, then delete and restore the config data from backup for this docker.

Share this post


Link to post

binhex - Something strange is going on. I save weekly snapshots of both the docker image as well as the app config data. So I went back up to 2 months ago on both the docker image and the app data (I recall it worked about a month ago), it doesn't work. However when I initialize the app data from scratch, I get the gui and the media scanning starts.

 

My server has been up for about 60 days and I suspected whether something was eating away at the available memory/space. I rebooted my machine and madsonic worked fine. Now after about a day, I again cannot connect to the app. Logging into the terminal and looking at the log files I see a ".. out of heap space error" thrown by Java. I have few other dockers and all of them seem to be working fine. I am unsure what else to try other than disabling one docker at a time. The docker image is 15GB out of which 6GB seems to be in use (per docker settings). I have copied below some of the relevant logs. What do you think?

 

I have copied a snapshot of all the dockers in my container below for reference.

 

 

root@Tower:~# free
             total       used       free     shared    buffers     cached
Mem:      32712660   32348536     364124          0    1025308   12359960
-/+ buffers/cache:   18963268   13749392
Swap:            0          0          0

 

        at org.madsonic.service.MediaScannerService.access$0(MediaScannerService.java:184)
        at org.madsonic.service.MediaScannerService$2.run(MediaScannerService.java:167)
Caused by: java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
        at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source)
        at org.hsqldb.jdbc.JDBCPreparedStatement.executeQuery(Unknown Source)
        at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:646)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:589)
        ... 19 more
Caused by: org.hsqldb.HsqlException: java.lang.OutOfMemoryError: Java heap space
        at org.hsqldb.error.Error.error(Unknown Source)
        at org.hsqldb.result.Result.newErrorResult(Unknown Source)
        at org.hsqldb.StatementDMQL.execute(Unknown Source)
        at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
        at org.hsqldb.Session.execute(Unknown Source)
        ... 23 more
Caused by: java.lang.OutOfMemoryError: Java heap space

[2016-05-02 03:12:55,659] ERROR MediaScannerService - Failed to scan media library.
java.lang.OutOfMemoryError: Java heap space

[2016-05-02 03:12:56,094] ERROR MediaScannerService - ERROR Java heap space
java.lang.OutOfMemoryError: Java heap space

[2016-05-02 03:12:57,790] INFO PlaylistService - Starting playlist import.
[2016-05-02 03:12:57,790] INFO PlaylistService - Completed playlist import.
[2016-05-02 03:12:57,790] INFO PlaylistService - Starting playlist statistics update.
[2016-05-02 03:12:58,563] INFO PlaylistService - Completed playlist statistics update.

 

 

hmm yeah 32GB of ram is a shed load, you def should have no issues there, so i would guess then its probably some corruption of the database, i dont suppose you take regular backups of your config data do you? (you should consider it if you dont), if you do i would recommend a stop of the docker container, then delete and restore the config data from backup for this docker.

[/code]

 

[b][2016-05-02 03:12:55,659] ERROR MediaScannerService - Failed to scan media library.
java.lang.OutOfMemoryError: Java heap space

[2016-05-02 03:12:56,094] ERROR MediaScannerService - ERROR Java heap space
java.lang.OutOfMemoryError: Java heap space[/b]

[2016-05-02 03:12:57,790] INFO PlaylistService - Starting playlist import.
[2016-05-02 03:12:57,790] INFO PlaylistService - Completed playlist import.
[2016-05-02 03:12:57,790] INFO PlaylistService - Starting playlist statistics update.
[2016-05-02 03:12:58,563] INFO PlaylistService - Completed playlist statistics update.

 

 

hmm yeah 32GB of ram is a shed load, you def should have no issues there, so i would guess then its probably some corruption of the database, i dont suppose you take regular backups of your config data do you? (you should consider it if you dont), if you do i would recommend a stop of the docker container, then delete and restore the config data from backup for this docker.

AllDockers_20160502.jpg.dd961a09e55b697de75fb722fe58b7dd.jpg

Share this post


Link to post

Just tried to install this docker in Ubuntu with the following:

 

docker run -d \
--name=madsonic \
-p 4040:4040 \
-p 4050:4050 \
-e CONTEXT_PATH=\ \
-e SSL=yes \
-v /storage/music:/media \
-v /docker/containers/madsonic/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-madsonic

 

And I get the following error:

 

Error parsing reference: "SSL=yes" is not a valid repository/tag

Share this post


Link to post

Just tried to install this docker in Ubuntu with the following:

 

docker run -d \
--name=madsonic \
-p 4040:4040 \
-p 4050:4050 \
-e CONTEXT_PATH=\ \
-e SSL=yes \
-v /storage/music:/media \
-v /docker/containers/madsonic/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-madsonic

 

And I get the following error:

 

Error parsing reference: "SSL=yes" is not a valid repository/tag

Context path is doing you in, try a double backslash to escape it, or simply remove that env var.

 

Sent from my SM-G900F using Tapatalk

 

 

Share this post


Link to post

Just tried to install this docker in Ubuntu with the following:

 

docker run -d \
--name=madsonic \
-p 4040:4040 \
-p 4050:4050 \
-e CONTEXT_PATH=\ \
-e SSL=yes \
-v /storage/music:/media \
-v /docker/containers/madsonic/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-madsonic

 

And I get the following error:

 

Error parsing reference: "SSL=yes" is not a valid repository/tag

Context path is doing you in, try a double backslash to escape it, or simply remove that env var.

 

Sent from my SM-G900F using Tapatalk

What is that environment variable even for?

 

Sent from my Nexus 5X using Tapatalk

 

 

Share this post


Link to post

Just tried to install this docker in Ubuntu with the following:

 

docker run -d \
--name=madsonic \
-p 4040:4040 \
-p 4050:4050 \
-e CONTEXT_PATH=\ \
-e SSL=yes \
-v /storage/music:/media \
-v /docker/containers/madsonic/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-e PUID=1000 \
-e PGID=1000 \
binhex/arch-madsonic

 

And I get the following error:

 

Error parsing reference: "SSL=yes" is not a valid repository/tag

Context path is doing you in, try a double backslash to escape it, or simply remove that env var.

 

Sent from my SM-G900F using Tapatalk

What is that environment variable even for?

 

Sent from my Nexus 5X using Tapatalk

Reverse proxy mainly

 

Sent from my SM-G900F using Tapatalk

 

 

Share this post


Link to post

I'm trying to access Madsonic over the Internet using an android app (DSub). I've used this app successfully for years accessing a subsonic server on another machine. I can access Madsonic locally over wifi using the web interface or DSub, but not over the Internet.

 

I have set up port forwarding on my router. I've gone over all my settings. I can't figure it out. Any help?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.