MitchTalmadge / AMP-dockerized

CubeCoders AMP in a Docker Image. Easily create game servers for games like Minecraft, GMod, TF2, Factorio, and StarBound!
https://hub.docker.com/r/mitchtalmadge/amp-dockerized
Other
89 stars 21 forks source link

Error on reactivating licence key #122

Closed oNIenSis closed 2 years ago

oNIenSis commented 2 years ago

I deleted and reinstalled an instance and now am getting an error in the log "No valid AMP licence was found. Please run ampinstmgr reactivate myminecraft to reactivate this instance."

When I run that command from within the docker, I get the following error:

`amp@b80be80226e9:~$ ampinstmgr reactivate myminecraft [Info] AMP Instance Manager v2.3.2.4 built 22/02/2022 10:58 [Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV Please enter value for Licence Key


[Info] Checking licence key... [Error] IM was unable to execute the requested command. [Error] FaultException [Error] [0] (FaultException) : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs. [Error] at ServiceModel.FrameworkInternal.ClientRuntimeChannel.Request (ServiceModel.Description.OperationDescription od, Boolean isAsync, Object[]& parameters, ServiceModel.OperationContext context) at ServiceModel.ClientRealProxy.DoInvoke (Runtime.Remoting.Messaging.IMessage inputMessage) at ServiceModel.ClientRealProxy.Invoke (Runtime.Remoting.Messaging.IMessage inputMessage) at Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (Runtime.Remoting.Proxies.RealProxy rp, Runtime.Remoting.Messaging.IMessage msg, Exception& exc, Object[]& out_args) at (wrapper managed-to-native) Object.icall_wrapper_mono_remoting_wrapper(intptr,intptr) at (wrapper remoting-invoke) CCLClient45.LicencingClient.IService.GetLicenceSummary(Guid) at CCLClient45.LicencingClient.ServiceClient.GetLicenceSummary (Guid LicenceKey) at CCLClient45.Licencing+<>cDisplayClass21_0.b__0 () at CCLClient45.Licencing.GetLicenceInfo (String LicenceKey) at InstanceManagerCLI.Core.ReactivateInstance (String InstanceName, String LicenceKey) at InstanceManagerCLI.Core.ExecuteCommand (Collections.Generic.List1[T] Params, Collections.Generic.Dictionary2[TKey,TValue] Args)`

Is there some other way to reactivate the instances now that I've broken them? I was trying to fix it and changed the MAC address in the docker-compose file (ok this might have been a dumb option) and now all my instances have the same problem.

oNIenSis commented 2 years ago

should add - I do this command by going into the docker and changing to the "amp" user (su -l amp). And the licence key no longer works on a full wipe and reinstall of the docker (ie deleting everything) so it's locked somehow?

edit: also I checked the Cubecoders website licence manager and apparently I have 0/5 AMP professional keys used.

oNIenSis commented 2 years ago

Turns out this was an issue with AMP - cubecoders were making changes to licence manager and new instances were broken for a few hours. Bad timing!