Closed norimicry closed 11 months ago
The log looks fine to me, that dll error you might want to bring up in the steam dedicated support forum: https://steamcommunity.com/app/1326470/discussions/0/3808404524164518482/
Im supporting the Docker-Part of the gameserver, but i dont write the gameserver itself.
Same files run fine without going through Docker. Wondering if its a wine issue.
Try fresh-install with docker system prune and make sure you download my image fresh again.
Steps I've just taken:
docker run --rm -i -t -p 8766:8766/udp -p 27016:27016/udp -p 9700:9700/udp -v $(pwd)/steamcmd:/steamcmd -v $(pwd)/game:/sonsoftheforest --name sons-of-the-forest-dedicated-server jammsen/sons-of-the-forest-dedicated-server:latest
Edit: The UnityPlayer.dll file in question is there and matches the one present on my local installation. Just doesn't seem to be processed by Wine.
>>> Doing an update of the gameserver
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/root/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1689034828
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
@sSteamCmdForcePlatformType windows
"@sSteamCmdForcePlatformType" = "windows"
force_install_dir /sonsoftheforest
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
app_update 2465200 validate
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) verifying install, progress: 0.80 (26394342 / 3300729847)
Update state (0x5) verifying install, progress: 6.63 (218848020 / 3300729847)
Update state (0x5) verifying install, progress: 18.95 (625325253 / 3300729847)
Update state (0x5) verifying install, progress: 32.17 (1061846869 / 3300729847)
Update state (0x5) verifying install, progress: 44.46 (1467384342 / 3300729847)
Update state (0x5) verifying install, progress: 54.82 (1809557386 / 3300729847)
Update state (0x5) verifying install, progress: 64.17 (2117935022 / 3300729847)
Update state (0x5) verifying install, progress: 77.48 (2557288430 / 3300729847)
Update state (0x5) verifying install, progress: 89.36 (2949689192 / 3300729847)
Update state (0x1) running, progress: 0.00 (0 / 0)
Success! App '2465200' fully installed.
quit
>>> Checking if Wine is set in bashrc
>>> Setting up Wine in bashrc
>>> Setting up WineConfig and waiting 15 seconds
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
>>> Starting the gameserver
0118:err:module:LdrInitializeThunk "UnityPlayer.dll" failed to initialize, aborting
0118:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\sonsoftheforest\\SonsOfTheForestDS.exe" failed, status c0000005```
That looks weird to me, you have multiple times errors where steamcmd cant open a file and the gameserver failed to do something with a file. Whats your User/Permission schema on this? Does Docker run rootfull or root-less? Post a "ls -alR" on the parent directory please.
Any updates on this? @cavazoshj
@jammsen i switched to running this on a physical Ubuntu server build with docker and was able to run it successfully with no problems. Seems like a WSL issue by that logic. If you’d like me to provide that info for your own reference, I still can.
If you want to provide it for others feel free, always welcome to have a "good answer" at the end of a problem you know?
Feel free to close this issue after that.
Also very happy to hear it works after going to a more native Docker-Solution, WSL is cool for some things about real hosting should be done on Debian/Ubuntu with current Docker version if you ask for "my" opinion. 😎
Getting stuck in a loop when trying to start the game server. This is on a fresh installation. Running on Windows 11 with WSL2. Here is the error: