Closed mwessman closed 9 months ago
Here is my docker-compose.yml file. I simply renamed the docker-compose-proton.yml to the default name and made some changes to the env variables:
version: "3.8"
services:
enshrouded:
build:
context: .
dockerfile: dockerfiles/proton.Dockerfile
args:
WINE_BRANCH: stable
image: mornedhels/enshrouded-server:dev-proton
container_name: enshrouded
hostname: enshrouded
restart: unless-stopped
stop_grace_period: 90s
ports:
- "15636-15637:15636-15637/udp"
volumes:
- ./game:/opt/enshrouded
environment:
- SERVER_NAME=***
- PUID=4711
- PGID=4711
- SERVER_PASSWORD=***
the docker-compose are more or less internal. you don't need the build part at the top.
So but to the problem. you probably have a permission issue with the ./game folder. Change die PUID and PGID to the ids of your linux user, and chown
the ./game folder to the right ones.
id -u # to get the user id from the current used user
id -g # to get the group id from the current used user
chown -R PUID:PGID ./game # update the ownership of the gamefolder.
But the wine version should also have permission issues, if you don't set them right.
I pulled the newest version of the dev-proton docker image, and updated the PUID and PGID in my docker-compose file with the ID's from the id -u
and id -g
commands, and updated the chown. And it still gives the exact same error.
I tried rebuilding it all with image removing, downloading the newest image, and then running it with --no-deps to make sure it gets the updated version as well.
I'm at a loss what this could be. The docker-compose file is now cleaned without the build part, and the PUID and PGID are updated with my user's ID's.
well if its not a permission issue, than you have not enough space on your disk? Thats basically what the error means. But often it is due to missing write permissions.
You can check that with df -h
to see how much space you have left.
Yes I just figured this out a few minutes before your comment! I'm running this on a GCP VM, and I've use this same VM for other game servers like Palworld. Turns out the SSD was completely full of crap and I had to delete some stuff. Now it decided to download it properly, and made it all the way to the end.
BUT! I can find the server on the list of lobbies in-game, but when I try to join I get an error:
This is what the end of the logs look like. I checked that the versions of the game match, and they do. But the logs still look a bit different from what I've seen before.
2024-01-28 16:00:44.901 supervisord: enshrouded-server [app] start creation step Init_Version
2024-01-28 16:00:44.902 supervisord: enshrouded-server Game Version (SVN): 487046
2024-01-28 16:00:44.902 supervisord: enshrouded-server [app] start creation step Init_UserSystem
2024-01-28 16:00:44.903 supervisord: enshrouded-server [user] Couldn't retrieve steam friends interface.
2024-01-28 16:00:44.904 supervisord: enshrouded-server [user] Couldn't retrieve steam user interface.
2024-01-28 16:00:44.904 supervisord: enshrouded-server [app] start creation step Init_OnlineSystem
2024-01-28 16:00:44.913 supervisord: enshrouded-server [OnlineProviderSteam] started transition from 'Uninitialized' to 'Initialized' (current='<invalid>')!
2024-01-28 16:00:44.914 supervisord: enshrouded-server [app] start creation step Init_Session
2024-01-28 16:00:44.949 supervisord: enshrouded-server [app] start creation step Init_Tracking
2024-01-28 16:00:44.957 supervisord: enshrouded-server [app] start creation step Init_ResourceSystem
2024-01-28 16:00:44.960 supervisord: enshrouded-server [resource] Could not load resource cache file 'Z:/opt/enshrouded/server/enshrouded_server.krc'. error=file not found
2024-01-28 16:00:44.962 supervisord: enshrouded-server [app] start creation step Init_ResourcePreload_Start
2024-01-28 16:00:45.189 supervisord: enshrouded-server [app] start creation step Init_ResourcePreload_Wait
2024-01-28 16:00:47.064 supervisord: enshrouded-server [app] start creation step Init_SaveDataSystem
2024-01-28 16:00:47.065 supervisord: enshrouded-server [savedata] Couldn't retrieve steam remote storage interface.
2024-01-28 16:00:47.066 supervisord: enshrouded-server [savedata] Steam Cloud is disabled.
2024-01-28 16:00:47.067 supervisord: enshrouded-server [app] start creation step Load_ResourceObject
2024-01-28 16:00:47.068 supervisord: enshrouded-server [app] start creation step Init_ServerThread
2024-01-28 16:00:47.069 supervisord: enshrouded-server [app] start creation step StartGame
2024-01-28 16:00:47.069 supervisord: enshrouded-server [app] start creation step Init
2024-01-28 16:00:47.069 supervisord: enshrouded-server [app] start creation step StartGame
2024-01-28 16:00:47.074 supervisord: enshrouded-server [Session] started transition from 'Lobby' to 'Host_Online' (current='<invalid>')!
2024-01-28 16:00:47.075 supervisord: enshrouded-server [OnlineProviderSteam] 'Initialize' (up)!
2024-01-28 16:00:47.076 supervisord: enshrouded-server [Session] 'PrepareGame' (up)!
2024-01-28 16:00:47.076 supervisord: enshrouded-server [OnlineProviderSteam] finished transition from 'Uninitialized' to 'Initialized' (current='Initialized')!
2024-01-28 16:00:47.076 supervisord: enshrouded-server [session] Command the session is waiting for is not yet processed. current: 0, waiting: 1
2024-01-28 16:00:47.077 supervisord: enshrouded-server [OnlineProviderSteam] started transition from 'Initialized' to 'InGame' (current='<invalid>')!
2024-01-28 16:00:47.078 supervisord: enshrouded-server [savedata] Start 'Open Container' on container 3ad85aea
2024-01-28 16:00:47.078 supervisord: enshrouded-server [savedata]
2024-01-28 16:00:47.079 supervisord: enshrouded-server Updating 'Open Container' on container 3ad85aea
2024-01-28 16:00:47.079 supervisord: enshrouded-server [savedata] Finished 'Open Container' on container 3ad85aea
2024-01-28 16:00:47.083 supervisord: enshrouded-server [OnlineProviderSteam] 'JoinOrCreateGame' (up)!
2024-01-28 16:00:47.083 supervisord: enshrouded-server [OnlineProviderSteam] 'SetLobbyData' (up)!
2024-01-28 16:00:47.084 supervisord: enshrouded-server [OnlineProviderSteam] 'JoinLocalPlayers' (up)!
2024-01-28 16:00:47.084 supervisord: enshrouded-server [OnlineProviderSteam] 'ConnectToPeers' (up)!
2024-01-28 16:00:47.085 supervisord: enshrouded-server [OnlineProviderSteam] finished transition from 'Initialized' to 'InGame' (current='InGame')!
2024-01-28 16:00:47.089 supervisord: enshrouded-server [Session] 'HostOnline' (up)!
2024-01-28 16:00:47.090 supervisord: enshrouded-server [Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
2024-01-28 16:00:47.091 supervisord: enshrouded-server [savedata] File command of type '12' failed with error: 'file not found'.
2024-01-28 16:00:47.102 supervisord: message repeated 2 times: [ enshrouded-server [savedata] File command of type '12' failed with error: 'file not found'.]
2024-01-28 16:00:47.755 supervisord: enshrouded-server [ecss] TaskQueue: workerCount:5 taskWorkerCount:4 0000000000000000000000000000000000000000000000000000000000011110
2024-01-28 16:00:47.861 supervisord: enshrouded-server [TerraformingEfficiencyRegistry] Finished loading.
2024-01-28 16:00:47.882 supervisord: enshrouded-server [ecs] Nobuild zones changed
2024-01-28 16:00:47.882 supervisord: enshrouded-server [ecs] Build zones changed
2024-01-28 16:00:47.882 supervisord: enshrouded-server [ecs] Build zones changed
2024-01-28 16:00:47.889 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry e284b901-c3dd-4282-8a4e-0a618e5763f5.
2024-01-28 16:00:47.890 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry 27a9e067-4b9f-45cf-b966-208a5ecbd53b.
2024-01-28 16:00:47.891 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry 85e3baea-7c93-4d6f-b1be-42f79b036761.
2024-01-28 16:00:47.891 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry 28c4b2ca-4a01-4ba9-9e05-49c871df6904.
2024-01-28 16:00:47.891 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry ec28c5d5-9d23-413e-b238-781157fb2f65.
2024-01-28 16:00:47.891 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry 5d9bd376-5b7f-4db4-8f2e-6a3e564194b1.
2024-01-28 16:00:47.891 supervisord: enshrouded-server [guid_registry] VoxelBlueprintRegistry: Finished loading entry 34aa0c3c-9a88-4f8b-a070-64827a5fdabf.
Alright. I did some googling and apparently the game wants you to use a longer password. So after rerunning the docker compose with a new and longer password, it suddenly started working.
Let me do some performance checks to see how well Proton works compared to wine.
nice, I just found a sever-faq post for that (Discord).
Would be nice to have some comparison data. The results will probably vary from system to system.
Alright. I just tried it out for some hours with some people in the server. And i had a few hiccups here and there, but nothing major, so it works great. I'm closing the ticket since this seems to be done.
Thanks for the help!
Is there an existing issue for this?
Used image version
dev-proton
Used docker compose file or docker command
docker-compose-proton.yml
What you expected to see, versus what you actually saw
I expected to get a normal build going like with the wine version, but with Proton it doesn't work. I pasted the logs below, and I believe the main problem is this part:
2024-01-28 09:01:00.575 supervisord: enshrouded-updater Error! App '2278520' state is 0x202 after update job.
I looked through some other issue threads and found that you mentioned a force update:
docker compose exec enshrouded supervisorctl start enshrouded-force-update
But that didn't help either.The reason I want to use Proton is because the wine server lags like crazy, and from what I've heard, using Proton makes it a lot smoother.
Logs from the container