Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.
OS Name/Version: Ubuntu 22.04 LTS (ARM) (Armbian)
Product Name/Version: AMP Instance Manager v2.4.6 built 02/08/2023 20:09
Problem Description: Trying to use the install wizard but I am reciving an error when trying to install AMP. Here is the relating error:
Can't find custom attr constructor image: /opt/cubecoders/amp/plugins/ADSModule.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
[Activity] Audit: Unknown/None [CreateInstance] Created instance ADS01 using ADS module on port 8080.
Can't find custom attr constructor image: /opt/cubecoders/amp/plugins/ADSModule.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Can't find custom attr constructor image: /opt/cubecoders/amp/plugins/ADSModule.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Can't find custom attr constructor image: /opt/cubecoders/amp/plugins/ADSModule.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Unhandled Exception:
Unity.Exceptions.ResolutionFailedException: Resolution of the dependency failed, type = 'GSMyAdmin.Detection', name = '(none)'.
Exception occurred while: Calling constructor GSMyAdmin.Detection().
Exception is: ArgumentException - An item with the same key has already been added. Key: Model name
-----------------------------------------------
At the time of the exception, the container was:
Resolving GSMyAdmin.Detection,(none)
Calling constructor GSMyAdmin.Detection()
---> System.ArgumentException: An item with the same key has already been added. Key: Model name
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <11e8c3ad554843aabf495f404ae51ab6>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <11e8c3ad554843aabf495f404ae51ab6>:0
at GSMyAdmin.Detection.GetProcessorInfo () [0x0020b] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Detection..ctor () [0x00061] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Unity.Builder.IBuilderContext)
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext+<>c__DisplayClass16_0.<GetBuildMethod>b__0 (Unity.Builder.IBuilderContext context) [0x00000] in <4075103c00cd4983990a67406179a866>:0
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicMethodBuildPlan.BuildUp (Unity.Builder.IBuilderContext context) [0x00000] in <4075103c00cd4983990a67406179a866>:0
at Unity.Strategies.BuildPlanStrategy.PreBuildUp (Unity.Builder.IBuilderContext context) [0x000f0] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainer.ThrowingBuildUp (Unity.Builder.IBuilderContext context) [0x0001c] in <4075103c00cd4983990a67406179a866>:0
--- End of inner exception stack trace ---
at Unity.UnityContainer.ThrowingBuildUp (Unity.Builder.IBuilderContext context) [0x00084] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainer.Resolve (System.Type typeToBuild, System.String nameToBuild, Unity.Resolution.ResolverOverride[] resolverOverrides) [0x0003b] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainerExtensions.Resolve[T] (Unity.IUnityContainer container, Unity.Resolution.ResolverOverride[] overrides) [0x00000] in <b771391f55c449a0a753280565b775bb>:0
at GSMyAdmin.ExtensionMethods.ResolveAndRegister[TObject,TInterface] (Unity.IUnityContainer container, Unity.Resolution.ResolverOverride[] overrides) [0x00000] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Core.Run () [0x00022] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Program.Main () [0x00005] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
[ERROR] FATAL UNHANDLED EXCEPTION: Unity.Exceptions.ResolutionFailedException: Resolution of the dependency failed, type = 'GSMyAdmin.Detection', name = '(none)'.
Exception occurred while: Calling constructor GSMyAdmin.Detection().
Exception is: ArgumentException - An item with the same key has already been added. Key: Model name
-----------------------------------------------
At the time of the exception, the container was:
Resolving GSMyAdmin.Detection,(none)
Calling constructor GSMyAdmin.Detection()
---> System.ArgumentException: An item with the same key has already been added. Key: Model name
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <11e8c3ad554843aabf495f404ae51ab6>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <11e8c3ad554843aabf495f404ae51ab6>:0
at GSMyAdmin.Detection.GetProcessorInfo () [0x0020b] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Detection..ctor () [0x00061] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Unity.Builder.IBuilderContext)
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext+<>c__DisplayClass16_0.<GetBuildMethod>b__0 (Unity.Builder.IBuilderContext context) [0x00000] in <4075103c00cd4983990a67406179a866>:0
at Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicMethodBuildPlan.BuildUp (Unity.Builder.IBuilderContext context) [0x00000] in <4075103c00cd4983990a67406179a866>:0
at Unity.Strategies.BuildPlanStrategy.PreBuildUp (Unity.Builder.IBuilderContext context) [0x000f0] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainer.ThrowingBuildUp (Unity.Builder.IBuilderContext context) [0x0001c] in <4075103c00cd4983990a67406179a866>:0
--- End of inner exception stack trace ---
at Unity.UnityContainer.ThrowingBuildUp (Unity.Builder.IBuilderContext context) [0x00084] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainer.Resolve (System.Type typeToBuild, System.String nameToBuild, Unity.Resolution.ResolverOverride[] resolverOverrides) [0x0003b] in <4075103c00cd4983990a67406179a866>:0
at Unity.UnityContainerExtensions.Resolve[T] (Unity.IUnityContainer container, Unity.Resolution.ResolverOverride[] overrides) [0x00000] in <b771391f55c449a0a753280565b775bb>:0
at GSMyAdmin.ExtensionMethods.ResolveAndRegister[TObject,TInterface] (Unity.IUnityContainer container, Unity.Resolution.ResolverOverride[] overrides) [0x00000] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Core.Run () [0x00022] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
at GSMyAdmin.Program.Main () [0x00005] in <d67c7ed3e3b84d8f9d5b4bef0db76172>:0
Can't find custom attr constructor image: /opt/cubecoders/amp/plugins/ADSModule.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
[Error] Configuration Failed: AMP configuration failed with return code 1
[Info] Instance creation failed. Reason: "AMP configuration failed with return code 1"
Failed to create default instance.
Aborting...
Steps to reproduce:
- Using a Orange Pi board which uses a RK3588 ARM cpu
- Then used the
bash <(wget -qO- getamp.sh)
command - Default username
admin
HTTPS setup: No
Install Java: Yes
Configure CPx2: No
- Accept the above from summary and install
Actions taken to resolve so far:
Tried searching online within the forum for any similar experiences but I cannot find any.