theotherp / nzbhydra2 Goto Github PK
View Code? Open in Web Editor NEWUsenet meta search
License: Other
Usenet meta search
License: Other
hi,
i‘ve just switched over to your new version which looks great and is super fast. i‘ve got everything up and running after migrating yet now i cant get nzbhydra to show up in organisr
While migrating from v1, i got the following crash every-time during download import.
Log:
INFO --- [0.0-5076-exec-1] org.nzbhydra.migration.SqliteMigration : Migrating X downloads from old database
ERROR --- [0.0-5076-exec-1] o.n.migration.FromPythonMigration : Error while migrating database
java.lang.NullPointerException: null
at org.nzbhydra.searching.SearchResultIdCalculator.calculateSearchResultId(SearchResultIdCalculator.java:8)
at org.nzbhydra.searching.SearchResultSequenceGenerator.generate(SearchResultSequenceGenerator.java:14)
at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)
at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)
at com.sun.proxy.$Proxy101.persist(Unknown Source)
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:508)
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:542)
at org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:504)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:489)
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:461)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy113.save(Unknown Source)
at org.nzbhydra.migration.SqliteMigration.migrateDownloads(SqliteMigration.java:158)
at org.nzbhydra.migration.SqliteMigration.migrate(SqliteMigration.java:129)
at org.nzbhydra.migration.SqliteMigration.migrate(SqliteMigration.java:108)
at org.nzbhydra.migration.SqliteMigration$$FastClassBySpringCGLIB$$72e2874a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.SqliteMigration$$EnhancerBySpringCGLIB$$7dae4580.migrate(<generated>)
at org.nzbhydra.migration.FromPythonMigration.startMigration(FromPythonMigration.java:105)
at org.nzbhydra.migration.FromPythonMigration.migrateFromUrl(FromPythonMigration.java:97)
at org.nzbhydra.migration.FromPythonMigration$$FastClassBySpringCGLIB$$25126370.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.FromPythonMigration$$EnhancerBySpringCGLIB$$7c1da1b2.migrateFromUrl(<generated>)
at org.nzbhydra.migration.MigrationWeb.migrateFromUrl(MigrationWeb.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nzbhydra.auth.HydraAnonymousAuthenticationFilter.doFilter(HydraAnonymousAuthenticationFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Hi,
I noticed the following error on Mylar when searching my comics via nzbhydra2
[ERROR CODE: 900] org.springframework.validation.BeanPropertyBindingResult: 1 errors
Field error in object 'newznabParameters' on field 'o': rejected value [xml]; codes [typeMismatch.newznabParameters.o,typeMismatch.o,typeMismatch.org.nzbhydra.mapping.newznab.OutputType,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [newznabParameters.o,o]; arguments []; default message [o]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'org.nzbhydra.mapping.newznab.OutputType' for property 'o'; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [org.nzbhydra.mapping.newznab.OutputType] for value 'xml'; nested exception is java.lang.IllegalArgumentException: No enum constant org.nzbhydra.mapping.newznab.OutputType.xml
I contacted the Mylar creator who said it’s nothing his end.
Could you please help resolve this?
When adding an indexer, the check capabilities button at the bottom is hidden until the api field is filled in (probably also the url too). But some indexers like SickBeard's don't have an api key. Maybe only hide while URL is unfilled?
restarted hydra and my system, still the same problem. how can i downgrade to .10?
error message in my browser:
Unexpected error when client tried to access path /. Error message: Zugriff verweigert
The more information you provide up front the higher the chance that I can help you.
Having a lot of:
An error occurred while contacting the indexer. It will not be usable until the caps check has been executed. You can trigger it manually from the indexer config box
Where it says supports 'TVRage' but still won't allow me to enable them.
Running your docker image just fine but noticed that it runs as root. Do you plan on providing the ability to run as a non-root user like your linuxserver image of v1?
When i click on drop down box on search and i press any of the options movies,TV or and other category it always says all and not the category i have clicked on.I used to be able to click on movies and press search it would give me all the latest releases.?.Also there is not much cover art showing in nzb360 now.
20180107_095616(1)(1).zip
When you use /torznab it might happen that with every search a result that was previously found is reported as new. That might cause duplicate results (acruing over time).
Error when starting up, Win10 x64, Oracle Java 9.01.
Based on the stack trace, and this SO post, it looks like the problem is due to javax.xml.bind
no longer being on the default classpath.
A simple fix, I think, would be to add an optional flag to the startup script, --java9
, which could cause the --add-modules javax.xml.bind
option to be passed to java on startup. A better solution would be to do a java version check before attempting to start hydra, and setting the options based on the results of that.
user@XENON C:\Tools\NZBHydra2
> & '.\NZBHydra2 Console.exe'
Logging wrapper output to C:\Tools\NZBHydra2\data\logs\wrapper.log
2018-01-07 12:43:01,585 INFO - Starting NZBHydra main process with command line: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -jar C:\Tools\NZBHydra2\lib\core-1.0.11-exec.jar --datafolder C:\Tools\NZBHydra2\data in folder C:\Tools\NZBHydra2
.__ __. ________ .______ __ __ ____ ____ _______ .______ ___ ___
| \ | | | / | _ \ | | | | \ \ / / | \ | _ \ / \ |__ \
| \| | `---/ / | |_) || |__| | \ \/ / | .--. || |_) | / ^ \ ) |
| . ` | / / | _ < | __ | \_ _/ | | | || / / /_\ \ / /
| |\ | / /----.| |_) || | | | | | | '--' || |\ \----./ _____ \ / /_
|__| \__| /________||______/ |__| |__| |__| |_______/ | _| `._____/__/ \__\ |____|
2018-01-07 12:43:02.940 INFO --- [ main] org.nzbhydra.NzbHydra : Starting NzbHydra on xenon with PID 20204 (C:\Tools\NZBHydra2\lib\core-1.0.11-exec.jar started by nskil in C:\Tools\NZBHydra2)
2018-01-07 12:43:02.954 INFO --- [ main] org.nzbhydra.NzbHydra : The following profiles are active: default
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/C:/Tools/NZBHydra2/lib/core-1.0.11-exec.jar!/BOOT-INF/lib/spring-core-4.3.11.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2018-01-07 12:43:05.758 INFO --- [ main] org.nzbhydra.config.BaseConfig : Using data folder C:\Tools\NZBHydra2\data
2018-01-07 12:43:06.584 INFO --- [ost-startStop-1] o.n.a.HydraAnonymousAuthenticationFilter : Granting basic user rights to anonymous users
2018-01-07 12:43:06.584 INFO --- [ost-startStop-1] o.n.a.HydraAnonymousAuthenticationFilter : Granting stats rights to anonymous users
2018-01-07 12:43:06.585 INFO --- [ost-startStop-1] o.n.a.HydraAnonymousAuthenticationFilter : Granting admin rights to anonymous users
2018-01-07 12:43:07.451 INFO --- [ main] o.f.core.internal.util.VersionPrinter : Flyway 4.2.0 by Boxfuse
2018-01-07 12:43:07.609 INFO --- [ main] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:h2:file:C:\Tools\NZBHydra2\data/database/nzbhydra (H2 1.4)
2018-01-07 12:43:07.716 INFO --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 9 migrations (execution time 00:00.023s)
2018-01-07 12:43:07.730 INFO --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": 1.8
2018-01-07 12:43:07.732 INFO --- [ main] o.f.core.internal.command.DbMigrate : Schema "PUBLIC" is up to date. No migration necessary.
2018-01-07 12:43:09.774 INFO --- [ main] org.nzbhydra.NzbHydra : Adding windows system tray icon
2018-01-07 12:43:10.006 INFO --- [ main] o.n.downloading.DownloaderProvider : Loading downloaders
2018-01-07 12:43:10.007 INFO --- [ main] o.n.downloading.DownloaderProvider : No downloaders configured
2018-01-07 12:43:10.169 WARN --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'newznab': Unsatisfied dependency expressed through field 'unmarshaller'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller' defined in class path resource [org/nzbhydra/web/WebConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.oxm.jaxb.Jaxb2Marshaller] for persistence metadata: could not find class that it depends on
2018-01-07 12:43:10.182 INFO --- [ main] org.nzbhydra.NzbHydra : Shutting down
2018-01-07 12:43:10.239 ERROR --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'newznab': Unsatisfied dependency expressed through field 'unmarshaller'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller' defined in class path resource [org/nzbhydra/web/WebConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.oxm.jaxb.Jaxb2Marshaller] for persistence metadata: could not find class that it depends on
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller' defined in class path resource [org/nzbhydra/web/WebConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.oxm.jaxb.Jaxb2Marshaller] for persistence metadata: could not find class that it depends on
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:526)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
Caused by: java.lang.IllegalStateException: Failed to introspect bean class [org.springframework.oxm.jaxb.Jaxb2Marshaller] for persistence metadata: could not find class that it depends on
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:401)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:333)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:992)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
Caused by: java.lang.NoClassDefFoundError: Ljavax/xml/bind/Marshaller$Listener;
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.base/java.lang.Class.getDeclaredFields(Unknown Source)
at org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:715)
at org.springframework.util.ReflectionUtils.doWithLocalFields(ReflectionUtils.java:656)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.buildPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:418)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:397)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:333)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:992)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.Marshaller$Listener
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.base/java.lang.Class.getDeclaredFields(Unknown Source)
at org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:715)
at org.springframework.util.ReflectionUtils.doWithLocalFields(ReflectionUtils.java:656)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.buildPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:418)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:397)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:333)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:992)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
2018-01-07 12:43:11,365 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it
Java version check:
user@XENON C:\Tools\NZBHydra2
> java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
user@XENON C:\Tools\NZBHydra2
> which java
CommandType Name Path
----------- ---- ----
Application java.exe C:\ProgramData\Oracle\Java\javapath\java.exe
To get nzbhydra2 running (commandline):
Install Java(8). If you want the standard gui install go to java.com.
If you want my minimalist recommendation, go to Oracle and download the Java SE release 8 JRE tar.gz file. That's the one with no installer. Just double-click it to unpack and put the files where you want.
Download the linux version of nzbhydra2 from https://github.com/theotherp/nzbhydra2/releases and unzip it somewhere.
edit: Get the wrapper script, e.g.:
curl -O https://raw.githubusercontent.com/theotherp/nzbhydra2/master/other/wrapper/nzbhydra2wrapper.py
then chmod a+x nzbhydra2wrapper.py
cd to the nzbhydra2 directory and run the following:
edit: you can now just use the wrapper script, so:
./nzbhydra2wrapper.py
instead of: java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar lib/core-1.0.0-exec.jar directstart
or (if you used my minimalist install of Java)
export JAVA_HOME=/SOMEPATH/jre1.8.0_152.jre/Contents/Home
edit: then use the wrapper script like this:
./nzbhydra2wrapper.py --java $JAVA_HOME/bin/java
instead of: $JAVA_HOME/bin/java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar lib/core-1.0.0-exec.jar directstart
Notes:
Those java options are extracted from the python obfuscation, and some may not be necessary.
You must get Java SE 8. Nzbhydra2 will not run with Java SE 9.
The formatting of the Config pages is a bit strange in that everything wraps badly. Reducing the font size helps a lot, so use command and -
I just run this in a Terminal window. It's possible to create a fancy launchdaemon entry to auto(re)start it as needed, but I'm too lazy to do that now. Until then things like restart won't work, use shutdown and rerun hydra from the Terminal window.
Startup may take up to a couple of minutes for some reasons, even on machines which are quite fast.
When trying to shutdown or restart i receive the following exception on linux. The process stays active.
2018-01-07 15:54:01.570 WARN --- [ Thread-6] .s.c.a.CommonAnnotationBeanPostProcessor : Invocation of destroy method failed on bean with name 'nzbHydra': java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
Exception in thread "Thread-6" java.lang.NoClassDefFoundError: Could not initialize class org.nzbhydra.WindowsTrayIcon
at org.nzbhydra.update.UpdateManager.lambda$exitWithReturnCode$3(UpdateManager.java:291)
at java.lang.Thread.run(Thread.java:748)
I figure the English one would be more appropriate.
nzbhydra has a lovely button to delete the log and database.
will be nice to have it back in nzbhydra2, too.
(or there is no problem about an ever growing log and database regarding the RAM for java?)
That's bad. No idea how I never noticed that.
No packages exist for Synology or any other distrubutions. I have no idea how to do that.
I'm working on the AUR package for nzbhydra2 and the typical setup is /usr/lib/nzbhydra2
for static content and /var/lib/nzbhydra2
for db, etc. When I feed in --datafolder, it then looks for lib
there too.
2018-01-06 12:17:03,088 CRITICAL - Error: Lib folder /var/lib/nzbhydra2/lib not found. An update might've failed or the installation folder is corrupt
Screenshot (highlighted in red): https://vgy.me/gz5hpM.png
In the migration modal nzbhydra.db
is misspelled as nzbyhydra.db
.
Please let me know if you'd like more info, but I think this is straightforward.
In Config/Main/Logging
, the Log Markers
dropdown has Uer agent mapping
. I would guess this should be User agent mapping
.
I have Linux on ARM (ARM64 to be precised). Running ./nzbhydra2
gives
-bash: ./nzbhydra2: cannot execute binary file: Exec format error
... which is understandable as:
$ file nzbhydra2
nzbhydra2: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=373ec5dee826653796e927ac3d65c9a8ec7db9da, stripped
I can start on ARM64 with
java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar lib/*.jar --datafolder data
... which makes we wonder: what is the added value of the x86-64 executable nzbhydra2? Why not just a one-liner/few-liner script: saves space, and works on different CPUs?
I get the error below trying to start with ./nzbhydra2
(on Ubuntu 17.10 x86-64, openjdk version "1.8.0_151")
The strange thing: it does work with the exact command from ./nzbhydra2
, so
java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar /home/sander/Downloads/nzbhydra2/hydra-1.0.5/lib/core-1.0.5-exec.jar --datafolder /home/sander/Downloads/nzbhydra2/hydra-1.0.5/data
And it also works with a plain java -jar lib/core-1.0.5-exec.jar directstart
So something strange because of or in ./nzbhydra2? Or something I'm doing wrong?
sander@sammie-1710:~/Downloads/nzbhydra2/hydra-1.0.5$ ./nzbhydra2
Logging wrapper output to /home/sander/Downloads/nzbhydra2/hydra-1.0.5/data/logs/wrapper.log
2018-01-06 23:33:34,422 INFO - Starting NZBHydra main process with command line: java -Xmx128
M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar /home/sander/Downloads/nzbhydra2/hydra-1.0.5/lib/core-1.0.5-exec.jar --datafolder /home/sander/Downloads/nzbhydra2/hydra-1.0.5/data in folder /home/sander/Downloads/nzbhydra2/hydra-1.0.5
Invalid maximum heap size: -Xmx128
M
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2018-01-06 23:33:34,459 ERROR - Main process shut down unexpectedly. If the wrapper was started in daemon mode you might not see the error output. Start Hydra manually with the same parameters in the same environment to see it
sander@sammie-1710:~/Downloads/nzbhydra2/hydra-1.0.5$
I noticed a few of my indexers are red when testing them in hydra I get this seems only happening with omg.
Error testing capabilities
An error occurred while contacting the indexer. It will not be usable until the caps check has been executed. You can trigger it manually from the indexer config box.
Than follow by Error testing capabilities
An error occurred while contacting the indexer. It will not be usable until the caps check has been executed. You can trigger it manually from the indexer config box.
I have ran the Check capabilities several times, still same issues, check paste bin not sure of those logs help only thing thus far I found with omg in it.
Hi,
When viewing nzbhydra2 on any device iPad (iOS) mobile (android) I get the below error message.
An unknown error occurred while communicating with NZBHydra:
{"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"headers":{"NzbHydra2-Handle-Errors-Generically":true,"Accept":"application/json, text/plain, */*","X-XSRF-TOKEN":"3e2f2f2b-0b2d-4d8c-a222-d1364bd88067"},"url":"internalapi/welcomeshown","cached":false},"statusText":""}
I don’t see this message on my pc (windows 10) and I’m accessing it via nginx proxy if that makes any difference.
Don't know why.
I have nzb hydra set behind a proxy using apache. It's also set to proxy from indexer. If I download an nzb after a search, it downloads properly but doesn't append ".nzb" to the end of the file name. It just downloads a file named with random numbers. It's obviously correct, because if I rename it with .nzb, it imports properly into any downloader
Sending links directly to nzbget works fine
Frontend issue only, restart actually is executed, frontend just doesn't check it.
Don't use Python for a wrapper, write a native wrapper using C++ or similar.
Same way Sonarr etc. do it. Call it periodically and check the state. Can use the existing download configuration and doesn't require any further doing by the user.
Had it installed as a service in 1.00, upgrade to 1.05 failed. Subsequent starts (I installed the fresh 1.05 copy manually, and added the data folder from the original install) fail with an error regarding xmx 256M value being incorrect. If that xmx line is deleted from the YAML file, and NZBHydra2 is manually started from the command line as: nzbhydra2 --nobrowser --xmx 256M
it runs correctly without issue. I believe this may be a parsing issue from the original 1.00 file where I modified the xmx value from within the web GUI and saved it. Running it through TMUX at the moment, as my service won't start it now.
Ubuntu 16.04.3 x64 install.
I'm running 1.0.12 on Ubuntu 17.10 with OpenJDK (but see the same thing with Oracle). CPU is a i5-4250U and probably not the limiting factor.
In around 9 out of 10 times after starting NZBHydra, the initial web call takes ages:
2018-01-09 11:10:03.958 INFO --- [ main] org.nzbhydra.NzbHydra : Started NzbHydra in 9.978 seconds (JVM running for 10.501)
2018-01-09 11:16:45.889 WARN --- [0.0-5076-exec-1] o.a.c.util.SessionIdGeneratorBase : [IP: 10.0.0.64] Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [399,055] milliseconds.
There appears to be no connection to the config (as it also happens after wiping the data folder) and increasing the memory to 512 MB does not help. Any idea what might be causing this?
So, after completing migration I restart and then my login dialog comes up.
I enter my user name and password and it says login failed.
I verified that I am entering the correct username and password that is in the yml file.
Here is the logs, but doesn't seem very helpful.
2018-01-09 16:17:10.143 INFO --- [0.0-5076-exec-1] o.n.migration.FromPythonMigration : [IP: 172.17.0.1] Migration completed successfully
2018-01-09 16:20:01.796 WARN --- [0.0-5076-exec-3] org.nzbhydra.web.ErrorHandler : [IP: 172.17.0.1] Unexpected error when client tried to access path /login and parameters password=
2018-01-09 16:21:27.406 WARN --- [0.0-5076-exec-2] org.nzbhydra.web.ErrorHandler : [IP: 172.17.0.1] Unexpected error when client tried to access path /login and parameters _csrf=83215893-8793-4665-bd6f-eab25c8b1200, username=, password=
2018-01-09 16:21:47.783 WARN --- [0.0-5076-exec-3] org.nzbhydra.web.ErrorHandler : [IP: 172.17.0.1] Unexpected error when client tried to access path /login and parameters password=
2018-01-09 16:21:53.698 WARN --- [0.0-5076-exec-5] org.nzbhydra.web.ErrorHandler : [IP: 172.17.0.1] Unexpected error when client tried to access path /login and parameters password=
In some scenarios, especially with big databases, stats calculation may take 60 seconds or even so long that Hydra aborts (in which case a restart is required).
When Hydra is started Ctrl+C sometimes doesn't work. Use the web frontend or kill the process if absolutely necessary.
Seems to only affect windows, so it's not a big problem.
full log this time:
2018-01-07 09:56:25.502 ERROR --- [0.0-5075-exec-5] org.nzbhydra.update.UpdateManager : [IP: 173.20.227.110] Error while download or saving ZIP
java.nio.channels.ClosedByInterruptException: null
at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216)
at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
at java.nio.channels.Channels.writeFully(Channels.java:101)
at java.nio.channels.Channels.access$000(Channels.java:61)
at java.nio.channels.Channels$1.write(Channels.java:174)
at java.nio.file.Files.copy(Files.java:2909)
at java.nio.file.Files.copy(Files.java:3027)
at org.nzbhydra.okhttp.WebAccess.downloadToFile(WebAccess.java:92)
at org.nzbhydra.update.UpdateManager.installUpdate(UpdateManager.java:219)
at org.nzbhydra.update.UpdatesWeb.installUpdate(UpdatesWeb.java:88)
at org.nzbhydra.update.UpdatesWeb$$FastClassBySpringCGLIB$$ae0aa0f7.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
09:56:25.830 [main] DEBUG org.nzbhydra.NzbHydra - Setting property server.port to value 5075
09:56:25.834 [main] DEBUG org.nzbhydra.NzbHydra - Setting property browser.disabled to value true
.__ . ________ .____ __ __ ____ ____ _______ .______ ___ ___
| \ | | | / | _ \ | | | | \ \ / / | \ | _ \ / \ |__
| | | ---/ / | |_) || |__| | \ \/ / | .--. || |_) | / ^ \ ) | | .
| / / | _ < | __ | _ / | | | || / / /\ \ / /
| |\ | / /----.| |) || | | | | | | '--' || |\ ----./ _____ \ / /
|| __| /||/ || || || |_______/ | _| `._// _\ |___|
2018-01-07 09:56:26.991 INFO --- [ main] org.nzbhydra.NzbHydra : Starting NzbHydra on 9e5aa06f7d72 with PID 322 (/app/hydra2/lib/core-exec.jar started by abc in /app/hydra2)
2018-01-07 09:56:27.000 INFO --- [ main] org.nzbhydra.NzbHydra : The following profiles are active: default
2018-01-07 09:56:29.640 INFO --- [ main] org.nzbhydra.config.BaseConfig : Using data folder /config
2018-01-07 09:56:29.759 INFO --- [ main] a.HydraGlobalMethodSecurityConfiguration : Enabling auth type FORM
2018-01-07 09:56:32.979 INFO --- [ main] o.f.core.internal.util.VersionPrinter : Flyway 4.2.0 by Boxfuse
2018-01-07 09:56:33.102 INFO --- [ main] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:h2:file:/config/database/nzbhydra (H2 1.4)
2018-01-07 09:56:33.170 INFO --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 9 migrations (execution time 00:00.016s)
2018-01-07 09:56:33.180 INFO --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": 1.8
2018-01-07 09:56:33.180 INFO --- [ main] o.f.core.internal.command.DbMigrate : Schema "PUBLIC" is up to date. No migration necessary.
2018-01-07 09:56:35.074 WARN --- [ main] org.nzbhydra.NzbHydra : Overwritten settings will be displayed with their original value in the config section of the GUI
2018-01-07 09:56:36.065 INFO --- [ main] o.n.searching.SearchModuleProvider : Loading indexers
2018-01-07 09:56:36.072 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer 6box
2018-01-07 09:56:36.125 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer Binsearch
2018-01-07 09:56:36.128 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer DogNZB
2018-01-07 09:56:36.130 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer Drunken Slug
2018-01-07 09:56:36.132 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer NZB Finder
2018-01-07 09:56:36.134 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer NZBCat
2018-01-07 09:56:36.143 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer NZBGeek
2018-01-07 09:56:36.150 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer NZBIndex
2018-01-07 09:56:36.152 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer altHUB
2018-01-07 09:56:36.160 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer anizb
2018-01-07 09:56:36.162 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer nzb.su
2018-01-07 09:56:36.163 INFO --- [ main] o.n.searching.SearchModuleProvider : Initializing indexer omgwtfnzbs
2018-01-07 09:56:36.308 INFO --- [ main] o.n.downloading.DownloaderProvider : Loading downloaders
2018-01-07 09:56:36.308 INFO --- [ main] o.n.downloading.DownloaderProvider : Initializing downloader NZBGet
2018-01-07 09:56:38.324 INFO --- [ main] org.nzbhydra.config.BaseConfig : Using base host 172.18.0.19
2018-01-07 09:56:38.324 INFO --- [ main] org.nzbhydra.NzbHydra : You can access NZBHydra 2 in your browser via http://172.18.0.19:5075
2018-01-07 09:56:38.325 INFO --- [ main] org.nzbhydra.NzbHydra : Started NzbHydra in 12.359 seconds (JVM running for 12.784)
2018-01-07 09:58:15.603 WARN --- [0.0-5075-exec-1] org.nzbhydra.web.ErrorHandler : [IP: 5.189.142.136] Unexpected error when client tried to access path /.git/config
org.springframework.security.access.AccessDeniedException: Access is denied
at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:84)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:233)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.web.MainWeb$$EnhancerBySpringCGLIB$$274e5254.index()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
System remains on 1.0.10.
I'm not sure this is a linuxserver.io issue or a hydra2 issue.
You don't have to follow this template by the letter, just think about what you're trying to achieve ;-)
What do you expect to happen? What does happen?
Trying to add Usenet-Crawler as an indexer fails with 404 Not Found
Have you searched for this problem? You don't have to answer, just make sure.
Yes
Can the problem be reproduced? How?
Happens every time i try to run a CAPS check for Usenet-Crawler
(Tested both http and https)
Getting these errors in my logs:
2018-01-08 13:37:24.956 ERROR --- [ool-51-thread-1] org.nzbhydra.okhttp.WebAccess : URL call to http://www.usenet-crawler.com/api?apikey=&t=tvsearch&rid=24493 returned 404:Not Found
Copying this URL and adding my APIKEY works perfectly fine every time.
Both externally and from the machine NZBHydra 2 is running from
Environment
5075
Steps:
NZB Adding Type
Send Link
. Checking in NZBGet shows NZBHydra 2 connected to test connection
was successful.Fetching
URL
Results:
Connection to 127.0.0.1 failed: ErrNo 111, Connection refused
and fails to get the nzb file (see screenshot: https://vgy.me/rGEBBb.png)Alternate Steps:
NZB Adding Type
Upload NZB
Results:
Unable to add NZB. Make sure the downloader is running and properly configured.
Note: I had no issues with these settings in Hydra 1.
debuginfos:
https://dl.dropboxusercontent.com/s/tkob0k5gk38eueb/nzbhydra-debuginfos-2018-01-06-19-03.zip
Please let me know if I can provide more info or troubleshooting. Hopefully I'm not overlooking something basic like I did in my last issue... :P
If multiple JAR files are found in the library the latest should be found; don't abort.
Alternative: Add some widget that allows to configure multiple tuples where at least one must be present per tuple. Or something like that.
Thoughts?
It logs that it successfully connects to the get versions and migration url endpoint, but then fails w/ the below message. I've added --xmx 512
to options, but it makes no difference.
java.sql.SQLException: The database has been closed
at org.sqlite.core.NativeDB.throwex(NativeDB.java:471)
at org.sqlite.core.NativeDB.errmsg_utf8(Native Method)
at org.sqlite.core.NativeDB.errmsg(NativeDB.java:137)
at org.sqlite.core.DB.newSQLException(DB.java:921)
at org.sqlite.core.DB.throwex(DB.java:886)
at org.sqlite.core.NativeDB._open_utf8(Native Method)
at org.sqlite.core.NativeDB._open(NativeDB.java:71)
at org.sqlite.core.DB.open(DB.java:174)
at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
at org.sqlite.core.CoreConnection.(CoreConnection.java:76)
at org.sqlite.jdbc3.JDBC3Connection.(JDBC3Connection.java:26)
at org.sqlite.jdbc4.JDBC4Connection.(JDBC4Connection.java:24)
at org.sqlite.SQLiteConnection.(SQLiteConnection.java:45)
at org.sqlite.JDBC.createConnection(JDBC.java:114)
at org.sqlite.JDBC.connect(JDBC.java:88)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:270)
at org.nzbhydra.migration.SqliteMigration.migrate(SqliteMigration.java:92)
at org.nzbhydra.migration.SqliteMigration$$FastClassBySpringCGLIB$$72e2874a.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.SqliteMigration$$EnhancerBySpringCGLIB$$50b03f30.migrate()
at org.nzbhydra.migration.FromPythonMigration.startMigration(FromPythonMigration.java:105)
at org.nzbhydra.migration.FromPythonMigration.migrateFromUrl(FromPythonMigration.java:97)
at org.nzbhydra.migration.FromPythonMigration$$FastClassBySpringCGLIB$$25126370.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.FromPythonMigration$$EnhancerBySpringCGLIB$$4f1f9b62.migrateFromUrl()
at org.nzbhydra.migration.MigrationWeb.migrateFromUrl(MigrationWeb.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nzbhydra.auth.HydraAnonymousAuthenticationFilter.doFilter(HydraAnonymousAuthenticationFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
"For big databases I recommend temporarily starting NZBHydra with more memory (using the parameter --xmx 512M)."
Jan 06 14:02:09 apollo nzbhydra2[30064]: 2018-01-06 14:02:09,870 INFO - Starting NZBHydra main process with command line: java -Xmx512MM -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=ALWAYS -jar /usr/lib/nzbhydra2/lib/core-1.0.4-exec.jar --nobrowser --datafolder /var/lib/nzbhydra2 in
Jan 06 14:02:09 apollo nzbhydra2[30064]: Invalid maximum heap size: -Xmx512MM
Looks like you're adding an M inside, so the parameter suggestion needs to lose the M or the option parsing needs to not add an M. :)
I'm using a dashboard (Organizr) as a way to manage all my apps and it uses iframes to load each app into the main window but for some reason when it tries to load NZBHydra's "login.html" it always uses http? Normally i'll just use "/hydra" as the link so i can load it locally and through my domain but even when i change it to the full "https://domain.com/hydra" it still tries to load the resource from http.
Did a test just loading NZBHydra over my domain (https://domain.com/hydra/) in chrome without going through the dash and i see this:
login.html
General
Request URL: http://domain.com/hydra/login.html
Request Method: GET
Status Code: 307 Internal Redirect
Referrer Policy: no-referrer
Response Headers
HTTP/1.1 307 Internal Redirect
Location: https://domain.com/hydra/login.html
Non-Authoritative-Reason: HSTS
So when i go to NZBHydra address the "login.html" page is initially requested with http for some reason and then Chrome does an internal redirect to https. Weirdly enough the login will work in Firefox? Neither browser will load NZBHydra when going through the dashboard giving the mixed content warning.
All my other apps seems to load fine and i've tried a few different web servers (Nginx, Caddy) with different configs but not sure why NZBHydra's login.html is always requested over http.
Any clue where to look would be great and thanks for all your hard work!
Must be application/x-bittorrent
Same problem as in v1. No idea how to fix it without using a different framework.
The more information you provide up front the higher the chance that I can help you.
What do you want to happen?
API Keys for every user i register
If not clear, why do you want it?
So that a friend, which uses sonarr too, doesnt have to use my api key.
Do you think it's something only you need or something that might be popular?
I think that would be a semipopular feature
If need be explain the use case.
I dont think this is needed.
Im not sure if this feature is already there and i didnt see it, or if you want to bring this into nzbhydra2.
If it is already planned / it exists already, please excuse my issue.
Tried to search for an ebook on my nzedb-indexer (with hydra1 it works 100%) and got the error message
Indexer returned error code 202 and description 'No such function (book)' when URL http://www.mydomain.com:7780/api?apikey=xxxyyyzzz&t=book&extended=1&q=Darcy&cat=7010&limit=100&offset=0 was called
settings are exactly as in the hydra1 installation.
Steps:
settings.cfg
and nzbhydra.db
into a sub-folder of NZBHydra2's /data
volume.System
> Control
> Migrate from NZBHydra 1
.NZBHydra 1 is running on another machine or in a container
.Start Migration
.Results:
Config
> Indexers
. Other settings also seem to have failed to import.java.sql.SQLException: no such column: 'author'
(more info in log section below).Note: I have not yet tried running with --xmx 512M
, as Synology's Docker UI makes this difficult and my log files make it seem like this is not the issue. However, if you request, I will figure out how to run it with this argument.
Log (debug output enabled and indexer names redacted):
2018-01-06 16:14:44.910 WARN --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Deleting all indexers, indexer searches, searches, downloads and API accesses from database
2018-01-06 16:14:45.407 INFO --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Starting database migration
2018-01-06 16:14:45.665 INFO --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating 13 indexers from old database
2018-01-06 16:14:45.700 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.515 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.517 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.520 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.522 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.524 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.527 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.529 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.530 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.532 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.535 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.537 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.538 DEBUG --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating indexer IndexerEntity{id=0, name=REDACTED}
2018-01-06 16:14:46.540 INFO --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Successfully migrated indexers from old database
2018-01-06 16:14:46.657 INFO --- [0.0-5076-exec-5] org.nzbhydra.migration.SqliteMigration : [IP: 172.17.0.1] Migrating 215 searches from old database
2018-01-06 16:14:46.818 ERROR --- [0.0-5076-exec-5] o.n.migration.FromPythonMigration : [IP: 172.17.0.1] Error while migrating database
java.sql.SQLException: no such column: 'author'
at org.sqlite.jdbc3.JDBC3ResultSet.findColumn(JDBC3ResultSet.java:48)
at org.sqlite.jdbc3.JDBC3ResultSet.getString(JDBC3ResultSet.java:443)
at org.nzbhydra.migration.SqliteMigration.migrateSearches(SqliteMigration.java:278)
at org.nzbhydra.migration.SqliteMigration.migrate(SqliteMigration.java:110)
at org.nzbhydra.migration.SqliteMigration.migrate(SqliteMigration.java:100)
at org.nzbhydra.migration.SqliteMigration$$FastClassBySpringCGLIB$$72e2874a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.SqliteMigration$$EnhancerBySpringCGLIB$$7dae4580.migrate(<generated>)
at org.nzbhydra.migration.FromPythonMigration.startMigration(FromPythonMigration.java:103)
at org.nzbhydra.migration.FromPythonMigration.migrateFromFiles(FromPythonMigration.java:65)
at org.nzbhydra.migration.FromPythonMigration$$FastClassBySpringCGLIB$$25126370.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at org.nzbhydra.migration.FromPythonMigration$$EnhancerBySpringCGLIB$$7c1da1b2.migrateFromFiles(<generated>)
at org.nzbhydra.migration.MigrationWeb.migrateFromFiles(MigrationWeb.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.nzbhydra.auth.HydraAnonymousAuthenticationFilter.doFilter(HydraAnonymousAuthenticationFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Please let me know if I can provide any more info or testing. Thanks for putting all this effort into the rewrite!
Jan 09 19:32:01 Ubuntu-1604-xenial-64-minimal nzbhydra2[755]: 2018-01-09 19:32:01.608 INFO --- [0.1-5076-exec-3] org.nzbhydra.update.UpdateManager : Shutting down to let wrapper execute the update
Jan 09 19:32:01 Ubuntu-1604-xenial-64-minimal nzbhydra2[755]: 2018-01-09 19:32:01.915 INFO --- [ Thread-6] org.nzbhydra.NzbHydra : Shutting down
Jan 09 19:32:02 Ubuntu-1604-xenial-64-minimal nzbhydra2[755]: 2018-01-09 19:32:02,793 WARNING - Unable to read control ID from /opt/nzbhydra2/data/control.id: [Errno 2] No such file or directory: '/opt/nzbhydra2/data/control.id'. Falling back to process return code 0
Jan 09 19:32:02 Ubuntu-1604-xenial-64-minimal nzbhydra2[755]: 2018-01-09 19:32:02,793 INFO - NZBHydra main process has terminated for shutdown
Borked update maybe? Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.