Space Engineers Server Hangs on both Update and Start

OS Name/Version: Ubuntu 22.04

Product Name/Version: AMP 2.4.3.6 - Space Engineers Module

Problem Description:
My Space Engineers server is successfully installing, but then hangs infinitely on “step 9/9 - running update executable”.

In addition, when I try to run the application, it gives the output below, terminating in an “Exit code 123”.

Any idea how to fix this? I already installed Wine.

Install / Update log for Space Engineers (SE) module:

[14:46:24] [Logger Info]          : Starting AMP version 2.4.3.6 (Decadeus), built 07/05/2023 00:36
[14:46:24] [Logger Info]          : Stream: Mainline (Release (aarch64)) - built by CUBECODERS/buildbot on CCL-DEV
[14:46:24] [Logger Info]          : Running in a QEMU KVM environment.
[14:46:24] [Logger Info]          : OS: Linux / aarch64
[14:46:24] [Logger Info]          : CPU: ARM Neoverse-N1 (3C/3T)
[14:46:24] [Logger Info]          : RAM: 19963MB
[14:46:24] [Logger Info]          : AMP Instance ID: 96195715-7a52-469f-9ba7-1ca02a735340
[14:46:24] [Logger Info]          : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[14:46:24] [Logger Info]          : Metrics publishing is enabled at udp://localhost:12820.
[14:46:24] [Logger Info]          : Loaded FileManagerPlugin by CubeCoders Limited
[14:46:24] [Logger Info]          : Loaded EmailSenderPlugin by CubeCoders Limited
[14:46:24] [Logger Info]          : Loaded WebRequestPlugin by CubeCoders Limited
[14:46:24] [Logger Info]          : Loaded LocalFileBackupPlugin by CubeCoders Limited
[14:46:24] [Logger Info]          : Loaded CommonCorePlugin by CubeCoders Limited
[14:46:24] [Logger Info]          : GenericModule requests dependency steamcmdplugin...
[14:46:24] [Logger Info]          : Loaded steamcmdplugin by CubeCoders Limited
[14:46:24] [Logger Info]          : GenericModule requests dependency RCONPlugin...
[14:46:24] [Logger Info]          : Loaded RCONPlugin by CubeCoders Limited
[14:46:24] [Logger Error]         : Invalid setting node: GenericModule.App.Ports.
[14:46:24] [Logger Info]          : Licence Present: AMP Professional Edition
[14:46:24] [Logger Notice]        : Using keypair with fingerprint xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[14:46:25] [Logger Info]          : SFTP Server started on 0.0.0.0:2225
[14:46:25] [Webserver Info]       : Websockets are enabled.
[14:46:25] [Logger Info]          : RouterTimer@10Hz with 2 jobs started
[14:46:25] [Logger Info]          : Webserver started on http://127.0.0.1:8082
[14:46:25] [Core Info]            : Checking for AMP updates...
[14:46:25] [Logger Info]          : Startup mode is StartApplication.
[14:46:25] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[14:46:25] [Logger Warning]       : No XML document node could be found for Stream
[14:46:25] [Logger Warning]       : No XML document node could be found for CustomWorld
[14:46:25] [Logger Warning]       : No XML document node could be found for CustomScenario
[14:46:25] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[14:46:25] [Core Info]            : A new update is available!
[14:46:37] [Logger Activity]      : Authentication attempt for user XDaddyWing from 127.0.0.1
[14:46:37] [Core Activity]        : Authentication success
[14:46:46] [API:XDaddyWing Activity] : Updating the application.
Box86 with Dynarec v0.3.1 005367e built on May 18 2023 12:57:28
Redirecting stderr to '/home/amp/Steam/logs/stderr.txt'
Logging directory: '/home/amp/Steam/logs'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1709846822
-- type 'quit' to exit --
Loading Steam API...OK
force_install_dir 298740
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
@sSteamCmdForcePlatformType windows
"@sSteamCmdForcePlatformType" = "windows"
app_update 298740 -beta public validate
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) verifying install, progress: 2.64 (168896274 / 6409111766)
 Update state (0x5) verifying install, progress: 5.40 (346289035 / 6409111766)
 Update state (0x5) verifying install, progress: 6.98 (447464617 / 6409111766)
 Update state (0x5) verifying install, progress: 8.56 (548563651 / 6409111766)
 Update state (0x5) verifying install, progress: 10.16 (650968818 / 6409111766)
 Update state (0x5) verifying install, progress: 11.71 (750747310 / 6409111766)
 Update state (0x5) verifying install, progress: 12.81 (820865494 / 6409111766)
 Update state (0x5) verifying install, progress: 14.73 (944130352 / 6409111766)
 Update state (0x5) verifying install, progress: 16.33 (1046814486 / 6409111766)
 Update state (0x5) verifying install, progress: 17.91 (1148091198 / 6409111766)
 Update state (0x5) verifying install, progress: 19.48 (1248618311 / 6409111766)
 Update state (0x5) verifying install, progress: 21.03 (1348114252 / 6409111766)
 Update state (0x5) verifying install, progress: 22.62 (1449636929 / 6409111766)
 Update state (0x5) verifying install, progress: 24.17 (1548915602 / 6409111766)
 Update state (0x5) verifying install, progress: 25.80 (1653314478 / 6409111766)
 Update state (0x5) verifying install, progress: 27.35 (1752970892 / 6409111766)
 Update state (0x5) verifying install, progress: 28.93 (1854271620 / 6409111766)
 Update state (0x5) verifying install, progress: 30.50 (1954797257 / 6409111766)
 Update state (0x5) verifying install, progress: 32.04 (2053358212 / 6409111766)
 Update state (0x5) verifying install, progress: 33.63 (2155673685 / 6409111766)
 Update state (0x5) verifying install, progress: 35.10 (2249335882 / 6409111766)
 Update state (0x5) verifying install, progress: 36.67 (2350479035 / 6409111766)
 Update state (0x5) verifying install, progress: 37.68 (2415255564 / 6409111766)
 Update state (0x5) verifying install, progress: 41.35 (2650441084 / 6409111766)
 Update state (0x5) verifying install, progress: 44.37 (2843751108 / 6409111766)
 Update state (0x5) verifying install, progress: 45.96 (2945861898 / 6409111766)
 Update state (0x5) verifying install, progress: 47.51 (3045155951 / 6409111766)
 Update state (0x5) verifying install, progress: 49.09 (3145940166 / 6409111766)
 Update state (0x5) verifying install, progress: 50.59 (3242517799 / 6409111766)
 Update state (0x5) verifying install, progress: 52.20 (3345795116 / 6409111766)
 Update state (0x5) verifying install, progress: 53.85 (3451236397 / 6409111766)
 Update state (0x5) verifying install, progress: 55.44 (3553039039 / 6409111766)
 Update state (0x5) verifying install, progress: 57.05 (3656267029 / 6409111766)
 Update state (0x5) verifying install, progress: 58.63 (3757939913 / 6409111766)
 Update state (0x5) verifying install, progress: 60.24 (3860777019 / 6409111766)
 Update state (0x5) verifying install, progress: 61.82 (3962126235 / 6409111766)
 Update state (0x5) verifying install, progress: 63.39 (4062506206 / 6409111766)
 Update state (0x5) verifying install, progress: 64.95 (4162969299 / 6409111766)
 Update state (0x5) verifying install, progress: 66.50 (4262023659 / 6409111766)
 Update state (0x5) verifying install, progress: 68.12 (4365738972 / 6409111766)
 Update state (0x5) verifying install, progress: 69.69 (4466823465 / 6409111766)
 Update state (0x5) verifying install, progress: 71.24 (4565931380 / 6409111766)
 Update state (0x5) verifying install, progress: 72.89 (4671367286 / 6409111766)
 Update state (0x5) verifying install, progress: 74.46 (4772292921 / 6409111766)
 Update state (0x5) verifying install, progress: 76.01 (4871758034 / 6409111766)
 Update state (0x5) verifying install, progress: 77.61 (4973934593 / 6409111766)
 Update state (0x5) verifying install, progress: 79.15 (5073000313 / 6409111766)
 Update state (0x5) verifying install, progress: 80.76 (5175851201 / 6409111766)
 Update state (0x5) verifying install, progress: 82.32 (5276216514 / 6409111766)
 Update state (0x5) verifying install, progress: 83.89 (5376434015 / 6409111766)
 Update state (0x5) verifying install, progress: 85.42 (5474759652 / 6409111766)
 Update state (0x5) verifying install, progress: 86.99 (5575516583 / 6409111766)
 Update state (0x5) verifying install, progress: 95.16 (6098858240 / 6409111766)
 Update state (0x61) downloading, progress: 0.00 (0 / 22784864)
dlmopen steamservice.so failed: (null)
dlmopen steamservice.so failed: (null)
dlmopen steamservice.so failed: (null)
dlmopen steamservice.so failed: (null)
dlmopen steamservice.so failed: (null)
dlmopen steamservice.so failed: (null)
Success! App '298740' fully installed.
quit
[14:48:41] [steamcmdplugin:XDaddyWing Info] : SteamCMD Update successful
[14:48:41] [Logger:XDaddyWing Info] : Skipping download - target already exists (/home/amp/.ampdata/instances/WeBeEngineerinSpace01/space-engineers-generic/298740/servers/SpaceEngineers-Dedicated.cfg)
[15:05:14] [Logger:XDaddyWing Activity] : Sent to console: `quit`
[15:14:12] [Core:XDaddyWing Error] : NullReferenceException
[15:14:12] [Logger:XDaddyWing Error] : [0] (NullReferenceException) : Object reference not set to an instance of an object
[15:14:12] [Core:XDaddyWing Error] :   at GenericModule.GenericApp.SendSignal (GenericModule.GenericModuleConfig+ExitMethod method) 
[15:14:16] [API:XDaddyWing Activity] : Starting the application.
[15:14:16] [Logger:XDaddyWing Info] : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[15:14:16] [Logger:XDaddyWing Warning] : No XML document node could be found for Stream
[15:14:16] [Logger:XDaddyWing Warning] : No XML document node could be found for CustomWorld
[15:14:16] [Logger:XDaddyWing Warning] : No XML document node could be found for CustomScenario
[15:14:16] [Logger:XDaddyWing Warning] : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[15:14:40] [Logger Activity]      : Authentication attempt for user XDaddyWing from 127.0.0.1
[15:14:40] [Core Activity]        : Authentication success
[15:15:16] [Logger Info]          : Stop requested: SIGUSR1 Recieved
[15:15:16] [Core Notice]          : AMP shutdown requested.
[15:15:16] [Core Notice]          : Stopping Application...
[15:15:21] [Core Notice]          : Stopping Web Server...
[15:15:21] [Webserver Info]       : Web server shutdown.
[15:15:21] [Core Notice]          : Goodbye!
Rest in peace - Stephen Hawking 1942-2018

Startup log:

[18:07:05] [Logger Info]          : Starting AMP version 2.4.3.6 (Decadeus), built 07/05/2023 00:36
[18:07:05] [Logger Info]          : Stream: Mainline (Release (aarch64)) - built by CUBECODERS/buildbot on CCL-DEV
[18:07:05] [Logger Info]          : Running in a QEMU KVM environment.
[18:07:05] [Logger Info]          : OS: Linux / aarch64
[18:07:05] [Logger Info]          : CPU: ARM Neoverse-N1 (3C/3T)
[18:07:05] [Logger Info]          : RAM: 19957MB
[18:07:05] [Logger Info]          : AMP Instance ID: 96195715-7a52-469f-9ba7-1ca02a735340
[18:07:06] [Logger Info]          : Loaded GenericModule version 1.0.0.0 by CubeCoders Limited
[18:07:06] [Logger Info]          : Metrics publishing is enabled at udp://localhost:12820.
[18:07:06] [Logger Info]          : Loaded FileManagerPlugin by CubeCoders Limited
[18:07:06] [Logger Info]          : Loaded EmailSenderPlugin by CubeCoders Limited
[18:07:06] [Logger Info]          : Loaded WebRequestPlugin by CubeCoders Limited
[18:07:06] [Logger Info]          : Loaded LocalFileBackupPlugin by CubeCoders Limited
[18:07:06] [Logger Info]          : Loaded CommonCorePlugin by CubeCoders Limited
[18:07:07] [Logger Info]          : GenericModule requests dependency steamcmdplugin...
[18:07:07] [Logger Info]          : Loaded steamcmdplugin by CubeCoders Limited
[18:07:07] [Logger Info]          : GenericModule requests dependency RCONPlugin...
[18:07:07] [Logger Info]          : Loaded RCONPlugin by CubeCoders Limited
[18:07:07] [Logger Error]         : Invalid setting node: GenericModule.App.Ports.
[18:07:07] [Logger Info]          : Licence Present: AMP Professional Edition
[18:07:07] [Logger Notice]        : Using keypair with fingerprint xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[18:07:07] [Logger Info]          : SFTP Server started on 0.0.0.0:2225
[18:07:07] [Webserver Info]       : Websockets are enabled.
[18:07:07] [Logger Info]          : RouterTimer@10Hz with 2 jobs started
[18:07:07] [Logger Info]          : Webserver started on http://127.0.0.1:8082
[18:07:07] [Core Info]            : Checking for AMP updates...
[18:07:07] [Logger Info]          : Startup mode is StartApplication.
[18:07:08] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[18:07:08] [Logger Warning]       : No XML document node could be found for Stream
[18:07:08] [Logger Warning]       : No XML document node could be found for CustomWorld
[18:07:08] [Logger Warning]       : No XML document node could be found for CustomScenario
[18:07:08] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[18:07:08] [Core Info]            : A new update is available!
[18:07:56] [Logger Activity]      : Authentication attempt for user XDW from 127.0.0.1
[18:07:56] [Core Activity]        : Authentication success
[18:09:10] [Logger Warning]       : The application stopped unexpectedly. Exit code 123
[18:09:13] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[18:09:13] [Logger Warning]       : No XML document node could be found for Stream
[18:09:13] [Logger Warning]       : No XML document node could be found for CustomWorld
[18:09:13] [Logger Warning]       : No XML document node could be found for CustomScenario
[18:09:13] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[18:11:13] [Logger Warning]       : The application stopped unexpectedly. Exit code 123
[18:11:16] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[18:11:16] [Logger Warning]       : No XML document node could be found for Stream
[18:11:16] [Logger Warning]       : No XML document node could be found for CustomWorld
[18:11:16] [Logger Warning]       : No XML document node could be found for CustomScenario
[18:11:16] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[18:12:03] [Logger Warning]       : The application stopped unexpectedly. Exit code 123
[18:12:06] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[18:12:06] [Logger Warning]       : No XML document node could be found for Stream
[18:12:06] [Logger Warning]       : No XML document node could be found for CustomWorld
[18:12:06] [Logger Warning]       : No XML document node could be found for CustomScenario
[18:12:06] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[18:12:36] [Logger Activity]      : Authentication attempt for user XDaddyWing from 127.0.0.1
[18:12:37] [Core Activity]        : Authentication success
[18:14:07] [Logger Warning]       : The application stopped unexpectedly. Exit code 123
[18:14:10] [Logger Info]          : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)
[18:14:10] [Logger Warning]       : No XML document node could be found for Stream
[18:14:10] [Logger Warning]       : No XML document node could be found for CustomWorld
[18:14:10] [Logger Warning]       : No XML document node could be found for CustomScenario
[18:14:10] [Logger Warning]       : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/XDW Server World 1/Sandbox_config.sbc but the file does not exist.
[18:16:10] [Logger Warning]       : The application stopped unexpectedly. Exit code 123
[18:16:10] [Logger Warning]       : Application failed to start 5 times, not restarting.

Steps to reproduce:

Create new SE module
Change Space Engineers gameplay settings
Click ‘Update’

===================

Update: I am now using a Docker container to try to run this instance. When I go to start the server, it looks like it starts up, but then I try to manage it and it says it’s not running. I also get this in the log:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

I’m not quite sure as to what the changing the listening ports/addresses would fix in terms of update / startup, although it does have an impact on player connections.

Your AMP is ridiculously out of date, and the chances of getting SE to run on ARM are vanishingly small (it barely runs on x64 atm, and needs a fix to AMP’s docker image to do so). AMP also doesn’t have any official ARM docker images

I am also having issues getting Space Engineers to start even on a completely fresh OS. My console log just shows the server start up and then, without any message that the server crashed, AMP tries starting it up again which throws an error message that the server port is in use (because it is). Is there a way we can get more data logging than the console log so that I can track down what is going on?