Can't Update to Bedrock 1.19.21.01

OS Name/Version: Ubuntu 20.04.4 LTS

Product Name/Version: AMP 2.3.4.4

Problem Description: Bedrock 1.19.21.01 has dropped and clients are updated, but server is stuck on 1.19.20.02.

Things I have tried:

  1. Instance → Console → Stop → Update → Start
  2. Instance → Stop → Update → Start
  3. Instance → Configuration → Server Settings → Download / Update
  4. Reboot server

In all cases I see a download appear in the status pop-up, but the server is still stuck at the old version.

I’m not sure I follow your steps fully, have you stopped the instance itself and started it? (Not the server inside the instance)

Yes, I’ve done both. I’ve now rebooted the entire server, too.

Do this for me. Run the update again, then return to instances, right click the instance and View Logs. Share the latest after stripping your name out of it.

After Instance → Console → Stop → Update → Start, it’s stuck in Preparing to start. But here are the logs:

[01:29:29] [Core Info]            : Starting AMP version 2.3.4.4 (Triton), built 26/07/2022 20:08
[01:29:29] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[01:29:30] [Core Info]            : Running in a Docker environment.
[01:29:30] [Core Info]            : OS: Linux / x86_64
[01:29:30] [Core Info]            : CPU: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz (12C/12T)
[01:29:30] [Core Info]            : AMP Instance ID: 3d998e75-5f69-46f4-9127-c84809335147
[01:29:30] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[01:29:30] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[01:29:30] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[01:29:30] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[01:29:30] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[01:29:30] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[01:29:30] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[01:29:30] [Core Info]            : Licence Present: AMP Professional Edition (Licenced to <redacted>)
[01:29:30] [FileManager Error]    : Failure loading existing SSH keypair.
[01:29:30] [Core Error]           : CryptographicException
[01:29:30] [Core Error]           : [0] (CryptographicException) : Invalid key format - bad character.
[01:29:30] [Core Error]           :   at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.lxpjx (Byte[] p0, Int32 p1, Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo+tzstt& p2, Rebex.Security.Certificates.KeyAlgorithm& p3, String& p4) 
  at Rebex.Security.Cryptography.Pkcs.PrivateKeyInfo.Load (IO.Stream input, String password) 
  at Rebex.Net.SshPrivateKey.cluhz (IO.Stream p0, String p1) 
  at Rebex.Net.SshPrivateKey..ctor (Byte[] data, String password) 
  at FileManagerPlugin.PluginMain.GetKey () 
[01:29:30] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair...
[01:29:30] [FileManager Notice]   : Generated new keypair with fingerprint LitA8Cx8+7n5FqIeU9sV+7rwF/0JIYXSKywUE0upR6c=
[01:29:31] [FileManager Notice]   : Using keypair with fingerprint LitA8Cx8+7n5FqIeU9sV+7rwF/0JIYXSKywUE0upR6c=
[01:29:31] [FileManager Info]     : SFTP Server started on 0.0.0.0:2231
[01:29:31] [WebServer Info]       : Websockets are enabled.
[01:29:31] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[01:29:31] [WebServer Info]       : Webserver started on http://127.0.0.1:8088
[01:29:31] [Core Info]            : Checking for AMP updates...
[01:29:31] [Core Info]            : AMP is up-to-date.
[01:30:42] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from 127.0.0.1
[01:30:44] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[01:31:42] [Minecraft Warning]    : Unable to get Purpur version data from https://api.purpurmc.org/v2/purpur
[01:31:42] [Core Error]           : TaskCanceledException
[01:31:42] [Core Error]           : [0] (TaskCanceledException) : The operation was canceled.
[01:31:42] [Core Error]           :   at MinecraftModule.UpdateManager.GetPurpurVersions () 
[01:31:42] [Core Error]           : SocketException
[01:31:42] [Core Error]           : [1] (SocketException) : Network is unreachable
[01:31:43] [Minecraft Info]       : Modpack cache is up-to-date.
[01:31:47] NO LOG FILE! - setting up server logging...
[01:31:47] [INFO]: Starting Server
[01:31:47] [INFO]: Version 1.19.10.03
[01:31:47] [INFO]: Session ID e0e8c54d-53e4-4d1a-8021-b061856cd08d
[01:31:47] [INFO]: Level Name: world
[01:31:47] [INFO]: Game mode: 0 Survival
[01:31:47] [INFO]: Difficulty: 2 NORMAL
[01:31:49] [INFO]: Experiment(s) active: spct, ddi_, biom, ucft, gtst, mola
[01:31:49] [INFO]: opening worlds/world/db
[01:31:55] [INFO]: IPv4 supported, port: 35571
[01:31:55] [INFO]: IPv6 supported, port: 35572
[01:32:07] [INFO]: Server started.
[01:32:08] [INFO]: ================ TELEMETRY MESSAGE ===================
[01:32:08] [INFO]: Server Telemetry is currently not enabled. 
[01:32:08] [INFO]: Enabling this telemetry helps us improve the game.
[01:32:08] [INFO]: 
[01:32:08] [INFO]: To enable this feature, add the line 'emit-server-telemetry=true'
[01:32:08] [INFO]: to the server.properties file in the handheld/src-server directory
[01:32:08] [INFO]: ======================================================
[01:32:08] [INFO]: IPv4 supported, port: 53623
[01:32:08] [INFO]: IPv6 supported, port: 33300
[01:33:06] Unknown command: tps. Please check that the command exists and that you have permission to use it.
[01:39:00] [Core Info]            : Checking for AMP updates...
[01:39:00] [Core Info]            : AMP is up-to-date.
[01:45:30] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from 127.0.0.1
[01:45:31] [RemoteAMPAuth:Anonymous Activity] : Authentication success
[01:47:41] [API:admin Activity]   : Stopping the application.
[01:47:41] [Minecraft:admin Info] : Application stop requested
[01:47:41] [INFO]: Server stop requested.
[01:47:41] [INFO]: Stopping server...
[01:47:41] Quit correctly
[01:47:50] [API:admin Activity]   : Updating the application.
[01:48:02] [API:admin Activity]   : Starting the application.
[01:48:02] [Minecraft:admin Error] : Unable to start Minecraft Server
[01:48:02] [Core:admin Error]     : PlatformException
[01:48:02] [Core:admin Error]     : [0] (PlatformException) : ApplicationName='./Minecraft/bedrock_server', CommandLine='', CurrentDirectory='./Minecraft/', Native error= Cannot find the specified file
[01:48:02] [Core:admin Error]     :   at Diagnostics.Process.StartWithCreateProcess (Diagnostics.ProcessStartInfo startInfo) 
  at Diagnostics.Process.Start () 
  at ModuleShared.AMPProcess.Start () 
  at (wrapper remoting-invoke-with-check) ModuleShared.AMPProcess.Start()
  at MinecraftModule.MinecraftApp.StartGameServer (Boolean autoRetry) 
[01:50:35] [RemoteAMPAuth:Anonymous Activity] : Authentication attempt for user admin from 127.0.0.1
[01:50:37] [RemoteAMPAuth:Anonymous Activity] : Authentication success

It says you’re trying to start a Purpur server. What do your settings look like. Also, are you running AMP inside Docker or just that Minecraft instance using the built in Docker method?

I don’t even know what a Purpur server is. The config is Instance → Configuration → Server Settings → Server Type: Bedrock (Official Pocket/Win10 Server).

AMP is running in an Ubuntu VM that has not changed. The instances all have the Docker option enabled.

Update:

I switched to the Minecraft Pocket/Windows 10 Edition (Experimental, then switched back to Bedrock (Official Pocket/Win10 Server), clicked the Download / Update button, and now it’s up and running again, and has updated to the newest release. The client can connect again.

Looks like some kind of bug made the config think it was Purpur? Even though it said Minecraft in the config interface all along?

I will try this same thing with the other Bedrock instances to see if it unsticks them, too.

Yeah seems like a weird glitch for sure. Purpur is a type of modded Java Minecraft server. I’m glad it’s working for you now though!

Confirmed. This allowed all 5 instances to update to the new version, and start. Good to go!