Devidian / docker-spaceengineers

A Docker for Space Engineers Dedicated Server
87 stars 21 forks source link

Error when trying to launch the server #53

Closed Niborian closed 11 months ago

Niborian commented 11 months ago

I get this error when trying to launch the server any ideas how to fix?

2023-09-06 16:39:51 -------------------------------INSTALL & UPDATE------------------------------ 2023-09-06 16:39:51 WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. 2023-09-06 16:39:51 Redirecting stderr to '/root/Steam/logs/stderr.txt' 2023-09-06 16:39:51 [ 0%] Checking for available updates... 2023-09-06 16:39:51 [----] Verifying installation... 2023-09-06 16:39:51 Steam Console Client (c) Valve Corporation - version 1691628584 2023-09-06 16:39:51 -- type 'quit' to exit -- 2023-09-06 16:39:51 Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory 2023-09-06 16:39:51 OK 2023-09-06 16:39:51 2023-09-06 16:39:53 Connecting anonymously to Steam Public...OK 2023-09-06 16:39:53 Waiting for client config...OK 2023-09-06 16:39:53 Waiting for user info...OK 2023-09-06 16:39:53 "@sSteamCmdForcePlatformType" = "windows" 2023-09-06 16:39:54 Success! App '298740' already up to date. 2023-09-06 16:39:54 ---------------------------------UPDATE CONFIG------------------------------- 2023-09-06 16:39:54 ---------------------------------UPDATE PLUGINS------------------------------ 2023-09-06 16:39:54 ls: cannot access '/appdata/space-engineers/plugins/*.dll': No such file or directory 2023-09-06 16:39:54 Found 0 plugins in /appdata/space-engineers/plugins 2023-09-06 16:39:54 -----------------------------CURRENT CONFIGURATION--------------------------- 2023-09-06 16:39:54 GAME_DIR=/appdata/space-engineers/SpaceEngineersDedicated 2023-09-06 16:39:54 CONFIG_PATH=/appdata/space-engineers/instances/TestInstance/SpaceEngineers-Dedicated.cfg 2023-09-06 16:39:54 INSTANCE_IP=172.19.0.2 2023-09-06 16:39:54 CURRENT_IP=172.19.0.2 2023-09-06 16:39:54 CURRENT_WORLDNAME=Star System 2023-09-06 16:39:54 SAVE_PATH=Z:\\appdata\\space-engineers\\instances\\TestInstance\\Saves\\Star System 2023-09-06 16:39:54 wine-8.0 2023-09-06 16:39:54 ----------------------------------START GAME--------------------------------- 2023-09-06 16:39:54 rm: cannot remove '/appdata/space-engineers/instances/TestInstance/*.log': No such file or directory 2023-09-06 16:39:55 2023-09-06 16:39:55 Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'Sandbox.Game, Version=0.1.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest. 2023-09-06 16:39:55 at SpaceEngineersDedicated.MyProgram.Main(String[] args) 2023-09-06 16:39:55 wine: Unhandled exception 0xe0434352 in thread 104 at address 000000007B013C0E (thread 0104), starting debugger... 2023-09-06 16:39:56 Unhandled exception: 0xe0434352 in 64-bit code (0x0000007b013c0e). 2023-09-06 16:39:57 Register dump: 2023-09-06 16:39:57 rip:000000007b013c0e rsp:000000000041a620 rbp:000000000041a8e0 eflags:00000202 ( - -- I - - - ) 2023-09-06 16:39:57 rax:000000000041a660 rbx:000000000041c4d0 rcx:000000000041a640 rdx:0000000000000001 2023-09-06 16:39:57 rsi:000000000041c518 rdi:000000000041a688 r8:0000000000000005 r9:000000000041c4f0 r10:0000000000540f60 2023-09-06 16:39:57 r11:0000000000000006 r12:000000000041b648 r13:00000000024b9b30 r14:0000000000000000 r15:0000000000000000 2023-09-06 16:39:57 Stack dump: 2023-09-06 16:39:57 0x0000000041a620: 000000000041a640 000000007b07b5a7 2023-09-06 16:39:57 0x0000000041a630: 0000000000000000 0000000000000004 2023-09-06 16:39:57 0x0000000041a640: 00000001e0434352 0000000000000000 2023-09-06 16:39:57 0x0000000041a650: 000000007b013c0e 0000000000000005 2023-09-06 16:39:57 0x0000000041a660: ffffffff80131018 0000000000000000 2023-09-06 16:39:57 0x0000000041a670: 0000000000000000 0000000000000000 2023-09-06 16:39:57 0x0000000041a680: 00000000022c0000 0000000000000000 2023-09-06 16:39:57 0x0000000041a690: 0000000000000000 0000000002d94734 2023-09-06 16:39:57 0x0000000041a6a0: 000000000041c4d0 000000000041a8e0 2023-09-06 16:39:57 0x0000000041a6b0: 000000000041b030 000000000041a8e0 2023-09-06 16:39:57 0x0000000041a6c0: 000000000041b030 0000000002d94751 2023-09-06 16:39:57 0x0000000041a6d0: 000000000041c4d0 000000000041a760 2023-09-06 16:39:57 Backtrace: 2023-09-06 16:39:57 =>0 0x0000007b013c0e RaiseException+0x46(code=<internal error>, flags=<internal error>, count=<is not available>, args=<internal error>) [Z:\usr\src\packages\BUILD\dlls\kernelbase\debug.c:302] in kernelbase (0x0000000041a8e0) 2023-09-06 16:39:57 1 0x00000002d92a86 in vcruntime140_clr0400 (+0x2a86) (0x0000000041a8e0) 2023-09-06 16:39:57 2 0x00000170056d01 in ntdll (+0x56d01) (0x0000000041a8e0) 2023-09-06 16:39:57 3 0x000000022d536d in clr (+0x1536d) (0x0000000041eb10) 2023-09-06 16:39:57 4 0x000000022ce99b in clr (+0xe99b) (0x0000000041eb10) 2023-09-06 16:39:57 5 0x000000022ce0dc in clr (+0xe0dc) (0x0000000041f040) 2023-09-06 16:39:57 6 0x000000022c4835 in clr (+0x4835) (0x0000000041f040) 2023-09-06 16:39:57 7 0x000000022c6c93 in clr (+0x6c93) (0x0000000041f040) 2023-09-06 16:39:57 8 0x000000022c6b79 in clr (+0x6b79) (0x0000000041f130) 2023-09-06 16:39:57 0x0000007b013c0e RaiseException+0x46 [Z:\usr\src\packages\BUILD\dlls\kernelbase\debug.c:302] in kernelbase: nop 2023-09-06 16:39:57 Unable to access file 'Z:\usr\src\packages\BUILD\dlls\kernelbase\debug.c' 2023-09-06 16:39:57 Modules: 2023-09-06 16:39:57 ModuleAddressDebug infoName (62 modules) 2023-09-06 16:39:57 PE0000000001ab0000-0000000001b59000Deferred mscoreei 2023-09-06 16:39:57 PE0000000001b60000-0000000002113000Deferred user32 2023-09-06 16:39:57 PE00000000022c0000-0000000002d87000Export clr 2023-09-06 16:39:57 PE0000000002d90000-0000000002da6000Export vcruntime140_clr0400 2023-09-06 16:39:57 PE0000000002db0000-0000000002e6d000Deferred ucrtbase_clr0400 2023-09-06 16:39:57 PE000000001c660000-000000001c8e4000Deferred rpcrt4 2023-09-06 16:39:57 PE000000001c980000-000000001cace000Deferred clrjit 2023-09-06 16:39:57 PE000000001cb50000-000000001ccba000Deferred diasymreader 2023-09-06 16:39:57 PE000000001ccc0000-000000001ce3c000Deferred system.core 2023-09-06 16:39:57 PE0000000063680000-00000000637a2000Deferred shlwapi 2023-09-06 16:39:57 PE0000000064a00000-0000000064a64000Deferred imm32 2023-09-06 16:39:57 PE00000000677c0000-0000000067b44000Deferred crypt32 2023-09-06 16:39:57 PE0000000068680000-00000000686d3000Deferred win32u 2023-09-06 16:39:57 PE0000000068c00000-0000000068c12000Deferred psapi 2023-09-06 16:39:57 PE0000000069580000-00000000698a9000Deferred msvcrt 2023-09-06 16:39:57 PE0000000069f80000-000000006a0b2000Deferred advapi32 2023-09-06 16:39:57 PE000000006c240000-000000006c2ff000Deferred sechost 2023-09-06 16:39:57 PE000000006c380000-000000006c623000Deferred gdi32 2023-09-06 16:39:57 PE000000006cb40000-000000006d0ca000Deferred ole32 2023-09-06 16:39:57 PE000000006d8c0000-000000006da56000Deferred combase 2023-09-06 16:39:57 PE000000006e0c0000-000000006e17b000Deferred rsaenh 2023-09-06 16:39:57 PE000000006ef00000-000000006ef1f000Deferred version 2023-09-06 16:39:57 PE000000006f100000-000000006f155000Deferred shcore 2023-09-06 16:39:57 PE000000006f900000-000000006f956000Deferred bcrypt 2023-09-06 16:39:57 PE000000007b000000-000000007b5e9000Dwarf-4 kernelbase 2023-09-06 16:39:57 PE000000007b600000-000000007b792000Deferred kernel32 2023-09-06 16:39:57 ELF000000007d000000-000000007d005000Deferred <wine-loader> 2023-09-06 16:39:57 PE0000000140000000-0000000140014000Deferred spaceengineersdedicated 2023-09-06 16:39:57 PE0000000170000000-000000017035d000Dwarf-4 ntdll 2023-09-06 16:39:57 PE0000000180000000-00000001800f4000Deferred ucrtbase 2023-09-06 16:39:57 PE000006427ee50000-000006427eebf000Deferred mscoree 2023-09-06 16:39:57 PE0000064478000000-00000644795e3000Deferred mscorlib.ni 2023-09-06 16:39:57 ELF00007f43d0ffd000-00007f43d1009000Deferred libffi.so.7 2023-09-06 16:39:57 ELF00007f43d1009000-00007f43d108a000Deferred libgmp.so.10 2023-09-06 16:39:57 ELF00007f43d108a000-00007f43d10d3000Deferred libhogweed.so.6 2023-09-06 16:39:57 ELF00007f43d10d3000-00007f43d111b000Deferred libnettle.so.8 2023-09-06 16:39:57 ELF00007f43d111b000-00007f43d1131000Deferred libtasn1.so.6 2023-09-06 16:39:57 ELF00007f43d1131000-00007f43d12b3000Deferred libunistring.so.2 2023-09-06 16:39:57 ELF00007f43d12b3000-00007f43d12d4000Deferred libidn2.so.0 2023-09-06 16:39:57 ELF00007f43d12d4000-00007f43d1408000Deferred libp11-kit.so.0 2023-09-06 16:39:57 ELF00007f43d1408000-00007f43d1608000Deferred libgnutls.so.30 2023-09-06 16:39:57 ELF00007f43d1615000-00007f43d1620000Deferred bcrypt.so 2023-09-06 16:39:57 ELF00007f43d1830000-00007f43d1839000Deferred libuuid.so.1 2023-09-06 16:39:57 ELF00007f43d1839000-00007f43d1868000Deferred libexpat.so.1 2023-09-06 16:39:57 ELF00007f43d1868000-00007f43d18ae000Deferred libfontconfig.so.1 2023-09-06 16:39:57 ELF00007f43d18ae000-00007f43d18d1000Deferred libbrotlicommon.so.1 2023-09-06 16:39:57 ELF00007f43d18d1000-00007f43d18df000Deferred libbrotlidec.so.1 2023-09-06 16:39:57 ELF00007f43d18df000-00007f43d18fc000Deferred libz.so.1 2023-09-06 16:39:57 ELF00007f43d18fc000-00007f43d1936000Deferred libpng16.so.16 2023-09-06 16:39:57 ELF00007f43d1936000-00007f43d19f9000Deferred libfreetype.so.6 2023-09-06 16:39:57 ELF00007f43d19f9000-00007f43d1b3d000Deferred libm.so.6 2023-09-06 16:39:57 ELF00007f43d1b3d000-00007f43d1cf9000Deferred win32u.so 2023-09-06 16:39:57 ELF00007f43d1ef9000-00007f43d2070000Dwarf libwine.so.1 2023-09-06 16:39:57 ELF00007f43d2170000-00007f43d2184000Deferred libnss_files.so.2 2023-09-06 16:39:57 ELF00007f43d2184000-00007f43d21ac000Deferred liblzma.so.5 2023-09-06 16:39:57 ELF00007f43d21ac000-00007f43d21c7000Deferred libunwind.so.8 2023-09-06 16:39:57 ELF00007f43d21c7000-00007f43d228d000Deferred ntdll.so 2023-09-06 16:39:57 ELF00007f43d2290000-00007f43d2464000Deferred libc.so.6 2023-09-06 16:39:57 ELF00007f43d2464000-00007f43d246a000Deferred libdl.so.2 2023-09-06 16:39:57 ELF00007f43d246a000-00007f43d248c000Deferred libpthread.so.0 2023-09-06 16:39:57 ELF00007f43d2490000-00007f43d2497000Deferred crypt32.so 2023-09-06 16:39:57 ELF00007f43d249b000-00007f43d24c8000Deferred ld-linux-x86-64.so.2 2023-09-06 16:39:57 Threads: 2023-09-06 16:39:57 process tid prio name (all IDs are in hex) 2023-09-06 16:39:57 00000020 start.exe 2023-09-06 16:39:57 00000024 0 2023-09-06 16:39:57 00000038 services.exe 2023-09-06 16:39:57 0000003c 0 2023-09-06 16:39:57 00000048 0 wine_rpcrt4_server 2023-09-06 16:39:57 00000054 0 wine_rpcrt4_io 2023-09-06 16:39:57 00000058 0 wine_threadpool_worker 2023-09-06 16:39:57 00000078 0 wine_rpcrt4_io 2023-09-06 16:39:57 0000007c 0 wine_threadpool_worker 2023-09-06 16:39:57 0000009c 0 wine_rpcrt4_io 2023-09-06 16:39:57 000000c4 0 wine_rpcrt4_io 2023-09-06 16:39:57 000000d8 0 wine_threadpool_timerqueue 2023-09-06 16:39:57 000000e4 0 wine_rpcrt4_io 2023-09-06 16:39:57 00000040 explorer.exe 2023-09-06 16:39:57 00000044 0 2023-09-06 16:39:57 00000070 0 wine_rpcrt4_server 2023-09-06 16:39:57 0000004c svchost.exe 2023-09-06 16:39:57 00000050 0 2023-09-06 16:39:57 0000005c 0 2023-09-06 16:39:57 00000060 0 wine_sechost_service 2023-09-06 16:39:57 00000064 winedevice.exe 2023-09-06 16:39:57 00000068 0 2023-09-06 16:39:57 00000080 0 2023-09-06 16:39:57 00000084 0 wine_sechost_service 2023-09-06 16:39:57 00000088 0 2023-09-06 16:39:57 0000008c 0 2023-09-06 16:39:57 000000d4 0 2023-09-06 16:39:57 00000094 winedevice.exe 2023-09-06 16:39:57 00000098 0 2023-09-06 16:39:57 000000a0 0 2023-09-06 16:39:57 000000a4 0 wine_sechost_service 2023-09-06 16:39:57 000000a8 0 2023-09-06 16:39:57 000000ac 0 2023-09-06 16:39:57 000000b0 0 2023-09-06 16:39:57 000000bc 0 2023-09-06 16:39:57 000000c0 0 2023-09-06 16:39:57 000000b4 plugplay.exe 2023-09-06 16:39:57 000000b8 0 2023-09-06 16:39:57 000000c8 0 2023-09-06 16:39:57 000000cc 0 wine_sechost_service 2023-09-06 16:39:57 000000d0 0 wine_rpcrt4_server 2023-09-06 16:39:57 000000dc rpcss.exe 2023-09-06 16:39:57 000000e0 0 2023-09-06 16:39:57 000000e8 0 2023-09-06 16:39:57 000000ec 0 wine_sechost_service 2023-09-06 16:39:57 000000f0 0 wine_rpcrt4_server 2023-09-06 16:39:57 000000f4 0 wine_rpcrt4_server 2023-09-06 16:39:57 000000f8 0 wine_rpcrt4_io 2023-09-06 16:39:57 000000fc 0 wine_threadpool_worker 2023-09-06 16:39:57 00000100 (D) Z:\appdata\space-engineers\SpaceEngineersDedicated\DedicatedServer64\SpaceEngineersDedicated.exe 2023-09-06 16:39:57 00000104 0 <== 2023-09-06 16:39:57 00000108 0 2023-09-06 16:39:57 0000010c 2 2023-09-06 16:39:57 00000118 0 2023-09-06 16:39:57 System information: 2023-09-06 16:39:57 Wine build: wine-8.0 2023-09-06 16:39:57 Platform: x86_64 2023-09-06 16:39:57 Version: Windows 7 2023-09-06 16:39:57 Host system: Linux 2023-09-06 16:39:57 Host version: 5.15.90.1-microsoft-standard-WSL2 2023-09-06 16:39:57 -----------------------------------END GAME---------------------------------- 2023-09-06 16:39:58 -----------------------------------BYE !!!!----------------------------------

Devidian commented 11 months ago

Hi @Niborian, the log is not well formatted and hard to read but i would guess something with your save game is wrong.

Please add following information:

Niborian commented 11 months ago

That text document contains my docker-compose (had to copy-paste it into another file type since sending a yml file wasn't okay) New Text Document.txt

to start my server I use the docker desktop and click the play button ( I set up the docker-compose in powershell so first time start up was from there)

this screenshot is from C:\Users\lolol\Music\Seserver\appdata\space-engineers\instances\TestInstance\"screenshot of folders" image

here's the log again inside a Txt file hope that's better logbetterformat.txt

Devidian commented 11 months ago

So, you are using docker on a windows-docker, i've never tested that as i use WSL docker on windows which is almost equal to running on real linux. Might be issues with access rights from linux to windows hdd, as the docker itself is a linux.

But i also see your instance name is "TestInstance", did you really setup an instance with that name first ?

Niborian commented 11 months ago

My main goal is to get it running on Truenas scale, but when that didn't work I thought testing with my laptop and getting it to work, would make it easier to setup on Truenas (also do not have enough ram atm so I would have to wait until I get more)

I used steam to launch Space engineers dedicated server (tool) then made a new instance called TestIntance, then copied that from C:\ProgramData\SpaceEngineersDedicated\TestInstance and pasted into C:\Users\lolol\Music\Seserver\appdata\space-engineers\instances\

Devidian commented 11 months ago

You could try to comment the 3. and 4. line of volumes as they dont need to be linked to the host.

Niborian commented 11 months ago

[logbetterformat.txt](https://github.com/Devidian/docker-spaceengineers/files/12556792/logbetterformat.txt seems like it will start now, just complaining about not finding a premade world

Niborian commented 11 months ago

removed dates from save name seems to fixed that

Niborian commented 11 months ago

Just tested and the server works, is there something I should think about when moving this over to truenas scale?

Devidian commented 11 months ago

[logbetterformat.txt](https://github.com/Devidian/docker-spaceengineers/files/12556792/logbetterformat.txt seems like it will start now, just complaining about not finding a premade world

Yeha i know that but seems to be no issue.

Just tested and the server works, is there something I should think about when moving this over to truenas scale?

i dont know your target system so i dont know - but i guess not ;)