Startup Issue with Space Engineers - unable to start space engineers server on debian

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.0 (Mainline)
Virtualization Docker
Application Space Engineers
Module GenericModule
Running in Container Yes
Current State Failed

Problem Description

Issue

Unable to start space engineers server. first there was error 255 but now no error type. Just fail to start

tried to reinstall completely instance - same error occured.

Reproduction Steps

  • installation of instance
  • server start button
  • server start

Update #1

Had in console

Error! App ‘298740’ state is 0x202 after update job.

Googled it and seemed to be low disk space.

Upgraded server to 50gb
App 298740 installed successfully.

But now I’m still getting error

wine: Unhandled exception 0xe0434352

and unable to start the server
Here are my docker fresh installation and update logs

Спойлер
  1. {“log”:" 550K … … … … … 74% 20.7M 0s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.055025852Z”}
  2. {“log”:" 600K … … … … … 80% 14.5M 0s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.058116355Z”}
  3. {“log”:" 650K … … … … … 86% 16.3M 0s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.066534667Z”}
  4. {“log”:" 700K … … … … … 92% 5.33M 0s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.070609412Z”}
  5. {“log”:" 750K … … … … … 98% 45.8M 0s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.07193559Z”}
  6. {“log”:" 800K … 100% 16.5M=0.2s\n",“stream”:“stderr”,“time”:“2024-03-21T16:04:11.0719535Z”}
  7. {“log”:“\n”,“stream”:“stderr”,“time”:“2024-03-21T16:04:11.071958813Z”}
  8. {“log”:“Last-modified header missing – time-stamps turned off.\n”,“stream”:“stderr”,“time”:“2024-03-21T16:04:11.071963915Z”}
  9. {“log”:“2024-03-21 16:04:11 (4.53 MB/s) - ‘winetricks’ saved [829252/829252]\n”,“stream”:“stderr”,“time”:“2024-03-21T16:04:11.071968655Z”}
  10. {“log”:“\n”,“stream”:“stderr”,“time”:“2024-03-21T16:04:11.071973346Z”}
  11. {“log”:“[16:17:04] [Generic:fikus Error] : Exception setting up backup exclusions.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.439928745Z”}
  12. {“log”:“[16:17:04] [Core:fikus Error] : UnauthorizedAccessException\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.441216753Z”}
  13. {“log”:“[16:17:04] [Core:fikus Error] : [0] (UnauthorizedAccessException) : Access to the path "/AMP/space-engineers-generic/.wine/dosdevices/z:/.autoExclude" is denied.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.441370986Z”}
  14. {“log”:“[16:17:04] [Core:fikus Error] : at IO.FileStream…ctor (String path, IO.FileMode mode, IO.FileAccess access, IO.FileShare share, Int32 bufferSize, Boolean anonymous, IO.FileOptions options) \n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467234714Z”}
  15. {“log”:" at IO.FileStream…ctor (String path, IO.FileMode mode, IO.FileAccess access, IO.FileShare share, Int32 bufferSize, IO.FileOptions options) \n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467258877Z”}
  16. {“log”:" at (wrapper remoting-invoke-with-check) IO.FileStream…ctor(string,IO.FileMode,IO.FileAccess,IO.FileShare,int,IO.FileOptions)\n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467263449Z”}
  17. {“log”:" at IO.StreamWriter…ctor (String path, Boolean append, Text.Encoding encoding, Int32 bufferSize) \n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467267463Z”}
  18. {“log”:" at IO.StreamWriter…ctor (String path) \n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.46727106Z”}
  19. {“log”:" at (wrapper remoting-invoke-with-check) IO.StreamWriter…ctor(string)\n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467274561Z”}
  20. {“log”:" at IO.File.WriteAllLines (String path, Collections.Generic.IEnumerable`1[T] contents) \n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467278103Z”}
  21. {“log”:" at GenericModule.GenericApp.SetupSmartBackupExclusions (IO.DirectoryInfo Parent, Int32 MaxDepth) \n",“stream”:“stdout”,“time”:“2024-03-21T16:17:04.467281769Z”}
  22. {“log”:“[16:17:04] [Generic:fikus Info] : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.530736637Z”}
  23. {“log”:“[16:17:04] [Generic:fikus Warning] : No XML document node could be found for Stream\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.56411093Z”}
  24. {“log”:“[16:17:04] [Generic:fikus Warning] : No XML document node could be found for CustomWorld\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.573064861Z”}
  25. {“log”:“[16:17:04] [Generic:fikus Warning] : No XML document node could be found for CustomScenario\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.573392751Z”}
  26. {“log”:“[16:17:04] [Generic:fikus Warning] : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/World/Sandbox_config.sbc but the file does not exist.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:17:04.598103098Z”}

And here are logs after i try to start the server

Спойлер

{“log”:“[16:30:52] [Core Activity] : Authentication attempt for user fikus from 62.113.116.214\n”,“stream”:“stdout”,“time”:“2024-03-21T16:30:52.913622276Z”}
{“log”:“[16:30:53] [Core Activity] : Authentication success\n”,“stream”:“stdout”,“time”:“2024-03-21T16:30:53.26883984Z”}
{“log”:“[16:31:06] [API:fikus Activity] : Starting the application.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.005779507Z”}
{“log”:“[16:31:07] [Generic:fikus Info] : Merging config file ./space-engineers-generic/298740/./servers/SpaceEngineers-Dedicated.cfg (XML format)\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.03512687Z”}
{“log”:“[16:31:07] [Generic:fikus Warning] : No XML document node could be found for Stream\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.036054846Z”}
{“log”:“[16:31:07] [Generic:fikus Warning] : No XML document node could be found for CustomWorld\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.041347135Z”}
{“log”:“[16:31:07] [Generic:fikus Warning] : No XML document node could be found for CustomScenario\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.041663575Z”}
{“log”:“[16:31:07] [Generic:fikus Warning] : Tried to merge config file ./space-engineers-generic/298740/./servers/Saves/World/Sandbox_config.sbc but the file does not exist.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:07.057243199Z”}
{“log”:“[16:31:13] [Core:fikus Warning] : Slow method invocation: Start took 6756ms to complete.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:13.751962262Z”}
{“log”:“[16:31:13] [Core:fikus Warning] : Slow response: Core.Start took 6757ms to complete.\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:13.752738941Z”}
{“log”:“wine: Unhandled exception 0xe0434352 in thread 114 at address 00006FFFFF463DF7 (thread 0114), starting debugger…\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:14.808183091Z”}
{“log”:“[16:31:16] [Core:fikus Error] : NullReferenceException\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:16.976153667Z”}
{“log”:“[16:31:16] [Core:fikus Error] : [0] (NullReferenceException) : Object reference not set to an instance of an object\n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:16.976587551Z”}
{“log”:“[16:31:16] [Core:fikus Error] : at GenericModule.GenericApp.SendSignal (GenericModule.GenericModuleConfig+ExitMethod method) \n”,“stream”:“stdout”,“time”:“2024-03-21T16:31:16.977034472Z”}

I have exactly the same problem on Ubuntu 22.04, the installation and update went without problems, only at startup I get the wine error.

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Key                  ┃ Value                                 ┃
┣━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Operating System     ┃ Linux - Debian GNU/Linux 12 on x86_64 ┃
┃ Product              ┃ AMP 'Callisto' v2.5.0.0 (Mainline)    ┃
┃ Virtualization       ┃ Docker                                ┃
┃ Application          ┃ Space Engineers                       ┃
┃ Module               ┃ GenericModule                         ┃
┃ Running in Container ┃ Yes                                   ┃
┃ Current State        ┃ Failed                                ┃
┗━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

0x202 means you’re out of disk space. Check using df -h.

Yep, that was my first error. Made a bigger server, it went through and then I have the second error, same as many other users here. That one I can’t understand…

I can’t start the server either, I just keep getting this error message:

wine: Unhandled exception

I’m wondering if there is anyone here who have their Space Engineers server running on linux?..

Tested it on one of my other servers with AMP - same problem!
Tested Space Engineer directly on Ubuntu 22.04 with wine and proton, without docker - in both cases no issues.
It is comprehensible under AMP on Ubuntu 22.04, pretty easy with less effort, just install new Space Engineer instance with latest AMP Callisto Update in Docker container.

The AMP docker image needed a change to allow the template to install older wine 8 packages in the container. This change has now occurred. Update AMP/the instance to pull the latest docker image (and template config).

Thx, server is now starting without any issues!