Page 1 of 1

Help clearing podcast error

PostPosted: Wed Jul 12, 2017 4:32 pm
by hargisa
I tried to set up a podcast to download and received an error that I can't seem to get rid of. I just want to clear out the error and try setting up the podcast again.

Subsonic is running on Windows XP and I'm accessing it directly through the browser interface.

Here is the error I received:
Exception java.lang.SecurityException
Message Access denied to file c:\music\Podcast\The Eddie Trunk Podcast\ET_Ep157_MaxNorman_Seg1_1745771.mp3
Java version Oracle Corporation 1.8.0_121
Operating system Windows XP 5.1
Server jetty-6.1.x
Memory Used 99 of 107 MB
Stack trace java.lang.SecurityException: Access denied to file c:\music\Podcast\The Eddie Trunk Podcast\ET_Ep157_MaxNorman_Seg1_1745771.mp3
at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:83)
at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:64)
at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:131)
at net.sourceforge.subsonic.service.PodcastService.addMediaFileIdToEpisodes(PodcastService.java:248)
at net.sourceforge.subsonic.service.PodcastService.getNewestEpisodes(PodcastService.java:208)
at net.sourceforge.subsonic.controller.PodcastChannelsController.handleRequestInternal(PodcastChannelsController.java:56)
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:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:29)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:25)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:36)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:41)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Re: Help clearing podcast error

PostPosted: Fri Jul 21, 2017 2:48 pm
by srobison13
I've got the same issue after attempting to move my podcast directory from the default C:\music\Podcast. I've tried changing directories, restoring the default, restarting everything - I'm at a loss. I'm beginning to think a new install may be required. Thanks in advance for any help on this.

Re: Help clearing podcast error

PostPosted: Wed Oct 25, 2017 7:10 am
by d.w.d
Hello.
I've the same error and don't wont reset my configuration.
Have you resolved your problem ? There is a commmand to delete a podcast when the subsonic interface display only the exception ?

Thanks. Regards,
Damien

Re: Help clearing podcast error

PostPosted: Tue Dec 05, 2017 8:55 am
by folkestorp
I have the same problem. Is here someone how know how to solve it?

Re: Help clearing podcast error

PostPosted: Wed Dec 06, 2017 10:29 am
by toolman
I don't know if it will work, but you all could look into using the API as described on http://www.subsonic.org/pages/api.jsp.
There is an api to manage podcasts. (getPodcasts getNewestPodcasts refreshPodcasts createPodcastChannel deletePodcastChannel deletePodcastEpisode downloadPodcastEpisode)
If you study the document you'll find that you'll have to use a http-request like "http://your-server/rest/getPodcasts?u=admin&p=password&v=1.12.0&c=myapp" to find the ID of the podcast that's giving you trouble and next you'll have to "http://your-server/rest/deletePodcastEpisode&ID=X?u=admin&p=password&v=1.12.0&c=myapp" to delete the episode.
At least, that's what it looks like.
If I'm in error and anybody can correct any mistakes I made that would be great.

Re: Help clearing podcast error

PostPosted: Sun Mar 11, 2018 10:32 pm
by jayr
Thanks for this tip! I got it to work but it took a couple tries to get the syntax correct.
This is what worked for me: http://your-server/rest/deletePodcastChannel?u=admin&p=password&v=1.12.0&c=myapp&id=4

Need to have id at the end.

Thanks again toolman!

Re: Help clearing podcast error

PostPosted: Mon Mar 12, 2018 10:14 pm
by toolman
Well thank you for letting us now that it really worked and for the correct syntax.