After AMP upgrade to 2.4.0.6 - MC Instance won't start - requires reactivate - reactivate fails

[13:06:51] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 29/09/2022 16:10
[13:06:51] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV

Hmm, the build date should be today rather than yesterday because of the change I made. Give me a few minutes.

Just so you know I did that upgrade part first …

[Info] AMP Instance Manager v2.4.0.6 built 29/09/2022 16:11
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Stopping Instance: 'ADS01'
[Info] Stopping instance ADS01...
[Info] Requesting soft-stop...
[Info] Waiting for instance to stop...
[Info] Instance was shut down gracefully.
[Info] Instance ADS01 has stopped.
[Info] Upgrading instance ADS01
[Info] Skipping cache and downloading fresh copy...
[Info] Downloading AMP from https://cubecoders.com/Downloads/Release/AMP_Latest_Release.zip...

[Info] Complete
[Info] Upgrade successful
[Info] Waiting for AMP instance to start...
[Notice] AMP instance ADS01 is now running.
[Info] Upgrading instance PlayVanilla-101
[Info] Using cached archive: /home/amp/.ampdata/instances/AMPCache-2406.zip
[Info] Upgrade successful
[Info] Start for instance ADS01 was requested, but it is already running.

Maybe I missed something or made an error?

I think something just got cached that shouldn’t be server-side. Just dealing with it now. I’ll have more instructions for you shortly.

Resolution is in progress, just waiting on some large uploads.

Okay all sorted now.

Run:

ampinstmgr --nocache upgradeall
ampinstmgr reactivateall
ampinstmgr startall

Then verify it’s OK with ampinstmgr status to check they’re still running.

1 Like

That seemed to go smoothly…

 ξ‚° CubeCoders AMP ξ‚° πŸ’»amp@linux1 ξ‚° πŸ“~ ξ‚° ampinstmgr status
[Info] AMP Instance Manager v2.4.0.6 built 29/09/2022 16:11
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance Name      β”‚ Friendly Name    β”‚ Module     β”‚ IP              β”‚ Port  β”‚ Up
───────────────────┼──────────────────┼────────────┼─────────────────┼───────┼───
ADS01              β”‚ ADS              β”‚ ADS        β”‚ 0.0.0.0         β”‚ 8080  β”‚ βœ“
PlayVanilla-101    β”‚ PlayVanilla-1    β”‚ Minecraft  β”‚ 0.0.0.0         β”‚ 8081  β”‚ βœ“

Server started as well and connections work no problem. THANK YOU SO MUCH!

Although in the WebGUI I have this again, which scares me. Should I repopulate it, but don’t hit the β€œreactivate local instances” button??? This is where it locked up last time LOL

Reactivation Required
AMP has lost its licence key due to a hardware or system configuration change. Please re-enter your licence key under Configuration -> New Instance Defaults. You may also need to reactivate your existing instances on this host.

Repopulate the setting but there’s no need to click the button :slight_smile:

Thanks for the absolutely crackin’ support Mike! :smile:

That’s what we’re here for! :+1:

Mike,

I am also facing a nearly identical issue. Please see the screenshots from today.

That looks like a Hostinger server. I’ve been working with them today and they’re rolling out some changes to deal with this during today.

That is correct this is Hostinger, thank you for the help!

ampinstmgr --nocache upgradeall
ampinstmgr reactivateall
ampinstmgr startall

I used all of those as the amp user. Everthing went through but still the same error :confused:

β€œNo valid AMP licence was found. Please run ampinstmgr reactivate CassualyRLCraft01 to reactivate this instance.”

[16:27:30] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
[16:27:30] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[16:27:30] [Core Info]            : OS: Linux / x86_64
[16:27:30] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
[16:27:30] [Core Info]            : AMP Instance ID: ab7bf560-7e6a-43e4-88d4-c396d206b751
[16:27:30] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[16:27:30] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[16:27:30] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[16:27:30] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[16:27:30] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[16:27:30] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[16:27:30] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[16:27:30] [FileManager Error]    : Failure loading existing SSH keypair.
[16:27:30] [Core Error]           : CryptographicException
[16:27:30] [Core Error]           : [0] (CryptographicException) : Invalid key format - bad character.
[16:27:30] [Core Error]           :   at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.pexvi (Byte[] p0, Int32 p1, Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo+czpdb& p2, Rebex.Security.Certificates.KeyAlgorithm& p3, String& p4) 
  at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.Load (IO.Stream input, String password) 
  at Rebex.Net.SshPrivateKey.ralxf (IO.Stream p0, String p1) 
  at Rebex.Net.SshPrivateKey..ctor (Byte[] data, String password) 
  at FileManagerPlugin.PluginMain.GetKey () 
[16:27:30] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair...
[16:27:30] [FileManager Notice]   : Generated new keypair with fingerprint buSuxKby4iq23mGYHtH/F60Hfk4P7ml8v9ebnbbsIww=
[16:27:30] [Minecraft Warning]    : Unable to get Fabric version data from https://meta.fabricmc.net/v2/versions
[16:27:30] [Core Error]           : HttpRequestException
[16:27:30] [Core Error]           : [0] (HttpRequestException) : The SSL connection could not be established, see inner exception.
[16:27:30] [Core Error]           :   at MinecraftModule.UpdateManager.GetFabricVersions () 
[16:27:30] [Core Error]           : AuthenticationException
[16:27:30] [Core Error]           : [1] (AuthenticationException) : Authentication failed, see inner exception.
[16:27:30] [Core Error]           : FrameworkBtlsException
[16:27:30] [Core Error]           : [2] (FrameworkBtlsException) : Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
  at /usr/src/mono/external/boringssl/ssl/handshake_client.c:1132
[16:27:30] [Core Error]           :   at Framework.Btls.FrameworkBtlsContext.ProcessHandshake () 
  at Framework.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Framework.Net.Security.AsyncOperationStatus status, Boolean renegotiate) 
  at (wrapper remoting-invoke-with-check) Framework.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Framework.Net.Security.AsyncOperationStatus,bool)
  at Framework.Net.Security.AsyncHandshakeRequest.Run (Framework.Net.Security.AsyncOperationStatus status) 
[16:27:30] [FileManager Notice]   : Using keypair with fingerprint buSuxKby4iq23mGYHtH/F60Hfk4P7ml8v9ebnbbsIww=
[16:27:30] [FileManager Info]     : SFTP Server started on 0.0.0.0:2228
[16:27:30] [Core Error]           : No valid AMP licence was found. Please run `ampinstmgr reactivate CassualyRLCraft01` to reactivate this instance.

Can you show me the output of the reactivateall command?

I have this exact same problem. I went to β€œreactivate login instances” and it said " Reactivate Local Instances failed : The supplied licence key was not in the correct format." The instance key was already in the slot or something was so I’m not sure how to find out where my correct instance key is. At one point, I forget how I got there, I was sent to a site called CubeCoders Licensing and asked me to login. I entered my hostinger login email but it said " no such user" ???

ampinstmgr reactivateall
[Info] AMP Instance Manager v2.3.2.12 built 05/05/2022 18:14
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Please enter value for Licence Key
>9d0ada7e-4eca-4603-9805-c872ce0a907d

[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 2
[Info] Reactivating instance Minecraft01...
[Info] su: ignoring --preserve-environment, it's mutually exclusive with --login
                                                                                [Info]
[16:11:32] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
                                                                                                   [Info] [16:11:32] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
                                                                                          [Info] [16:11:32] [Logger Info]          : Deleting 4 old log files...
                                        [Info] [16:11:32] [Core Info]            : OS: Linux / x86_64
                                                                                                     [Info] [16:11:32] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
                                                                               [Info] [16:11:32] [Core Info]            : AMP Instance ID: 611d1541-dfbd-40b4-b02a-85a2f9cf7932
                                                       [Info] [16:11:33] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
                                      [Info] [16:11:33] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
                [Info] [16:11:33] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
 [Info] [16:11:33] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
                                                                                                          [Info] [16:11:33] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
                                                                                          [Info] [16:11:33] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
                                                                               [Info] [16:11:33] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
                                                               [Info] [16:11:34] [Core Info]            : Performing activation, please wait...
                       [Info] [16:11:34] [Core Info]            : Activated successfully.
                                                                                         [Info] [16:11:34] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Dominic Schwimmer)
                                                                                     [Info] [16:11:34] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
                                                                                                                   [Info]
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 3
[Info] Reactivating instance FTB...
[Info] su: ignoring --preserve-environment, it's mutually exclusive with --login
                                                                                [Info]
[16:12:13] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
                                                                                                   [Info] [16:12:13] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
                                                                                          [Info] [16:12:14] [Logger Info]          : Deleting 67 old log files...
                                         [Info] [16:12:18] [Core Info]            : OS: Linux / x86_64
                                                                                                      [Info] [16:12:18] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
                                                                                [Info] [16:12:18] [Core Info]            : AMP Instance ID: 82ce6a89-9482-47d3-86cc-0ca68b89b0e7
                                                        [Info] [16:12:18] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
                                       [Info] [16:12:18] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
                 [Info] [16:12:18] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
  [Info] [16:12:18] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
                                                                                                           [Info] [16:12:18] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
                                                                                           [Info] [16:12:19] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
                                                                                [Info] [16:12:19] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
                                                                [Info] [16:12:19] [Core Info]            : Performing activation, please wait...
                        [Info] [16:12:19] [Core Info]            : Activated successfully.
                                                                                          [Info] [16:12:19] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Dominic Schwimmer)
                                                                                      [Info] [16:12:19] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
                                                                                                                    [Info]
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 4
[Info] Reactivating instance Terraria02...
[Info] su: ignoring --preserve-environment, it's mutually exclusive with --login
                                                                                [Info]
[16:12:52] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
                                                                                                   [Info] [16:12:52] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
                                                                                          [Info] [16:12:53] [Logger Info]          : Deleting 10 old log files...
                                         [Info] [16:12:53] [Core Info]            : OS: Linux / x86_64
                                                                                                      [Info] [16:12:53] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
                                                                                [Info] [16:12:53] [Core Info]            : AMP Instance ID: 2030d912-94f6-4a44-a87a-52428da1afad
                                                        [Info] [16:12:53] [Generic Info]         : 1 Legacy ports migrated.
   [Info] [16:12:53] [ModuleLoader Info]    : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
                                                                                                        [Info] [16:12:53] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
                                                                                  [Info] [16:12:53] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
                                                                   [Info] [16:12:53] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
                                                    [Info] [16:12:53] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
                                    [Info] [16:12:54] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
                         [Info] [16:12:54] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
         [Info] [16:12:54] [ModuleLoader Info]    : GenericModule requests dependency steamcmdplugin...
                                                                                                       [Info] [16:12:54] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
                                                                                     [Info] [16:12:54] [ModuleLoader Info]    : GenericModule requests dependency RCONPlugin...
                                                       [Info] [16:12:54] [ModuleLoader Info]    : Loaded RCONPlugin version 1.0.0.1 by CubeCoders Limited
                                 [Info] [16:12:54] [Core Warning]         : No such setting node: GenericModule.Meta.OriginalSource - maybe the relevant plugin/module isn't loaded?
                                                            [Info] [16:12:54] [Core Info]            : Performing activation, please wait...
                    [Info] [16:12:54] [Core Info]            : Activated successfully.
                                                                                      [Info] [16:12:54] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Dominic Schwimmer)
                                                                                  [Info] [16:12:54] [Core Info]
   : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
                                                                                                                [Info]
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 5
[Info] Reactivating instance FTBmitElena...
[Info] su: ignoring --preserve-environment, it's mutually exclusive with --login
                                                                                [Info]
[16:13:28] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
                                                                                                   [Info] [16:13:28] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
                                                                                          [Info] [16:13:28] [Core Info]            : OS: Linux / x86_64
                               [Info] [16:13:28] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
         [Info] [16:13:28] [Core Info]            : AMP Instance ID: 78ecc8e4-d53a-4abf-8cbc-b72424e68cdb
                                                                                                         [Info] [16:13:28] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
                                                                                        [Info] [16:13:28] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
                                                                  [Info] [16:13:28] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
                                                   [Info] [16:13:29] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
                                    [Info] [16:13:29] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
                    [Info] [16:13:29] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
         [Info] [16:13:29] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
                                                                                                                 [Info] [16:13:30] [Core Info]            : Performing activation, please wait...
                                                                         [Info] [16:13:30] [Core Info]            : Activated successfully.
                   [Info] [16:13:30] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Dominic Schwimmer)
               [Info] [16:13:30] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
                                             [Info]
[Info] Done.
[Info] Checking licence key...
[Info] Licence Type:  AMP Professional
[Info] Current Usage: 6
[Info] Reactivating instance CassualyRLCraft01...
[Info] su: ignoring --preserve-environment, it's mutually exclusive with --login
                                                                                [Info]
[16:14:14] [Core Info]            : Starting AMP version 2.4.0.6 (Halimede), built 30/09/2022 14:12
                                                                                                   [Info] [16:14:14] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
                                                                                          [Info] [16:14:14] [Core Info]            : OS: Linux / x86_64
                               [Info] [16:14:14] [Core Info]            : CPU: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz (6C/12T)
         [Info] [16:14:14] [Core Info]            : AMP Instance ID: ab7bf560-7e6a-43e4-88d4-c396d206b751
                                                                                                         [Info] [16:14:14] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
                                                                                        [Info] [16:14:15] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
                                                                  [Info] [16:14:15] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
                                                   [Info] [16:14:15] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
                                    [Info] [16:14:15] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
                    [Info] [16:14:15] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
         [Info] [16:14:15] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
                                                                                                                 [Info] [16:14:15] [Core Info]            : Performing activation, please wait...
                                                                         [Info] [16:14:15] [Core Info]            : Activated successfully.
                   [Info] [16:14:15] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to Dominic Schwimmer)
               [Info] [16:14:15] [Core Info]            : -configonly specified or activation performed. Saving settings and shutting down. This is perfectly normal.
                                             [Info]
[Info] Done.

Where do I insert this code? (I am on a Mac)