Build: Latest beta release – Madsonic 5.2.5300
OS : ubuntu 14.04 LTS x64
Host: vmware
CPU: 4 x 1 Kernel á 3,4 GHz
RAM OS: 2048 MB
RAM madsonic: 512 - 1500 MB
Settings > Last.FM
"Enalbe LastFM TopTrack search"
verschrieben : )
- Pandora working , works perfect !!! My setting 2,0,3,10,0,4
- Mediascanning working
MadEvil : Please consider an own little db file for the podcasts.
After beginning from scratch i had to copy my settings manually within the madsonic.script files.
Thanks in advance
Some hints on the new 5.2.5300
Re: Some hints on the new 5.2.5300
I guess the "rights management console" is a bit buggy ??
If you have several folders ... 28 +
i.e. podcast, # and alpabetical order ( a,b,c,...,z)
and you add another one, there are no settings available
Anyone seen this before ?
If you have several folders ... 28 +
i.e. podcast, # and alpabetical order ( a,b,c,...,z)
and you add another one, there are no settings available
Anyone seen this before ?
Re: Some hints on the new 5.2.5300
God damn it ...
Sometimes i really don't know what the heck is going on.
I have added some content. Then i hit the "Scan musicfolders now" button.
First i got some error messages like " error java heap space " .
These were ocurring somtimes after 4500 tracks scanned, sometimes after 10k but mostly direct at start about 500 tracks scanned.
... Ok doing some reseach i increased the java initial memory form 256 > 512 and the max mem from 512 > 2048
Scanning again, fail messages telling me the connection to the hsqldb is lost ?? can't be.
i stopped the deamon, renamed the db, started it again, it won't fire up. WTF ?? no db from scratch ?? grr ^^
ok renaming it back, restarting the deamon, madsonic comes up.
i decieded to clean the db ... ERRORRRRRR
gnaaah whats up with this databasestuff ?
EDIT:
btw switching back to the old memorysettings, the error remains
Sometimes i really don't know what the heck is going on.
I have added some content. Then i hit the "Scan musicfolders now" button.
First i got some error messages like " error java heap space " .
These were ocurring somtimes after 4500 tracks scanned, sometimes after 10k but mostly direct at start about 500 tracks scanned.
... Ok doing some reseach i increased the java initial memory form 256 > 512 and the max mem from 512 > 2048
Scanning again, fail messages telling me the connection to the hsqldb is lost ?? can't be.
i stopped the deamon, renamed the db, started it again, it won't fire up. WTF ?? no db from scratch ?? grr ^^
ok renaming it back, restarting the deamon, madsonic comes up.
i decieded to clean the db ... ERRORRRRRR
Code: Select all
Exception org.springframework.dao.TransientDataAccessResourceException
Message PreparedStatementCallback; SQL [select top 1 id from media_file where not present]; org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException; nested exception is java.sql.SQLException: org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException
Java version Oracle Corporation 1.7.0_65
Operating system Linux 3.13.0-32-generic
Server jetty/8.y.z-SNAPSHOT
Memory Used 252 of 620 MB
Stack trace org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [select top 1 id from media_file where not present]; org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException; nested exception is java.sql.SQLException: org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:106)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:605)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:639)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:668)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:676)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716)
at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:791)
at org.madsonic.dao.AbstractDao.queryForInt(AbstractDao.java:105)
at org.madsonic.dao.MediaFileDao.expunge(MediaFileDao.java:729)
at org.madsonic.controller.MusicFolderSettingsController.expunge(MusicFolderSettingsController.java:92)
at org.madsonic.controller.MusicFolderSettingsController.formBackingObject(MusicFolderSettingsController.java:74)
at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:361)
at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:341)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:281)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
at org.madsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
at org.madsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:60)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
at org.madsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException
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)
... 85 more
Caused by: org.hsqldb.HsqlException: org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.DataFileCache.getFromFile(Unknown Source)
at org.hsqldb.persist.DataFileCache.get(Unknown Source)
at org.hsqldb.persist.RowStoreAVLDisk.get(Unknown Source)
at org.hsqldb.index.NodeAVLDisk.findNode(Unknown Source)
at org.hsqldb.index.NodeAVLDisk.getLeft(Unknown Source)
at org.hsqldb.index.IndexAVL.next(Unknown Source)
at org.hsqldb.index.IndexAVL.next(Unknown Source)
at org.hsqldb.index.IndexAVL$IndexRowIterator.getNextRow(Unknown Source)
at org.hsqldb.RangeVariable$RangeIteratorMain.findNext(Unknown Source)
at org.hsqldb.RangeVariable$RangeIteratorMain.next(Unknown Source)
at org.hsqldb.QuerySpecification.buildResult(Unknown Source)
at org.hsqldb.QuerySpecification.getSingleResult(Unknown Source)
at org.hsqldb.QuerySpecification.getResult(Unknown Source)
at org.hsqldb.StatementQuery.getResult(Unknown Source)
at org.hsqldb.StatementDMQL.execute(Unknown Source)
at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
... 89 more
Caused by: org.hsqldb.HsqlException: java.io.IOException: java.lang.IndexOutOfBoundsException
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.DataFileCache.readObject(Unknown Source)
... 106 more
Caused by: java.io.IOException: java.lang.IndexOutOfBoundsException
at org.hsqldb.lib.java.JavaSystem.toIOException(Unknown Source)
at org.hsqldb.persist.RAFileNIO.read(Unknown Source)
at org.hsqldb.persist.RAFileHybrid.read(Unknown Source)
... 107 more
Caused by: java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:559)
at java.nio.ByteBuffer.get(ByteBuffer.java:668)
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:279)
... 109 more
EDIT:
btw switching back to the old memorysettings, the error remains
- Attachments
-
- madsonic_sh.log
- (205.01 KiB) Downloaded 154 times
-
- madsonic.log
- (12.8 KiB) Downloaded 161 times
Re: Some hints on the new 5.2.5300
ROFL sometimes AAARGH java is an asshole ^^
after reinstalling madsonic several times,
chaning the networkserver from 2008R2 to 2012R2,
changing from ubuntu 14.04.1 LTS to debian 7.7.0
i got really mad, this damn mediascanner didn't scan my stuff ...
Then i reinstalled madsonic once again ...
copied some essential stuff like users and podcasts from one scripts file to the new one.
This time i added my networksettings via webinterface... guess what ??? now the bastard is working fine ...
i guess, there is something db related crap somewhere preventing to copy the networklocations -.-
so what after an entire day testing around. the bug is located. ...
MadEvil this is another point for putting the admin stuff into an other DB : )
after reinstalling madsonic several times,
chaning the networkserver from 2008R2 to 2012R2,
changing from ubuntu 14.04.1 LTS to debian 7.7.0
i got really mad, this damn mediascanner didn't scan my stuff ...
Then i reinstalled madsonic once again ...
copied some essential stuff like users and podcasts from one scripts file to the new one.
This time i added my networksettings via webinterface... guess what ??? now the bastard is working fine ...
i guess, there is something db related crap somewhere preventing to copy the networklocations -.-
so what after an entire day testing around. the bug is located. ...
MadEvil this is another point for putting the admin stuff into an other DB : )