Hello
My Madsonic was already installed in my DS412+ and was running fine..
I update to DSM6.1 beta and Madsonic 6.2 latest version last week, and now I have some trouble ...
Madsonic is running but no more library scan update...and left frame error ...and nothing already scan wants to play !!!!!
My log file looks like this :
[01/12/16 07:36] ERROR SearchService Failed to create search index.
[01/12/16 07:36] ERROR MediaScannerService ERROR PreparedStatementCallback; SQL [update artist set song_count=0, play_count=0]; java.lang.OutOfMemoryError: Java heap space; nested exception is java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
[01/12/16 07:36] ERROR MediaScannerService Failed to scan media library.
The Left Frame error looks like this :
Error
Madsonic encountered an internal error. You can report this error in the Madsonic Forum. Please include the information below.
Exception org.springframework.dao.DuplicateKeyException
Message PreparedStatementCallback; SQL [insert into media_file (id, path, folder, type, override, format, data, title, album, album_name, artist, album_artist, disc_number, track_number, year, genre, mood, bpm, composer, bit_rate, variable_bit_rate, duration_seconds, file_size, width, height, cover_art_path, parent_path, play_count, last_played, comment, created, changed, last_scanned, first_scanned, children_last_updated, present, version, rank) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; integrity constraint violation: unique constraint or index violation; SYS_PK_10479 table: MEDIA_FILE; nested exception is java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10479 table: MEDIA_FILE
Java version Oracle Corporation 1.8.0_112
Operating system Linux 3.10.102
Server jetty/8.y.z-SNAPSHOT
Memory Used 92 of 375 MB
Stack trace org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [insert into media_file (id, path, folder, type, override, format, data, title, album, album_name, artist, album_artist, disc_number, track_number, year, genre, mood, bpm, composer, bit_rate, variable_bit_rate, duration_seconds, file_size, width, height, cover_art_path, parent_path, play_count, last_played, comment, created, changed, last_scanned, first_scanned, children_last_updated, present, version, rank) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; integrity constraint violation: unique constraint or index violation; SYS_PK_10479 table: MEDIA_FILE; nested exception is java.sql.SQLIntegrityConstraintViolationException: integrity constraint violation: unique constraint or index violation; SYS_PK_10479 table: MEDIA_FILE
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:245)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:605)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:818)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:874)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:882)
at org.madsonic.dao.AbstractDao.update(AbstractDao.java:80)
at org.madsonic.dao.MediaFileDao.createOrUpdateMediaFile(MediaFileDao.java:255)
at org.madsonic.service.MediaFileService.getMediaFile(MediaFileService.java:148)
at org.madsonic.service.MusicIndexService.createSortableArtistsforGenre(MusicIndexService.java:276)
at org.madsonic.service.MusicIndexService.getIndexedArtistsforGenre(MusicIndexService.java:146)
at org.madsonic.service.MusicIndexService.getMusicFolderContent(MusicIndexService.java:167)
at org.madsonic.controller.LeftPanelController.handleRequestInternal(LeftPanelController.java:248)
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:933)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
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:1507)
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.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:1495)
at org.madsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1495)
at org.madsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1495)
at org.madsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:58)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1487)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
It semms to be a Java memory problem, but I don't know what to do ... I'm running latest Java 8SDK for synology ..
I also have Subsonic installed in the same NAS and everything goes fine with it ....
Please, help me to solve my madsonic problem...
Merci .. and sorry for my poor english
Probably a Java problem !!
- Madsonic
- Administrator
- Posts: 984
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1201 times
- Been thanked: 470 times
Re: Probably a Java problem !!
Hi there,
It seems your installation is in a critical situation with memory and database errors.
Try to uninstall and start from scratch with the new installer 6.2.9040. (this version use more memory if available on your DSM hardware).
best regards
It seems your installation is in a critical situation with memory and database errors.
Try to uninstall and start from scratch with the new installer 6.2.9040. (this version use more memory if available on your DSM hardware).
best regards
Re: Probably a Java problem !!
Hello,
I tried it but I get an error diring Install process ...
I unistall completely Madsonic ... remove Madsonic Public folder ... and the madsonic folder at root ..
When I want to reinstall with the latest 6.2 version, I get an error ... I recreate the Madsonic folder in the public folder with 777 permission .. without any success ...
Please help me
I tried it but I get an error diring Install process ...
I unistall completely Madsonic ... remove Madsonic Public folder ... and the madsonic folder at root ..
When I want to reinstall with the latest 6.2 version, I get an error ... I recreate the Madsonic folder in the public folder with 777 permission .. without any success ...
Please help me
- Madsonic
- Administrator
- Posts: 984
- Joined: 07 Dec 2012, 03:58
- Has thanked: 1201 times
- Been thanked: 470 times
Re: Probably a Java problem !!
the last Madsonic installer works on official supported version
can you tell me more about the system specification and the error message ?
best regards
can you tell me more about the system specification and the error message ?
best regards
Re: Probably a Java problem !!
I know,... it worked for me until last week in this DSM version, but I update do DSM 6.1 Beta AND Madsonic 6.2 in the same day (monday)..
Since this time, I had trouble and java error and nothing was working...
So, I completely uninstall my Madsonic, and since this time, no more able to re-install it
Sorry for my poor english ... mais MERCI BEAUCOUP de m'aider
Since this time, I had trouble and java error and nothing was working...
So, I completely uninstall my Madsonic, and since this time, no more able to re-install it
Sorry for my poor english ... mais MERCI BEAUCOUP de m'aider
-
- Posts: 11
- Joined: 12 Jul 2017, 22:35
- Has thanked: 0
- Been thanked: 2 times
Re: Probably a Java problem !!
I think I'm getting the same type of error. I'll post it here.
Did you find a fix?
I'll post a screenshot, this does not allow copy/paste due to spam restrictions.
Did you find a fix?
I'll post a screenshot, this does not allow copy/paste due to spam restrictions.