[SOLVED] Admin account broken after crash

Need help? Post your questions here.

Moderator: moderators

[SOLVED] Admin account broken after crash

Postby operat0r » Sun Jun 07, 2015 3:35 am

I just wipped the db ...and started over

Code: Select all
kill `ps auxww|grep -ia subsonic | awk '{print $2}'`
kill `ps auxww|grep -ia subsonic | awk '{print $2}'`
sleep 10
rm -Rf /var/subsonic/db
cd /var/subsonic/db
su subsonic -c "subsonic --port=4040" &




So crashed playing a song then restarted the copmuter and now the admin account has like no rights. my guest acocunt can play but my admin account can't even play songs much less to anything else.

* how do I reset the admin account
* is there a backup DB I can restore some place ? I saw the subsonic.backup file but not sure howto or if that is what I want to restore

Code: Select all

1025 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
1067 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-cache.xml]
1089 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-sonos.xml]
1122 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
1144 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
[GC 14462K->2432K(61056K), 0.0062630 secs]
1292 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@391d46]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e28a36
1462 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1e28a36: defining beans [playerDao,mediaFileDao,artistDao,albumDao,playlistDao,playQueueDao,internetRadioDao,musicFileInfoDao,musicFolderDao,userDao,transcodingDao,podcastDao,avatarDao,shareDao,bookmarkDao,daoHelper,mediaFileService,securityService,settingsService,mediaScannerService,searchService,networkService,playerService,playlistService,versionService,statusService,ratingService,musicIndexService,audioScrobblerService,transcodingService,shareService,podcastService,adService,jukeboxService,folderBasedContentDirectory,upnpService,lastFmService,sonosService,metaDataParserFactory,ajaxMultiService,ajaxNowPlayingService,ajaxPlayQueueService,ajaxPlaylistService,ajaxLyricsService,ajaxCoverArtService,ajaxStarService,ajaxTagService,ajaxTransferService,ajaxChatService,localeResolver,filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,restRequestParameterProcessingFilter,basicProcessingFilterEntryPoint,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,basicExceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,daoAuthenticationProvider,userCacheWrapper,ldapAuthenticationProvider,bindAuthenticator,userDetailsServiceBasedAuthoritiesPopulator,ajaxServiceInterceptor,ajaxTagServiceSecure,ajaxTransferServiceSecure,cacheFactory,userCache,mediaFileMemoryCache,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,sonosEndpoint,sonosHelper]; root of factory hierarchy
1480 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
[GC 27776K->6124K(61056K), 0.0080800 secs]
[GC 31468K->22249K(62720K), 0.0397530 secs]
[GC 45929K->25913K(65856K), 0.0188090 secs]
[GC 49593K->29451K(67072K), 0.0255670 secs]
[GC 48523K->29421K(68800K), 0.0223890 secs]
4002 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
4010 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public net.sourceforge.subsonic.ajax.UploadInfo net.sourceforge.subsonic.ajax.TransferService.getUploadInfo()] with attributes [[ROLE_UPLOAD]]
4010 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public java.lang.String net.sourceforge.subsonic.ajax.TagService.setTags(int,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)] with attributes [[ROLE_COVERART]]
4010 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
[GC 48493K->29964K(67712K), 0.0231790 secs]
[Full GC 29964K->28813K(90496K), 0.1633670 secs]
[GC 48589K->30601K(91392K), 0.0042370 secs]
[GC 50377K->31656K(91776K), 0.0069230 secs]
5188 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 4299 ms
5347 [main] INFO / - Initializing Spring FrameworkServlet 'subsonic'
5347 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization started
5348 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@bab0e9: display name [WebApplicationContext for namespace 'subsonic-servlet']; startup date [Sat Jun 06 23:29:45 EDT 2015]; parent: org.springframework.web.context.support.XmlWebApplicationContext@391d46
5348 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/subsonic-servlet.xml]
5419 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@bab0e9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@c973d8
5471 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c973d8: defining beans [leftController,rightController,statusController,mainController,playlistController,playlistsController,importPlaylistController,topController,helpController,moreController,uploadController,lyricsController,allmusicController,podcastController,podcastReceiverController,podcastReceiverAdminController,setMusicFileInfoController,shareManagementController,setRatingController,randomPlayQueueController,changeCoverArtController,nowPlayingController,starredController,searchController,settingsController,playerSettingsController,dlnaSettingsController,sonosSettingsController,shareSettingsController,musicFolderSettingsController,networkSettingsController,transcodingSettingsController,internetRadioSettingsController,podcastSettingsController,generalSettingsController,advancedSettingsController,personalSettingsController,avatarUploadController,userSettingsController,passwordSettingsController,homeController,editTagsController,playQueueController,coverArtController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,hlsController,videoPlayerController,externalPlayerController,downloadController,premiumController,multiController,wapController,restController,dbController,premiumValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e28a36
[GC 52712K->33098K(92224K), 0.0061280 secs]
5999 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 652 ms
6010 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
6040 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
6049 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
6080 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.0.1:9412](local),objID:[0:0:0, 0]]]]
[GC 54154K->35105K(91264K), 0.0109640 secs]
6797 [btpool0-2] INFO org.directwebremoting.log.startup - Starting: DwrServlet v3.0.0.116.rc1 on jetty-6.1.x / JDK 1.6.0_31 from Sun Microsystems Inc. at
[GC 57441K->37480K(92032K), 0.0134710 secs]
[GC 59816K->41566K(91584K), 0.0294810 secs]
[GC 63454K->48476K(92992K), 0.0371240 secs]
[GC 70353K->48638K(88256K), 0.0326560 secs]
[GC 65790K->48777K(90624K), 0.0410610 secs]
[Full GC 48777K->48381K(116224K), 0.2605490 secs]
[GC 65533K->49513K(116224K), 0.0043310 secs]
root@ubuntu:/usr/local/sbin# /var/subsonic/subsonic_sh.log

operat0r
 
Posts: 18
Joined: Thu Aug 07, 2014 3:20 am

Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests