ninjatech 0 Posted December 22, 2017 Share Posted December 22, 2017 (edited) I've been trying to setup the Google Drive plugin on Emby server version 3.2.60.0 (docker container https://hub.docker.com/r/emby/embyserver/). Its been working fantastic. I've got the local Folder sync plugin working, but the Google Drive plugin doesnt complete. I've successfully followed the instructions on the given links to create a Client ID and Secret, but when I go to add a Google Drive share, the window just shows the colored spinning line. I've noticed this error below in my log files. Any hints on what I'm doing wrong? 2017-12-22 17:36:34.261 Error App: Error creating MediaBrowser.Plugins.GoogleDrive.RestServices.GoogleDriveRestfulService2 *** Error Report *** Version: 3.2.60.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.14.4.0 64-Bit OS: True 64-Bit Process: True User Interactive: False Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Sun Oct 1 17:55:43 UTC 2017) Processor count: 8 Program data path: /config Application directory: /usr/lib/emby-server/bin SimpleInjector.ActivationException: No registration for type GoogleDriveRestfulService2 could be found and an implicit registration could not be made. The constructor of type GoogleDriveRestfulService2 contains the parameter with name 'configurationRetriever' and type IConfigurationRetriever that is not registered. Please ensure IConfigurationRetriever is registered, or change the constructor of GoogleDriveRestfulService2. ---> SimpleInjector.ActivationException: The constructor of type GoogleDriveRestfulService2 contains the parameter with name 'configurationRetriever' and type IConfigurationRetriever that is not registered. Please ensure IConfigurationRetriever is registered, or change the constructor of GoogleDriveRestfulService2. at SimpleInjector.Container.ThrowParameterTypeMustBeRegistered (SimpleInjector.InjectionTargetInfo target) [0x00047] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Advanced.DefaultDependencyInjectionBehavior.GetInstanceProducer (SimpleInjector.InjectionConsumerInfo consumer, System.Boolean throwOnFailure) [0x00043] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.ContainerOptions.GetInstanceProducerFor (SimpleInjector.InjectionConsumerInfo consumer) [0x00006] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildConstructorParameters (System.Reflection.ConstructorInfo constructor) [0x00038] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildNewExpression () [0x00017] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildTransientExpression () [0x00000] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Lifestyles.TransientLifestyle+TransientLifestyleRegistration`1[TImplementation].BuildExpression () [0x00015] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.InstanceProducer.BuildExpressionInternal () [0x00011] in <f2d878658c894f5cba3055a36d631506>:0 at System.Lazy`1[T].CreateValue () [0x00075] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 --- End of inner exception stack trace --- at SimpleInjector.InstanceProducer.GetInstance () [0x00037] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstanceFromProducer (SimpleInjector.InstanceProducer instanceProducer, System.Type serviceType) [0x0000a] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstanceForRootType (System.Type serviceType) [0x0002e] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstance (System.Type serviceType) [0x0001c] in <f2d878658c894f5cba3055a36d631506>:0 at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe (System.Type type) [0x00000] in <a12a7c6217e143eaa39430af322cb07e>:0 SimpleInjector.ActivationException at SimpleInjector.InstanceProducer.GetInstance () [0x00037] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstanceFromProducer (SimpleInjector.InstanceProducer instanceProducer, System.Type serviceType) [0x0000a] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstanceForRootType (System.Type serviceType) [0x0002e] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Container.GetInstance (System.Type serviceType) [0x0001c] in <f2d878658c894f5cba3055a36d631506>:0 at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe (System.Type type) [0x00000] in <a12a7c6217e143eaa39430af322cb07e>:0 InnerException: SimpleInjector.ActivationException SimpleInjector.ActivationException: The constructor of type GoogleDriveRestfulService2 contains the parameter with name 'configurationRetriever' and type IConfigurationRetriever that is not registered. Please ensure IConfigurationRetriever is registered, or change the constructor of GoogleDriveRestfulService2. at SimpleInjector.Container.ThrowParameterTypeMustBeRegistered (SimpleInjector.InjectionTargetInfo target) [0x00047] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Advanced.DefaultDependencyInjectionBehavior.GetInstanceProducer (SimpleInjector.InjectionConsumerInfo consumer, System.Boolean throwOnFailure) [0x00043] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.ContainerOptions.GetInstanceProducerFor (SimpleInjector.InjectionConsumerInfo consumer) [0x00006] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildConstructorParameters (System.Reflection.ConstructorInfo constructor) [0x00038] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildNewExpression () [0x00017] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildTransientExpression () [0x00000] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Lifestyles.TransientLifestyle+TransientLifestyleRegistration`1[TImplementation].BuildExpression () [0x00015] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.InstanceProducer.BuildExpressionInternal () [0x00011] in <f2d878658c894f5cba3055a36d631506>:0 at System.Lazy`1[T].CreateValue () [0x00075] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 at SimpleInjector.Container.ThrowParameterTypeMustBeRegistered (SimpleInjector.InjectionTargetInfo target) [0x00047] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Advanced.DefaultDependencyInjectionBehavior.GetInstanceProducer (SimpleInjector.InjectionConsumerInfo consumer, System.Boolean throwOnFailure) [0x00043] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.ContainerOptions.GetInstanceProducerFor (SimpleInjector.InjectionConsumerInfo consumer) [0x00006] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildConstructorParameters (System.Reflection.ConstructorInfo constructor) [0x00038] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildNewExpression () [0x00017] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Registration.BuildTransientExpression () [0x00000] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.Lifestyles.TransientLifestyle+TransientLifestyleRegistration`1[TImplementation].BuildExpression () [0x00015] in <f2d878658c894f5cba3055a36d631506>:0 at SimpleInjector.InstanceProducer.BuildExpressionInternal () [0x00011] in <f2d878658c894f5cba3055a36d631506>:0 at System.Lazy`1[T].CreateValue () [0x00075] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-22-emby-Log.txt 2017-12-22-docker-emby-log.txt Edited December 22, 2017 by ninjatech Link to comment Share on other sites More sharing options...
Luke 37185 Posted December 23, 2017 Share Posted December 23, 2017 Hi, I've pushed an update to the plugin. Please try that, thanks. Link to comment Share on other sites More sharing options...
ninjatech 0 Posted December 23, 2017 Author Share Posted December 23, 2017 I've tested plugin version 3.1.4 (hopefully thats the correct one). Still not completing on Emby 3.2.60.0 although, I tested it with Emby server 3.2.50.00 and it works there. Attached updated logs for Emby 3.2.60.0 2017-12-22-emby-log-v2.txt 2017-12-22-docker-emby-log-v2.txt Link to comment Share on other sites More sharing options...
ninjatech 0 Posted December 24, 2017 Author Share Posted December 24, 2017 @@Luke I've uninstalled the docker container for Emby 3.2.60.0 and cleaned up any settings folders. And reinstalled 3.2.60.0 docker clean and just added the Google Sync plugin.. still not completing I've tested it with Ubuntu and just installed the Emby server with the .deb file and the Google Sync plugin works there. 2017-12-24-Emby-log.txt Link to comment Share on other sites More sharing options...
Solution Luke 37185 Posted December 24, 2017 Solution Share Posted December 24, 2017 Well if you're doing a new install then you might as well use the new Docker instructions on our website. It is a different docker package now. It will definitely work with that one. It's only the mono-based packages that this is happening with, and those are on their way to becoming legacy. Thanks. 1 Link to comment Share on other sites More sharing options...
ninjatech 0 Posted December 26, 2017 Author Share Posted December 26, 2017 @@Luke, Thanks for the advice, moved to the net-core version of the Emby docker and so far the syncing is working again. Thanks again for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now