#Docker Help

1 messages Β· Page 1 of 1 (latest)

sick wigeon
topaz lodge
#

Thank you!

I'm running on linux wine64 but after connecting to my server it disconnects me right away. My firewall is turned off and everything.

https://southnode.net/steam-query-tool this website shows that it is reachable but the steam join link then says: unable to connect to server, app id specified by server is invalid.

A friend of mine uses steamcmd to host on windows and that worked fine, but somehow hosting on linux with wine64 does not seem to work (for me).

Nothing in the FAQ helps me solve this...

I used InstallServer.sh

oblique jungle
#

I am using jsknnr container, where is the game saved? cant seem to find it under /home/steam

astral pelican
#

oh snap. anyone get a server docker on unraid running yet?

knotty osprey
#

i have it running but cannot connect to it so far @astral pelican

sand root
#

for now i don't have made any adapt on dockerfile since i was waiting day1

#

i'm currently trying to have it functionnal

#

what the problem/error you run in?

#

(any feedback will be usefull)

queen nova
#

Kick Unraid

astral pelican
#

migrating to a new os like proxmox seems like way too much work that im too lazy do

topaz lodge
#

Any ideas about the issue im facing? I don't understand what's going on. Does anyone else have the same issue?

queen nova
#

make more problems than its helpfull

knotty osprey
queen nova
#

The container uses the Kernel of the Hostsystem

#

for Wine 9 Kernel 5.4 +, better 6.x is needed

knotty osprey
#

uhm but right now i have the serevr running fine

worn spindle
#

For the dockerfile images, I had to make a couple of changes to get it to work, not sure if relevant

sand root
#

tell me

#

it will certainly will

astral pelican
#

would be great if ich777 made an enshrouded docker on the community apps

worn spindle
#

under the user creation, add another line

tender ravine
#

my server started fine on Ubuntu. how is your CPU usage in idle mode? it seems very high here

worn spindle
#

&& passwd -d steam \

#

^ removes the password prompt during the entrypoint with su steam

dapper fossil
worn spindle
#

otherwise you will fail @ auth during spinup

sick wigeon
#

If you guys can, when you find or fix issues please open a pull request.

sand root
#

i add this

worn spindle
#

I'll do it in a second

astral pelican
#

anyone have a guide to making a enshrouded docker on unraid? you would be a 🐐

oblique jungle
#

i am trying to find my save game after running jsknnr container, but i cant seem to find the directory that it had installed

knotty osprey
sand root
#

changed line for linux version

sand root
#

changed in dockerfile too

opaque coral
#

anyone familiar with this wine error?
wine: Call from 000000007BC2ED58 to unimplemented function KERNEL32.dll.GetSystemCpuSetInformation, aborting
wine: Unimplemented function KERNEL32.dll.GetSystemCpuSetInformation called at address 000000007BC2ED58 (thread 0024), starting debugger...

sand root
#

seems like ther is a problem on call inside library

#

what command did you used to launch server

opaque coral
#

I was following the InstallServer.sh file in Presidents Repo. I was actually able to get Valheim running through wine yesterday following it

topaz lodge
worldly hull
#

For folks getting "wine: Unhandled illegal instruction at address 00000001406728B4 (thread 01b8), starting debugger...
Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4)."

You need to make sure that your Linux host has at least Kernel 5.X, preferably 6.X

Also, if you are using Proxmox to host a VM to run the server, make sure for CPU type you are setting to host not default (kvm) or what ever is listed there for default.

This will fix your issue.

#

Also the above error may also be fixed by what I jsut posted if using Proxmox under the hood

astral pelican
#

for creating my own docker on unraid do i need more than the steamcmd path, server files path, and game id? do i need to add port rules as well to the template

sick wigeon
knotty osprey
sand root
#

i'm checking

#

following @worn spindle info

#

so yes we can merge

sick wigeon
#

Merging

sand root
#

merged

#

πŸ˜„

sick wigeon
#

W

dapper fossil
astral pelican
#

im over here trying to turn docker compose terminal commands into the right fields

misty ether
#

anyone tried a different port? query tool shows the server, I've checked both the SVN version on client n server to be the same, but doesn't seem to update the port changes since online query tool still shows 15637 even though actual port is different

knotty osprey
#

or could you send a screenshot / list of the configs you set up ?

blazing rover
sand root
#

i'm testing all command one by one to see if there is any issues or moodification to make it run properly

worldly hull
#

I have never used proxmox, so if you arent seeing that you may need to send me a screenshot of what you do see

#

I just know how VMs work and some times of the type isnt quite right we may be missing cpu flag instructions on the VM

#

let me know if that works

dapper fossil
blazing rover
# worldly hull let me know if that works
dockerresources-enshrouded-1  | ln: failed to create symbolic link '/home/steam/.steam/root': No such file or directory
dockerresources-enshrouded-1  | ln: failed to create symbolic link '/home/steam/.steam/steam': No such file or directory
dockerresources-enshrouded-1  | tid(19) burning pthread_key_t == 0 so we never use it
dockerresources-enshrouded-1  | WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
dockerresources-enshrouded-1  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
dockerresources-enshrouded-1  | Logging directory: '/home/steam/Steam/logs'
dockerresources-enshrouded-1  | [  0%] Checking for available updates...
dockerresources-enshrouded-1  | [----] Verifying installation...
dockerresources-enshrouded-1  | Steam Console Client (c) Valve Corporation - version 1705108307
dockerresources-enshrouded-1  | -- type 'quit' to exit --
dockerresources-enshrouded-1  | Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
dockerresources-enshrouded-1  | Connecting anonymously to Steam Public...OK
dockerresources-enshrouded-1  | Waiting for client config...OK
dockerresources-enshrouded-1  | Waiting for user info...OK
dockerresources-enshrouded-1  |  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
dockerresources-enshrouded-1  |  Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
dockerresources-enshrouded-1  | Error! App '2278520' state is 0x202 after update job.
dockerresources-enshrouded-1  | server updated.
dockerresources-enshrouded-1  | wine: failed to open "/home/steam/enshrouded/enshrouded_server.exe": c0000135
dockerresources-enshrouded-1  | Server Launched. Enjoy ;)
dockerresources-enshrouded-1 exited with code 0
#

Symlinks failed while building the image as well though

cedar narwhal
#

looks like there's a bunch popping up on DockerHub

sand root
#

it is when launching container? or when building image?

opaque coral
#

So the VPS I picked up yesterday isnt going to work. I have zero experience with docker but can anyone point me in the direction of where to get started with a docker solution?

blazing rover
#

For me, both

worn spindle
blazing rover
#

It still fails to open the server file, I havent had time to dig in to it myself with work

worn spindle
#

yeah im juggling work w/ that rn, as well

#

i did notice the game goes into a "up" state, but, I fail to find it in the server list atm

worldly hull
cedar narwhal
opaque coral
worldly hull
opaque coral
worldly hull
opaque coral
worldly hull
#

kernel version?

opaque coral
#

just upgraded it to 6.5

worldly hull
#

ok great

#

would you rather use docker or podman?

opaque coral
#

I was originally trying to run the server through wine. I got valheim working that way yesterday

worldly hull
#

valheim shouldnt need wine

opaque coral
worldly hull
#

ah ok

opaque coral
worldly hull
#

I like podman, its full open source unlike docker. Commands are basically the same

#

sudo apt update && sudo apt-get install podman -y

sullen flax
#

@worldly hull
i get these errors with your image
[resource] Could not load resource cache file 'Z:/home/steam/enshrouded/enshrouded_server.krc'. error=file not found
[savedata] Finished 'Open Container' on container 3ad85aea
[savedata] File command of type '12' failed with error: 'file not found'.
[ecss] TaskQueue: workerCount:5 taskWorkerCount:4 000000000000000

and when i join the server empty my inventory, leave and rejoin my charakter is identified as new charakter

opaque coral
worldly hull
sullen flax
#

ok np

thick shell
#

i get these errors

stdout:
[I 00:00:00,401] [app] start creation step Init_Version
[I 00:00:00,401] Game Version (SVN): 487046
[I 00:00:00,401] [app] start creation step Init_UserSystem
[W 00:00:00,401] [user] Couldn't retrieve steam friends interface.
[W 00:00:00,401] [user] Couldn't retrieve steam user interface.
[I 00:00:00,401] [app] start creation step Init_OnlineSystem
[I 00:00:00,403] [OnlineProviderSteam] started transition from 'Uninitialized' to 'Initialized' (current='<invalid>')!
[I 00:00:00,403] [app] start creation step Init_Session
[I 00:00:00,404] [app] start creation step Init_Tracking
[I 00:00:00,404] [app] start creation step Init_ResourceSystem
[W 00:00:00,405] [resource] Could not load resource cache file 'Z:/game/enshrouded_server.krc'. error=file not found
[I 00:00:00,406] [app] start creation step Init_ResourcePreload_Start
[I 00:00:00,518] [app] start creation step Init_ResourcePreload_Wait

sterr:
Setting breakpad minidump AppID = 1203620
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded no]
[user] Couldn't retrieve steam friends interface.
[user] Couldn't retrieve steam user interface.
[resource] Could not load resource cache file 'Z:/game/enshrouded_server.krc'. error=file not found
X connection to :99 broken (explicit kill or server shutdown).
worldly hull
#

You don't need to be running an X server

#

I think that the enshrouded_server.krc file error may be a red herring, but stand by

oblique jungle
#

Hi sknnr, can i check where does the savegame saves at with ur container?

worldly hull
#

/home/steam/enshrouded/savegame

oblique jungle
#

the folder is empty though

worldly hull
#

the server saves every 5 minutes

#

so it may be empty initially

thick shell
oblique jungle
worldly hull
oblique jungle
#

i even restarted the docker

#

yup

worldly hull
#

may be a permissions issue

sand root
#

i pushed some changes on dockerfile

#

continuing to adjust what is messy

oblique jungle
worldly hull
#

how are you handling the volume, can you show me

visual thorn
worldly hull
#

so I am working and helping you guys at the same time. My friend who is logged into my server using my image, just confirmed after I killed the container while he was playing he only lost the last few minutes. Everything else was still there. So it is persisting as it should.

worldly hull
astral pelican
#

sorry for being really dumb with this. i understand everything im supposed to enter into unraid to make the container except this one line.
--mount type=volume,source=enshrouded-persistent-data,target=/home/steam/enshrouded/savegame
how do i enter that into unraid

oblique jungle
#

/var/lib/docker/overlay2/33b513e9fc72e17590b50axxxxxx0xxxxd66xx777400e10f/merged/home/steam/enshrouded/savegame

worldly hull
#

Unforutnately I have never used unraid

oblique jungle
#

this is the folder that i navigate to

#

docker volume create enshrouded-persistent-data
docker run
--detach
--name enshrouded-server
--mount type=volume,source=enshrouded-persistent-data,target=/home/steam/enshrouded/savegame
--publish 15636:15636/udp
--publish 15637:15637/udp
--env=SERVER_NAME="xxxxx"
--env=SERVER_SLOTS=16
--env=SERVER_PASSWORD="xxxx"
--env=GAME_PORT=15636
--env=QUERY_PORT=15637
sknnr/enshrouded-dedicated-server:latest

#

the docker cmd that i run

worldly hull
oblique jungle
#

am i navigating to the wrong folder?

worldly hull
#

can you do this docker exec -it enshrouded-server /bin/bash

oblique jungle
#

yup

worldly hull
#

and then run ls -alh /home/steam/enshrouded/savegame

oblique jungle
#

ahh okay

#

cos i wish to download the save game into my windows pc using ftp

sullen flax
#

steam@1fa48af62c9f:~$ ls -alh /home/steam/enshrouded/savegame
total 0
drwxr-xr-x 1 1026 users 16 Jan 24 13:56 .
drwxr-xr-x 1 steam steam 512 Jan 24 18:34 ..
drwxr-xr-x 1 1026 users 0 Jan 24 13:56 savegame
steam@1fa48af62c9f:~$

oblique jungle
#

seems like this is where it is saved

#

/var/lib/docker/volumes/enshrouded-persistent-data/_data

worldly hull
#

that path may be right - it jsut dpeends on your host system

pseudo bane
#

Trying to get this set up on Unraid is a trip lol

oblique jungle
#

alright thanks!

pseudo bane
#

OOP might have figured it out tho. maybe.

worldly hull
sand root
#

yep

worldly hull
#

ownership looks good there

sand root
#

do a chown -R steam:steam /home/steam

worldly hull
#

can you show me ls -alh /home/steam/enshrouded

sullen flax
#

steam@1fa48af62c9f:~$ ls -alh /home/steam/enshrouded
total 12G
drwxr-xr-x 1 steam steam 512 Jan 24 18:34 .
drwxr-xr-x 1 steam steam 306 Jan 24 16:40 ..
drwxr-xr-x 1 steam steam 16 Jan 24 16:39 _CommonRedist
drwxr-xr-x 1 steam steam 18 Jan 24 16:40 appcache
drwxr-xr-x 1 steam steam 20 Jan 24 16:40 config
-rwxr-xr-x 1 steam steam 31M Jan 24 16:31 enshrouded_server.exe
-rw-r--r-- 1 steam steam 203 Jan 24 18:34 enshrouded_server.json
-rwxr-xr-x 1 steam steam 12G Jan 24 16:38 enshrouded_server.kfc_data
-rwxr-xr-x 1 steam steam 1.4M Jan 24 16:37 enshrouded_server.kfc_dir
drwxr-xr-x 1 steam steam 442 Jan 24 18:35 logs
drwxr-xr-x 1 1026 users 16 Jan 24 13:56 savegame
-rwxr-xr-x 1 steam steam 295K Jan 24 16:35 steam_api64.dll
-rwxr-xr-x 1 steam steam 7 Jan 24 16:34 steam_appid.txt
drwxr-xr-x 1 steam steam 120 Jan 24 18:33 steamapps
-rwxr-xr-x 1 steam steam 19M Jan 24 16:31 steamclient.dll
-rwxr-xr-x 1 steam steam 22M Jan 24 16:31 steamclient64.dll
-rwxr-xr-x 1 steam steam 342K Jan 24 16:31 tier0_s.dll
-rwxr-xr-x 1 steam steam 395K Jan 24 16:31 tier0_s64.dll
-rwxr-xr-x 1 steam steam 531K Jan 24 16:31 vstdlib_s.dll
-rwxr-xr-x 1 steam steam 692K Jan 24 16:31 vstdlib_s64.dll

worldly hull
#

aha

#

thats the problem

#

drwxr-xr-x 1 1026 users 16 Jan 24 13:56 savegame

#

are you running this with docker or podman?

#

and is this a bind mount or a docker/podman volume

sullen flax
#

with Docker on my Synology DS923+

pseudo bane
#

sknnr thanks to your wonderful dockerhub, I'm really close to having this work on unraid, thank you so much

sullen flax
#

the mount is not working as far as i could say

volumes:
- /volume1/docker/Enshrouded-Server:/home/steam/enshrouded/savegame

But the Enshrouded-Server Folder on my NAS is empty

worn spindle
#

hmm, do we need the symbolic link for the /home/steam/.steam/root?

#

it doesn't really SEEM like it, but...

worldly hull
#

so it can't write anything

pseudo bane
#

Okay I'm getting hit with Error! App '2278520' state is 0x202 after update job.
But my disk (array is an empty 30TB, and the cache drive is 2TB as well)

And I'm not sure why it's throwing a disk full error

sullen flax
#

ah ok and how can this be fixed?

worldly hull
#

are you launching this with compose?

#

can you show me the whole compose file

astral pelican
pseudo bane
#

I might have the docker vdisk too small, I just increased its size gonna test. I just put it all in appdata for the moment, gonna move it to the array at some point once I figure out how lul

astral pelican
#

its the one command idk how to translate into unraids forms

worn spindle
#
[online] Server SteamId: 90179849844401177
[online] Public ipv4: 100.38.17.209
[OnlineProviderSteam] 'Initialize' (up)!
[OnlineProviderSteam] 'JoinOrCreateGame' (up)!
[OnlineProviderSteam] 'SetLobbyData' (up)!
[OnlineProviderSteam] 'JoinLocalPlayers' (up)!
[OnlineProviderSteam] 'ConnectToPeers' (up)!
[OnlineProviderSteam] finished transition from 'Uninitialized' to 'InGame' (current='InGame')!
[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
[ecss] Stats:  Upd:3,593  (16.7ms)  Time:60,001ms  Total:7,511ms  Max:24ms  Avg:2.1ms  +:0  -:0  Ent:579  Pred:0```
#

it's running even w/ the sym link error, but can't find it in the list ;{

#

can anyone see "Ancestral" in the list by chance?

pseudo bane
#

but now I'm not getting any logs when starting the server so I'm not sure where the hang up is now, welp.

opaque coral
#

Im using Sknnr dockerhub as well and it looks like it is running and I can see that my server is listening on the specified ports but I am not seeing it populate within the server list in game

pseudo bane
#

o cool new stuff
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory

remote peak
worldly hull
#

ok so folks that cant see their server

worn spindle
#

I wonder if this is one of the issues

#
[I 00:00:01,624] [OnlineProviderSteam] started transition from 'Uninitialized' to 'Initialized' (current='<invalid>')!```
worldly hull
#
  1. Router must allow the ports
  2. Server must allow the ports
  3. You likely need to port-forward the ports from the router to the private IP address of your server
pseudo bane
worldly hull
#

Using my container image with no changes at all, my server shows on the list jsut fine

astral pelican
#

HA i figured it out....i think
-add another path port etc
-path
-name: enshrouded server persistent
-containter path: /home/steam/enshrouded/savegame
-host path: /mnt/cache/appdata/enshrouded/savegame

repeat for /home/steam/enshrouded -> /mnt/cache/appdata/enshrouded

worldly hull
#

my container also does not run as root. So if you are bind mounting volumes into the container, if their permissions and ownerships do not match, the server will be unable to write files to the mount

#

which is why my instructions call for docker/podman to handle volume creation

#

basically from the host it needs to be the equivelant of running chown -R 1000:1000 /your/enshrouded/directory

#

1000:1000 is the group and user ID for the steam user in the container

pseudo bane
astral pelican
#

yeah boiiii its working

#

ty sknnr. ty everyone for your help

pseudo bane
#

@astral pelican can I DM you in a minute?

astral pelican
#

yeah

sterile bloom
astral pelican
#

im running a palworld and enshrouded server on my unraid server rn. memory is sitting at a little less than 16gb

#

but only 2 people are in the palworld server atm and no one is in the enshrouded one yet so idk how much number will go up

worldly hull
#

palworld is a silly good time lol. I've got an image for that too out there.

sterile bloom
#

Palworld been a lot of fun. That thing gobbles memory like crazy though. I've been rebooting once it starts consuming around 24gb

summer mango
worldly hull
summer mango
worldly hull
#

I don't know anything about Snyology, but if it can run docker or podman, you can check my repo out for instructions

summer mango
#

sure! - link?

opaque coral
#

ok figured out my podman container is getting an exit status of 29 after running for about 20 seconds

worldly hull
#

Got another call I have to jump on, I will respond when I can

summer mango
#

TY

sullen flax
summer mango
remote peak
wanton star
astral pelican
sullen flax
#

"chown -R 1000:1000 /volume1/docker/Enshrouded-Server"
fixed it for me

astral pelican
pseudo bane
#

Yeah even with it in cache it's not saving the files, which is weird.

astral pelican
#

did you manually make the folders in appdata?

pseudo bane
#

I did not , but ofc as I complain about it, it works.

#

I love today rofl

astral pelican
#

hell yeah

sterile bloom
#

lol

sterile bloom
wanton star
#

ugh, wine: Unhandled illegal instruction at address; odd since i'm on 5.x

worn spindle
#

Guys, one of the biggest things re:hosting using docker/docker-compose.

You need to explicitly declare allowing UDP on the ports. Thanks to @worldly hull for helping debug this.

worldly hull
#

if you use my compose file, UDP is declared. If you are getting one from some where else. Double check.

#

The game does not need TCP at all, when ever you see that, it's wrong.

worn spindle
sick wigeon
#

Thanks, @sand root please review!

sand root
#

yep as soon as i can

tired pawn
#

hello friends, not exactly sure what's up on my end here. manually created the container from sknnr's repo instructions, made sure the udp ports are listening and forwarded through, but still don't see my server up in the list for whatever reason. (even checked that it wasn't a weird NAT proxy issue with my firewall). SVN versions are matching between my client and what's being served

Is everyone else getting in on the list ok? Is there some amount of time to wait for it to show up? I'm getting the [Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')! message

#

server has been up long enough to successfully write to the savedata dir as well

worldly hull
#

Show me:

  1. IP config of your host
  2. output of docker ps | grep enshrouded
  3. DNAT rules on your router
  4. Firewall rules on your router
astral rover
#

Hey sknnr, thanks for the docker container! Is it intentional that the sever re-downloads every time the container restarts? Is there intent to make this persistent and only validate/update on startup or anything of the sort?

worldly hull
#

That is intentional. I only wanted to persist what matters which is the save. I have an unmetered bidirectional gigabit fiber connection so I don’t notice the pull so this is an oversight on my part.

#

I may do something optional to persist the server files

astral rover
#

Awesome, just wanted to know if I was doing something wrong or misconfiguring something πŸ™‚ Again, much thanks for your work!

zinc badger
#

Error! App '2278520' state is 0x402 after update job.
After spinning up the docker image πŸ€”

swift shadow
#

@worldly hull your container works nicely! I guess I just can't find the server because the browser is busted right now

zinc badger
#
 Update state (0x1) running, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 21.40 (2756864133 / 12880646424)
 Update state (0x61) downloading, progress: 22.63 (2914526384 / 12880646424)
 Update state (0x61) downloading, progress: 24.37 (3139315460 / 12880646424)
 Update state (0x61) downloading, progress: 27.48 (3538974665 / 12880646424)
 Update state (0x61) downloading, progress: 30.33 (3906936453 / 12880646424)
 Update state (0x61) downloading, progress: 33.21 (4277426072 / 12880646424)
 Update state (0x61) downloading, progress: 36.33 (4679013092 / 12880646424)
 Update state (0x61) downloading, progress: 39.83 (5130305166 / 12880646424)
 Update state (0x61) downloading, progress: 43.70 (5628996488 / 12880646424)
 Update state (0x461) stopping, progress: 47.33 (6096979285 / 12880646424)
 Update state (0x461) stopping, progress: 47.33 (6096979285 / 12880646424)
 Update state (0x461) stopping, progress: 47.33 (6096979285 / 12880646424)
 Update state (0x461) stopping, progress: 47.33 (6096979285 / 12880646424)
Error! App '2278520' state is 0x402 after update job.```
#

no workie 😦

#

Update state (0x81) verifying update, progress: 98.51 (12688176393 / 12880646424)
Error! App '2278520' state is 0x602 after update job.

#

just restarting the container is making some sort of progress

blazing harness
zinc badger
#

hmmm

#

dunno what is causing that

#

i have 2.5gigabit directly into my server

blazing harness
#

yeah, it seems like it stopped for some reason (above at 47.33%, then 98.51%) probably would be nicer to re-run steamcmd than bounce the whole container (and retry the whole download) as long as some files made it ... but that might be inconvenient to do

zinc badger
#

container is exiting by itself after

blazing harness
#

to "play" i'd change the entrypoint/cmd to bash/sh/<a shell> then play with it until it works :/

#

(not an awesome workflow i know)

zinc badger
#

not too familiar with docker tbh so that sounds like something beyond me

#

rather wait with this game until a proper linux dedi is ready I guess

blazing harness
#

maybe try one of the other containers? sorry 😦

zinc badger
#

not your fault thanks for trying

#

do you have any suggestions for containers to try then?

#

i tried jsknnr's just now

blazing harness
#

but i want to add the log parser that counts connected users so i've not kicked it off yet

zinc badger
#

this syntax actually looks more familiar than the last one

#

booted straight up

#

neat, thanks

blazing harness
#

lol, glad it worked

warm snow
worn spindle
#

Is anyone getting insane latency with folks joining?

zinc badger
fleet tundra
sick wigeon
#

Please link any others you verify are working.

bitter granite
worldly hull
#

Which issue are you having with mine?

fleet tundra
# worldly hull Which issue are you having with mine?

i'm getting:

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Error! App '2278520' state is 0x202 after update job.
INFO: Enshrouded server config not present, copying example
wine: failed to open "/home/steam/enshrouded/enshrouded_server.exe": c0000135
worldly hull
#

Testing from 2 completely different machines and I’m not seeing an issue. So it’s got to be some edge case that I am missing I guess.

blazing harness
#

seems like for these two people the update stalls with that 0x202 or 0x402 or 0x602 -- couldn't say why, steam blames network

worldly hull
#

Hmm

#

I wouldn’t think that’d be an issue with the image at all

blazing harness
#

right, i agree

fleet tundra
#

I tried debugging it but couldn't find anything else then some posts on volume space issues

blazing harness
#

if it is, it's subtle with how the secondary "updater" in the other image is started

#

debugging it would be best done interactively once the container is running i think

toxic sonnet
#

could be file permission issues. The steam user uses 1000:1000 and so does the mount

sick wigeon
#

We need a docker commander to take the lead and help sort out the docker issues πŸ™‚

fleet tundra
#

Could we open the issues on the related github ? There seems to be 3 dockers so far, and keep track of the issues/solutions

void bay
#

Do we know which dockers are working best at the moment?

worldly hull
#

Yeah feel free to open issues with mine on GH

#

Yes my container processes run as steam 1000:1000.

#

If bind mounting and ownership doesn’t match, there will be issues.

#

It’s stated in my readme. However if you’re new to docker I guess it might not be obvious what it mean.

eager igloo
#
supervisord: enshrouded-server wine: Unhandled illegal instruction at address 00000001406728B4 (thread 0490), starting debugger...
supervisord: enshrouded-server 0494:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
supervisord: enshrouded-server 0494:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
supervisord: enshrouded-server Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).

are the create window errors just noise? or are those related to the crashes

fleet tundra
#

It's just noise

pseudo bane
fleet tundra
zinc badger
#

Same to me

eager igloo
#

i've seen some posts that illegal instruction in 64-bit code might be caused by old headers or CPU and
as I am running native ubuntu 20.04.06 LTS, 5.4.0
it is probably CPU then, but how could I sanity check that?

eager igloo
#

nope

bitter granite
#

I had that issue with KVM, swapped the CPU type from qemu x86-64-v2-AES to host and it went away

#

is the cpu on that box very old?

eager igloo
#

define very πŸ˜„

#

Intel Celeron J4105 so 7-8 yrs

bitter granite
#

I'm using an ivy bridge which is actually older

#

so shouldn't be related to that

worldly hull
#

If you are bind mounting, you would just chown -R 1000:1000 /your/directory and that would solve

#

if you are letting docker create the volume, then you shouldn't have to do anything

pseudo bane
#

I'm still real confused, nothing is in the paths I've set but the server says online lol

fleet tundra
worldly hull
#

if you aren't bind mounting, check savegame dir ownership from within container

grim lily
#

im Using Proxmox as hypervisor
CPU is set to use host and not default KVM
OS: PRETTY_NAME="Ubuntu 22.04.3 LTS"
Kernel: 6.5.0-14-generic

using jsknnr/enshrouded-server docker image running docker compose

having the issues below:

enshrouded-1  | wine: Unhandled illegal instruction at address 00000001406728B4 (thread 01e0), starting debugger...
enshrouded-1  | Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).
enshrouded-1  | Register dump:
enshrouded-1  |  rip:00000001406728b4 rsp:00007f77588fa030 rbp:00007f77588fa060 eflags:00010297 (  R- --  I S -A-P-C)
enshrouded-1  |  rax:0000000000000000 rbx:00007f770463a148 rcx:00007f77588fa060 rdx:00007f77042ca980
enshrouded-1  |  rsi:00007f77588fa260 rdi:00007f76d3bd0008  r8:00007f770463a148  r9:00007f77588fa260 
#

there is way more error logs but its too long to post

worldly hull
#

Hmmm....

#

do me a favor and try another image

#

just to rule that out

eager igloo
#

I tried 3 😐

grim lily
worldly hull
grim lily
#

on it

worldly hull
#

I really don't think that's the issue but I'd love to be wrong πŸ˜„

pseudo bane
#

So i can see data in the container but not on disk, I wonder if it's sitting on the vdisk

worldly hull
#

@eager igloo can you try updating to 22.04?

blazing harness
#

one nice thing about the mornedhels image is that it follows the PUID/PGID convention which does some boilerplate chown fixes on start

eager igloo
#

that's my personal server, would need to take some time for backups and stuff

worldly hull
#

well crap

#

yeah looks like the container starts supervisor up as root to take care of everything

#

I could just bump the uid up well past 1000. would likely fix any conflicts

blazing harness
#

just makes the users fix the bind mounted files later if they need to, it's why forcing the user to pass in the uid/gid they want is nicer :/

worldly hull
#

I just have a different philosophy. I build images intended to never be manually touched and ran through automation in a kubernetes enviornment

#

I get your point though.

grim lily
#

@worldly hull so im running that mornedhels/enshrouded-server image and it apperas to be stuck in a loop

worldly hull
#

same message or different

grim lily
#

[resource] Could not load resource cache file 'Z:/opt/enshrouded/server/enshrouded_server.krc'. error=file not found
enshrouded | 2024-01-25 00:18:46.797 supervisord: enshrouded-server [app] start creation step Init_ResourcePreload_Start
enshrouded | 2024-01-25 00:18:47.860 supervisord: enshrouded-server [app] start creation step Init_ResourcePreload_Wait
enshrouded | 2024-01-25 00:18:54,869 INFO success: enshrouded-server entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

#

but then

shrouded  | 2024-01-25 00:19:13.906 supervisord: enshrouded-server wine: Unhandled illegal instruction at address 00000001406728B4 (thread 06b4), starting debugger...
enshrouded  | 2024-01-25 00:19:14.183 supervisord: enshrouded-server 06c4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
enshrouded  | 2024-01-25 00:19:14.183 supervisord: enshrouded-server 06c4:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
enshrouded  | 2024-01-25 00:19:16.470 supervisord: enshrouded-server Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).
enshrouded  | 2024-01-25```
worldly hull
#

ah ok there it is

#

those first mesages were jsut from supervisor, which is what that image uses so it can update the server files without recreating the container

grim lily
#

it almost looks to me like its trying to "create a window, but no driver could be loaded." lol

worldly hull
#

it shouldn't be

#

are you using my image?

grim lily
#

no i was using mornedhels/enshrouded-server the second time arouand

worldly hull
#

oh

grim lily
#

i tried your first and then mornedhels/enshrouded-server

worldly hull
#

well that one might be, give me a second I'll look

#

it's not to start the server

#

might be for winetricks

#

on that vm, can you do cat /proc/cpuinfo

#

I just need to see the output from 1 of the cores, not the whole output

blazing harness
worldly hull
#

I should probably build more customization into mine... I was just trying to control it because I know that a lot of people using these images aren't exactly container experts or have the background

#

was trying to hide unnecessary complexity

blazing harness
#

totally get it, and wasn't trying to scope creep you πŸ™‚

worldly hull
#

lol no worries

blazing harness
#

and really have no problem with the design philosophy of your image, it's just more idealistic than reality will tolerate in this space i think :/

worldly hull
#

yeah you are likely right on that

#

too many variations in environments

grim lily
# worldly hull on that vm, can you do `cat /proc/cpuinfo`

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
stepping : 2
microcode : 0x13
cpu MHz : 2393.998
cache size : 16384 KB
physical id : 0
siblings : 12
core id : 0
cpu cores : 12
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm cpuid_fault pti tpr_shadow flexpriority ept vpid tsc_adjust arat vnmi umip arch_capabilities
vmx flags : vnmi preemption_timer invvpid ept_x_only ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest shadow_vmcs
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs mmio_unknown
bogomips : 4787.99
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

#

there is way more but this is about all i can post

worldly hull
#

thats ok

#

was mostly interested in the flags

#

and that is from your VM, not your proxmox host?

void bay
#

got this error running the sknnr docker container

INFO: Enshrouded server config not present, copying example
INFO: Updating Enshrouded Server configuration
INFO: Starting Enshrouded Dedicated Server
wine: failed to open "/home/steam/enshrouded/enshrouded_server.exe": c0000135```
void bay
#

Oh this is a space issue - ig nore me.

wanton star
worldly hull
wanton star
opaque coral
#

So I got the server running on my home server but with only 8 GB or ram availible and 4 cores, it struggles once more then two get connected. Does anyone know if I could squeeze any more performance out of running the server within a container or would it end up being relativly the same?

void bay
#

ping seems to be jumping pretty violently for some users

blazing harness
#

seems like it pretty readily takes at least 2 cores at idle on my xeon d-1518, but need to see under more load, goes up to another core used and ~11GB ram with even just me connected

pseudo bane
#

I have the server running and all ports opened but it won't show up in search. Not sure what I'm doing wrong

blazing harness
#

you try adding a manual favorite to the steam servers list of <ip>:<query port>?

pseudo bane
#

I have not how would I do thaaaat? πŸ‘€πŸ‘€πŸ‘€

blazing harness
#

in steam: view > game servers > favorites > plus button at the bottom

pseudo bane
#

Hm didn't find any servers. Ugh I'm not sure what I'm missing at this stage.

blazing harness
#

that should mean it either couldn't connect or the port is wrong -- make sure it's the query port (the +1 port number)

pseudo bane
#

nvm was able to connect to it locally

#

Now to figure out how to get the others to be able to.

#

Thanks opello ❀️

blazing harness
#

happy to help, glad you got it!

pseudo bane
#

well half way πŸ˜‰ hehe

blazing harness
#

forwarding from the router to the internal ip should be the easier part

pseudo bane
#

That's just it, it's already done, that's why I'm confused lol

blazing harness
#

ahh ... both game and query ports, udp?

pseudo bane
#

mhmm

blazing harness
#

well, in my stdout log i have:

[online] Server connected to Steam successfully

and i assume that's pretty telling for "server reported its existence"

pseudo bane
#

time to look for that log

pseudo bane
#

I just tested with my server's public IP:port and it worked

blazing harness
#

haha, glad you got it!

pseudo bane
blazing harness
#

lol, that's generous of you πŸ™‚ glad you got it all working!

tired pond
#

@blazing harness to make sure i understand, both ports need to be in udp?

shut burrow
#

the server doesn't save ?

blazing harness
#

it has been saving for me

shut burrow
#

where did it save inside the container ? /home/steam/enshrouded/savegame ?

blazing harness
#

the image i used (mornedhels/enshrouded-server) had an environment variable (SERVER_SAVE_DIR) and i set that to /mnt/savegame and bind mounted that to persistent storage

shut burrow
#

i am using sknnr docker container...

#

damn i guess i can try

blazing harness
#

how did you launch it?

shut burrow
#

using docker not docker compose:

sudo docker run 
  --detach \
  --name enshrouded\
  -v /home/gusgor/enshrouded/save:/home/steam/enshrouded/savegame \
  --publish 15636:15636/udp \
  --publish 15637:15637/udp \
  --env=SERVER_NAME="TDS" \
  --env=SERVER_SLOTS=16 \
  --env=SERVER_PASSWORD="tdstds" \
  --env=GAME_PORT=15636 \
  --env=QUERY_PORT=15637 \
  sknnr/enshrouded-dedicated-server:latest
blazing harness
#

yeah so you should have the 2 files (3ad85aea, 3ad85aea.backup) in /home/gusgor/enshrouded/save

shut burrow
#

the worse part is i used inspect to look into the container and it doesnt have it too

blazing harness
#

docker exec enshrouded ls /home/steam/enshrouded/savegame ?

shut burrow
#

yup

#

nothing

#

do i have to build something ?

blazing harness
#

hm, if you docker exec enshrouded cat /opt/enshrouded/server/enshrouded_server.json and make sure that "saveDirectory": "/mnt/savegame", is what you expect?

shut burrow
#

it is ./savegame

#

also its the server json is in /home/steam/enshrouded

blazing harness
#

oh sorry
so is /home/steam/enshrouded/savegame a path that exists?

shut burrow
#

yes

blazing harness
#

but no files inside?

shut burrow
#

yes no files in the savegame

blazing harness
#

hm, that's annoying
so, sledge hammer approach:
docker exec -it enshrouded sh
this will give you a shell in the container, then:
find / -name 3ad85aea and see what turns up

shut burrow
#

doesnt show up anywhere

blazing harness
#

yeah, so probably a complex web of permissions, and i'm not sure where you world is or if it's recoverable

#

in your container shell, ls -l /home/steam/enshrouded/ and check the owner of the files and the savegame directory

#

probably mostly steam and something numeric for the savegame directory, which should match your gusgor external environment user

shut burrow
#

why is root the owner...

#

damn

blazing harness
#

ah

#

because dockerd runs as root generally

#

and when you bind mounted that path it didn't exist in the outer filesystem so it got created

shut burrow
#

oh i see

blazing harness
#

ooh, so ...

#

as root, from the host system, chown 1000:1000 /home/steam/enshrouded/savegame /home/gusgor/enshrouded/save

#

then check from inside the container again, maybe we'll get lucky and when the 5 minute timer rolls over it'll spit out the world file

shut burrow
#

damn it doesnt have sudo, do you know how to be root

blazing harness
#

the base system? or just su - and enter root's password

shut burrow
#

what is the root password of the container

blazing harness
#

as root, from the host system, chown 1000:1000 /home/gusgor/enshrouded/save

#

d'oh

#

path fail

torpid canopy
blazing harness
torpid canopy
#

I've forwarded 15636-15637 for tcp and udp but still can't see it in the server list.

#

I had no issue hosting palworld and I host lots of other things so I'm almost certain it's not an issue with routing. Didn't see any errors in the container logs

blazing harness
#

should be able to docker inspect <container> to see what networking looks like, how did you launch it?

torpid canopy
#

With compose on a separate host

  enshrouded1:
    image: mornedhels/enshrouded-server:latest
    stop_grace_period: 90s
    environment:
      PUID: "${PUID}"
      PGID: "${PGID}"
      SERVER_IP: 127.0.0.1 # also tried 0.0.0.0
      SERVER_NAME: "${ENSHROUDED1_SERVER_NAME}"
      SERVER_PASSWORD: "${ENSHROUDED1_SERVER_PASSWORD}"
      UPDATE_CRON: "*/30 * * * *"
      STEAM_API_KEY: "${ENSHROUDED_STEAM_API_KEY}"
      SERVER_SLOT_COUNT: 5
    ports:
      - 15636-15637:15636-15637/tcp
      - 15636-15637:15636-15637/udp
    volumes:
      - example-path/enshrouded:/opt/enshrouded
#

How did you launch yours? What does your setup look like?

blazing harness
#

much different and more complicated using helm and kubernetes

#

seems like with that setup you want to make sure it's privileged or using host networking

torpid canopy
#

I recently killed my k8s cluster and simplified my homelab. Do you have a public repo for your homelab?

blazing harness
#

no, it's a jumbled mess of things i'm not super proud of, heh

torpid canopy
#

Oh well I'll try another day. Thanks for your input

blazing harness
#

sorry :/

#

best of luck with it

#

oh, the other thing to try is to use the docker interface ip, but that seems like something you really shouldn't have to do

#

@shut burrow any luck? sorry for the path flub 😦

shut burrow
blazing harness
#

sure, the hope was that if the path was suddenly writable and the server hit a "backup" window (seems to be 5m on mine) it might just try writing it out again

shut burrow
#

sigkill didnt sent when using docker stop ? i thought sigkill will cause it to save

blazing harness
#

i expect it was sent and the server probably just doesn't save on stop

shut burrow
#

that sucks

blazing harness
#

yeah, sorry 😦

shut burrow
#

nah its not your fault

blazing harness
#

1 day not a huge loss i hope, but i get the frustration

shut burrow
#

thanks for the help

blazing harness
#

get it saving the file now though?

shut burrow
#

yea

#

do u know how to trigger a manual save

abstract anvil
#

Just curios, why most of the game server are compiled to windows only and does not have a linux port?

queen nova
#

easier to create πŸ™‚

abstract anvil
#

@grim lily did you solve your problem? I am getting the exact same one

I am using mornedhels/enshrouded-server

2024-01-25 07:22:01.493 supervisord: enshrouded-server wine: Unhandled illegal instruction at address 00000001406728B4 (thread 0384), starting debugger...
2024-01-25 07:22:01.623 supervisord: enshrouded-server 0390:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
2024-01-25 07:22:01.623 supervisord: enshrouded-server 0390:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
2024-01-25 07:22:02.264 supervisord: enshrouded-server Unhandled exception: illegal instruction in 64-bit code (0x000001406728b4).
2024-01-25 07:22:02.469 supervisord: enshrouded-server Register dump:
2024-01-25 07:22:02.469 supervisord: enshrouded-server  rip:00000001406728b4 rsp:00007f88440ba030 rbp:00007f88440ba060 eflags:00010297 (  R- --  I S -A-P-C)
2024-01-25 07:22:02.469 supervisord: enshrouded-server  rax:0000000000000000 rbx:00007f87f0539ec8 rcx:00007f88440ba060 rdx:00007f87f01ca700
2024-01-25 07:22:02.469 supervisord: enshrouded-server  rsi:00007f88440ba260 rdi:00007f87c7bc0008  r8:00007f87f0539ec8  r9:00007f88440ba260 r10:00000000001ff16e
2024-01-25 07:22:02.469 supervisord: enshrouded-server  r11:0000000000000202 r12:00007f87f071f658 r13:00007f87f020c9f8 r14:0000000000000000 r15:00007f87f0539ec8
queen nova
#

illegal instruction. Old Kernel or proxmox dont run with Host cpu. @abstract anvil

abstract anvil
#

is 4.4.302+ kernal version too old?

queen nova
abstract anvil
#

it is a synology

queen nova
abstract anvil
queen nova
#

ok Check If you can Update the Kernel. 4.4 is eol since over 2 years

abstract anvil
#

I think it s a synology custom distro.. Not sure if I can update it... maybe I try using a windows vm to run it, sure will got some performance penalty

queen nova
#

only way to Host the server

swift shadow
#

I'm running it on my Unraid server with an i5-7500 and with 4 players I'm at 75%

abstract anvil
#

maybe I just use PC to host deercat_sadthumbs

oblique jungle
#

I am using docker to run my server, but why is it no matter what numbers of slots i put, it keeps on open 16 slots?

swift shadow
#

check docker inspect [Container Name] to see if it's even defined

valid seal
#

Anyone else has huge laggs ingame? I am running the server with docker container from mornedhels

sullen flax
jade oriole
#

it eats almost 4,5 cores for me at idle and 7 when i play with 3 friends

sullen flax
#

nvm. I shut down some other game Servers
CPU Usage from my NAS ~50%
RAM ~6% (64GB)

#

no lags atm πŸ˜„

jade oriole
#

ye rubberbanding and lag is 8 out of 10 times the cpu struggling to keep up

sullen flax
#

its because its only a Windows Server Version, right?
When they deliver a Linux Version it should be run much better and costs less ressources or am i wrong?

jade oriole
swift shadow
jade oriole
#

windows server uses way more then windows 11 (where it was probaly made on)

zinc badger
sick wigeon
#

Hey guys, I haven’t been able to follow the thread as much because I’ve been focused in other areas but if we have made any big discoveries with the containers, can we make sure to get them committed to GitHub repos today?

#

People are still using these community tools and assets so as we make discoveries, it’s important we update things!

worldly hull
#

I’m going to make some minor updates to my image today

#

Most people seem to be struggling when bind mounting with my container instead of creating a docker volume

sand root
#

Hello, i'm at work today but will have a look when i'm Black home this afternoon

swift shadow
worldly hull
#

Right

#

I am going to write some enhanced documentation

#

That hopefully gets read lol

sand root
#

Based on What the community adressed yesterday i Will rewrite the dockerfile and entrypoint

worldly hull
#

I may also bump the uid and gid of the container user much higher but I don’t want to make it configurable

void bay
#

@worldly hull thanks for the hard work. Got your image running last night and had a blast with the bois.

Seeing some high cpu utilization still, but not your fault.

Proxmox, host is debian 11, 12gb ram, 4 cores at 3.0 ghz.

worldly hull
#

Debian is a nice choice, my distro of choice. My kubernetes cluster nodes are all Debian 12, which is where I run my containers.

worldly hull
#

I am adding a check into the entrypoint of my image that will exit if the permissions of savegame directory are not what I expect

#

error message will tell you what to do and prevent you from playing without knowing that nothing is getting saved

dapper fossil
#

Maybe a stupid question to ask, Running sknnr docker. Where the hell is the savefile for the game stored?

#

Had some isses updating to the version of today, Steamcmd stopped working. Wiped the whole thing and it runs again. Couldn't find a quick way to find the savefile

visual thorn
#

I think the save file is in the volume enshrouded-persistent-data if you used the official instructions

dapper fossil
#

Yeah your right, i think i mounted it into the same folder as the nomral container path

#

what is the file called of the world anyway?

visual thorn
#

for me, it's random 8 characters

dapper fossil
#

Ah that's it! Thanks!

visual thorn
#

possibly a hash of some sort?

dapper fossil
#

Got 2 8 character ones too, ones a backup

visual thorn
#

yup, same.

#

please someone correct me if that's not the save, but from what I can tell it is.

#

@worldly hull anywhere I can buy you a cup of coffee or something?

wanton star
#

man i am having the crappiest luck getting any of the docker images working

visual thorn
#

anyone know if it's possible to run this on the rpi5?

wanton star
#

good question, doesn't wine take up a bunch of resources

queen nova
#

and wine too

worldly hull
#

the save file in teh container is at /home/steam/enshrouded/savegame

astral pelican
#

hey sorry quick question. i was running sknnr's server fine last night in docker. today i updated and its giving me a error
Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x0) : Timed out waiting for update to start, bailing. Error! App '2278520' state is 0x204 after update job. ERROR: steamcmd was unable to successfully initialize and update Enshrouded... Steam may be experiencing network issues or this container host may be experiencing network issues

worldly hull
#

where it will be on your container host depends on how you started the container

worldly hull
wanton star
#

can anyone tell me their setup, i'm having so many damn issues with all the dockerfiles i've seen; i'm running baremetal ubuntu 22, with docker; NAT isnt' an issue, its something with the dockerimages

astral pelican
#

should have googled ty for response

worldly hull
#

I should update that error message

#

if steamcmd exits uncleanly I just blindly blame network πŸ˜„

astral pelican
#

you have an eth addy?

worldly hull
#

probably a really old one

astral pelican
#

well if you find it dm me it and ill send you a coffee tip

wanton star
#

anyone successfully solve ine: Unhandled illegal instruction at address xxxx (thread xxxx), starting debugger...

worldly hull
#

one of the wine resources is trying to execute and it thinks the cpu is missing the correct instructions

#

which may or may not be true

#

it could also very well be a bug with wine

#

and your hardware drew the short straw for compatibility

wanton star
#

that's probably it

worldly hull
#

you can dry different versions of wine

#

are you familiar with building docker images?

wanton star
#

yep, tried that too

#

sadly all the docker images (including yours) aren't working

worldly hull
#

I was going to say you could try to modify my containerfile to edit the version of wine being installed

#

then just do a local build and run of the local image to test

#

try changing the package from stable to winehq-devel

wanton star
#

thanks, will try that in a sec, just did a kernel update

wanton star
#

kernel didnt work, trying the wine version now

sand root
#

hello all,

#

after trying some various way to mount containers, for me the most efficient and proper way is to use

#

he did a very nice job out there πŸ˜„

#

and explanation are very clear

wanton star
#

i think i'm sol, even with wine upgrade nothing works on my machine

worldly hull
#

well that sucks

#

I wish I could help more but I can't reproduce

cold herald
toxic sonnet
#

what is the log output? It doesn't even start to download enshrouded?

wanton star
#

well, time to build new hardware

worldly hull
#

you can try my image

#

it doesnt start as root like that image does

#

it should not need priviledged mode

worldly hull
worldly hull
#

I need to add 2 more servers to my cluster but I need to get an electrician out to make sure the circuit can handle it lol

worldly hull
#

though my cluster is also my lab for work

solar wolf
#

Anyone seeing this error (from my dedi that was working last night using @worldly hull 's podman deployment )?

"Game Creation Failed"

And in the logs:

[online] Session accepted with peer ( id {my } ).
[online] Added Peer #0.
[online] Session failed for peer #0 with error 4.
[online] Removed Peer #0.
worldly hull
#

I have not seen that one yet

#

unfortunately the error codes are not publicly documented

solar wolf
#

I figured...oh well lol. We'll figure it out. I restarted the container but the error remains

worldly hull
#

is that for everyone that tries to join?

solar wolf
#

I've only tried, let me have someone else attempt

worldly hull
#

Ok. I would also be curious - try to spin up another container just for testing and see if it has that same issue. Just for debugging purposes.

solar wolf
#

No one else is available atm, but I'm seeing a "Session Failed" error now, with no logs to indicate this

worldly hull
#

are you familiar with exec into container?

solar wolf
#

I am looking at that now. Syntax is a bit different than Docker's, correct?

worldly hull
#

should be the same just podman instead of docker

solar wolf
#

I'm in the server now....very strange. All I did was prune the unused podman containers. There was only 1 running, however. I think it was perfect timing, and the issue was on Steam's end.

worldly hull
#

ah ok

#

I was going to have you check the server config json file to make sure it is what is should be

solar wolf
#

Anyway, @worldly hull I appreciate the handy documentation you provided and your assistance! Thank you

worldly hull
#

no problem. you're welcome.

verbal vault
#

@worldly hull thank you for your docker! I have it working successfully on Unraid, but wanted to ask if there is a way to toggle whether or not it redownloads/installs the whole game each time the container restarts. Is there a way to set it to simply install any available updates rather than pulling down the whole thing each time?

kind plinth
#

What would cause this error Error! App '2278520' state is 0x202 after update job.

mystic saffron
#

Not enough disk space

fleet tundra
#

Hi Guys, How do you we update the docker, would restart pull the update ?

worldly hull
#

it depends on which image you are using and what you mean by update

#

none of the docker images contain the server binaries

#

updating the image itself depends on your pull policy

#

updating the game files depends on which image you are using. One of the images has a mechanism for auto updating

#

My image, you just need to restart the container

cold herald
worldly hull
#

network issue connecting with steam

#

OR

#

your download speed is at a crawl

#

and it will jsut take a bit

cold herald
#

Symmetrical gigabit, so. . . an ongoing connectivity issue I guess

worldly hull
#

yeah, potentially

#

let me see if it's working for me

#

I haven't messed with any of this today

cold herald
#

Oh same issue yesterday, but I was having the same type of issue with other containers... had to put it into privileged mode to recitify

#

*other enshrouded images

worldly hull
#

should not have to do that

#

where are you running the container?

cold herald
#

Ubuntu Server running docker... doing the setup through portainer

worldly hull
#

I'm not familiar with portainer

#

you need privilged mode to even start the container?

cold herald
#

No... your image starts fine in either mode and reacts the same. . .
I am currently running mornedhels/enshrouded-server 's image in privledged mode to get any sign of life [works great, but privliged mode is obviously not preferred]

worldly hull
#

well I do know that their image does start with supervisor running as root

cold herald
#

That makes sense then. . . and portainer is just a GUI to docker that runs as a container. . . it makes management very easy from a webUI

worldly hull
#

I still wouldn't think that would require privilged mode... but I've not used portainer

#

ah ok

#

well then in that case, I am not sure what is going on then

#

because root user containers should be fine with docker

#

at least they used to be

#

I don't use docker myself so maybe that has changed

cold herald
#

Makes me think of the saying, when in doubt it's probably DNS 😸

worldly hull
#

lol

#

yeah I am able to pull from steam ok with my image

#

though I could very well be hitting a different cdn than you

cold herald
#

Ah!

blazing harness
#

privileged mode is strange, i've not had to do that when testing with docker directly (but my running instance is in k8s)

cold herald
#

I opened up bash inside the container, in the stderr.txt log "error: Couldn't resolve host name"

#

. . . dns

blazing harness
#

if all else fails πŸ™‚ lol

cold herald
# worldly hull lol

By the way, thanks for setting up a container for this and being awesome... appreciate all the effort πŸ€“

worldly hull
grizzled raven
#

I was running the @worldly hull docker fine and then did an update today. Now it's no longer passing along the server password it seems. My world was open to the publich and I logged in to like 10 people on my self-hosted server. Known issue? I didn't change anything. I've set it up in Unraid by building a Docker template based on the variables that were provided.

worldly hull
#

Which version of my image are you running

grizzled raven
worldly hull
#

Does unraid check for a new image each time or does it just use what it has locally

grizzled raven
#

I made it 'force' an update today just in case, so it re-pulls everything

worldly hull
#

Can you do that again

#

I had a bugged release earlier today

grizzled raven
#

It does recognize that there is a new release. I'll pull that now.

#

Just noticed that

worldly hull
#

Apologies for that. One of the reasons I changed all of my examples in the docs to pull a specific release

#

I didn’t want to break people if I messed up

grizzled raven
#

I'm not upsed... Early Release and all that. πŸ™‚ I was just surprised to see 10 people on my server. I don't have that many friends. πŸ˜„

worldly hull
#

πŸ˜‚ same πŸ₯Ή

grizzled raven
#

Should I change it to only pull 2.0.4? Or is it safe to leave it on :latest?

worldly hull
#

Honestly I’d use a specific tag

#

If I release a new version it’s going to be to fix edge cases people find

#

So if it’s working for you it’s safe to just stay

#

But it’s up to you πŸ™‚

grizzled raven
#

I might leave it on a specific version for now. Let me finish pulling this and I'll report back if it fixes my security issue.

worldly hull
#

That version was to fix a few issues with the helm stuff for kubernetes and a few edge cases where values in the config file were getting quoted twice under certain conditions

grizzled raven
#

I completely wiped the old container and saves... those players messed up my quest progress.

worldly hull
#

Yeah I hate that

grizzled raven
#

So it's going to take a few minutes to spin everything back up and start over.

worldly hull
#

I hope that’s one of the first changes they make

#

Ok

grizzled raven
#

Seems it's back to normal now. My password is back. Thanks for the quick response.

worldly hull
#

Good to hear. Sorry for the surprise.

#

You had to have updated at the perfect time because that bad version was only available for just a few minutes lol

grizzled raven
#

I'll just consider this a chance to start fresh now that I've learned some mechanics. πŸ™‚

visual thorn
#

is it common to see very high cpu usage for the docker image? I'm running on a 7950x and docker dashboard is showing 300%

swift shadow
#

this is gonna get fixed soon I'd imagine as that's an issue for professional server hosters

toxic sonnet
#

Hey, I need some help to test the mornedhels image with proton. Are there any volunteers to hop on my testserver?
Name: MornedhelsTest
no password required

verbal vault
#

@worldly hull does restarting your docker redownload/install the game each time?

worldly hull
#

it does... in my philosophy the game binaries are not something we need to persist... however, I have an unmetered symmetrical gigabit fiber connection. So I may end up changing this for folks.

verbal vault
#

Ok thanks

misty niche
#

hmm got the server running with sknnr's docker compose setup, in the server console (remote) i can see he's running and saving the game etc...
But when i enter the IP (with query port or gameport) in the steam servers list..
it identify's it as a gameserver, although when i click on it to connect it trows the error: " Can't make a connection to the server, wrong app ID"

verbal vault
worldly hull
#

oh I wouldn't worry about that unless your restarting the container hundreds of times a day

#

my kubernetes cluster is SSD backed as well

worldly hull
#

Would be more likely that all the logging that servers do will eat drive life quicker than downloading server files

#

which is again one of the reasons that I don't persist the whole game directory

misty niche
#

well i want to start on a new blank world.. so getting a saved game file from myself to the server isn't needed..
changed servername, password and iP to 0.0.0.0 , 127.0.0.1 , its real ip,

nothing seems to get it to show in my serverlist .. out of clues now :p

verbal vault
fickle leaf
fickle leaf
toxic sonnet
#

it's in development. but you can pull the dev-proton image and force a update or delete the current_version file from the game folder

fickle leaf
#

This seem good idea as wine is always been half broken ancient solution for windows gaming on linux generally. Proton is the king.

#

is test server still up?

toxic sonnet
#

I need to fix a startup error, than I release it with an updated readme. The updated readme can be found on github

toxic sonnet
fickle leaf
#

so near 25% improvement if I understood correctly?

toxic sonnet
#

jap, but it doesn't increase cpu usage as much as the wine version. 10-20% per user vs 40-50%

#

so a win for larger groups fell_justright

fickle leaf
#

That is big step up πŸ˜„

worldly hull
#

proton is pretty nice. I have an ark ascended image based on ge-proton, but that was mostly because I couldn’t get it to work with just wine and got tired of troubleshooting it.

swift shadow
#

is CPU usage better with proton?

fickle leaf
#

Yes, just testing it, 25% better overall and and huge usage% drop / user.

#

for 4 - 5 players there should not be issues.

#

Hoping to see stable version today but dev-proton works just fine.

#

that said 50% constant idle load is quite lot for my passive cooled SBC and hope we will see some optimizing in near future.

fickle leaf
#

correction, empty server seems producing now 28 - 31% idle load

#

but unfortunately one player on server reserves +30% of my cpu (60% total) :/

swift shadow
#

dev-proton is really killing it. CPU usage is on par with Windows!

toxic sonnet
#

just released a new version for the mornedhels images. Added some new docker tags to choose from (proton).
Also added a backup cron you can enable with some new environment variables. It should not break something, but I had not much time to test this feature. It also autocleans old backups (like log rotation).
https://hub.docker.com/r/mornedhels/enshrouded-server

swift shadow
#

Running stable-proton now. Thanks!

swift shadow
#

Once I open a chest I get 23x: [session] Pending packets list is full. Deleted oldest packet from 2(1) spam in log every second

misty niche
#

Ok tried all the possible docker compose solutions shown on the GitHub page from president but can’t seem to get to the server… server console is stating the server is running

#

I’m running on Linux btw

fickle leaf
plain hollow
worldly hull
#

No current plans but I might

worldly hull
#

If I do I’ll likely use most of the work I did on my ark ascended image and release it on a separate branch and specific tag on docker hub. Honestly it would probably only take me 15 minutes or so lol.

torpid canopy
swift shadow
#

It just stopped doing this during gameplay and didn't affect anything

plain hollow
worldly hull
#

well the proton image is turning out to be more of a pain than I thought it would be. I spent an hour on it last night, I can get the server to start but I keep getting a steam sdk error. It's very frustrating.

#

fails to determine app id, but the file that the sdk needs to see that is there... so I am assuming proton isn't building the "windows" file system quite right

misty niche
#

been having that kind of problem since last weekend... and i'm really not a windows fan, so i'll just host the sessions myself until a "proper" docker setup is presented (keeping in mind that the game isn't optimized for linux atm)

worldly hull
#

dang, not a fan of mornedhels or my images lol?

misty niche
#

well not a fan of those images is harsh to say :p:p
i like the work you guys already put into it :p but it's just not working for me at this moment :p

worldly hull
#

what issue are you having?

#

I have 2 systems I test my images on that are quite different from each other... which helps, but it's tough to test for everyone

misty niche
#

well it doesn't matter what image i try.. the server spins up.. wich i can see in the console.. the saves are also happening etc.. steamserverlist is accepting the IP with the query port as intended.. but everytime again i get the wrong app ID message and i or anyone else can't connect to it

#

checked for blocked ports at modem router etc.. designated ports are open sooo

#

yeah kinda clueless now :p wich is why i just wait a little more :p

worldly hull
#

hmm that is odd

#

did you check the logs from the container

misty niche
#

docker logs --follow <container name>

#

like that? jup

worldly hull
#

that will follow them live as they happen. remove the -f or --follow to just get the whole log

misty niche
#

kk

#

well at the moment using the stable-proton image from mornedhels (srr was still in my compose file)

and can't see any errors tbh..

and like stated in the README sections:

2024-01-30 17:12:34.820 supervisord: enshrouded-server [Session] 'HostOnline' (up)!
2024-01-30 17:12:34.820 supervisord: enshrouded-server [Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!

plain hollow
#

I run my Sknnr docker container on a linux server with no issues...

plain hollow
worldly hull
worldly hull
#

this is my problem essentially:

[I 00:00:00,197] [app] start creation step Init
[I 00:00:00,197] [app] start creation step Init_Steamworks
[E 00:00:00,362] [steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,362] [steam] Message from Steam: Can't determine AppID
[E 00:00:00,362] [app] Failed to create Steamworks.
#

which is from the steam sdk

#

it looks for the app_id.txt file, which is there as it is coming from steam

#

so that leads me to believe it isn't building the context quite right.

#

the documentation for proton isn't great as it's not quite intended for running like this

#

I am sure there is something that I can set and then it will work, just trying to figure out what that is

#

going to try to get more logs out of proton

plain hollow
worldly hull
#

no, regular wine

torpid canopy
#

I've tried both mornedhels' proton image and sknnr's wine image (great images btw!) but still rubberbanding a ton with some apparent packet loss according to the logs. I guess my older PowerEdge hardware is too old for this game despite having no issues with any other game server? The CPU never peaks above 50%. I might also try a Windows VM before giving up

worldly hull
#

yeah I think there is just going to be some instability based on hardware configurations. 1) it's their own custom engine that is just now getting exposed to the masses, 2) we are tricking it into thinking it's running in windows lol

#

If they were using unreal or unity it would like be more stable

#

not because its better per se, but because it has more development hours and exposure

torpid canopy
#

I'm surprised more of the hosting services don't have this same issue

#

Or are they all running Windows VMs

worldly hull
#

likely using pretty beefy enterprise hardware

#

I run all my stuff on HP DL360 G9s

#

which is just end of life enterprise hardware that I nabbed for cheap on ebay lol

torpid canopy
#

Yea my poweredge is old, too. But no problem with Valheim/Palworld or any other self-hosted service I run

worldly hull
#

valheim is unity and palworld is unreal

#

πŸ™‚

#

it will get better for enshrouded

plain hollow
# worldly hull I run all my stuff on HP DL360 G9s

Those are pretty decent rigs. How is your in game performance? I run a lot of containers on my Lenovo ThinkServer RS140 W/ Xeon E3-1226 V3 3.3GHz. Things seem to be working ok but there aren't many cores and i'm pushing it to its limit me thinks.

#

28 containers lol

worldly hull
#

I get solid performance. I've only ever tested enshrouded with 2 people as we can't convince the rest of our group to pick it up yet lol. I also run PalWorld with great performance, Project Zomboid, Ark, Valheim, and others with good performance as well

worldly hull
#

Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz

#

2 of them

#

had to cat proc/cpuinfo because I couldn't remember lol

#

so 16 total cores with 32 threads

#

it does pretty well

swift shadow
mystic saffron
worldly hull
#

no that's a different error

#

similar, this is like the next step from there lol

#

without those libraries it wouldn't even know to look for the app id

#

I'll recreate that error for you

#

here:

[E 00:00:00,169] [steam] Message from Steam: No SteamClient020
[steam] Message from Steam: No SteamClient020
#

No SteamClient020 is the error when the sdk libraries can't be found

#

and looking at the docs for steam sdk the error I am getting is because it can't find the app_id txt file, which is in fact there right next to the executable with all the right permissions

#

and the correct id for enshrouded (not the server app id) in the file

#

which leads me to I don't think proton is loading the entire directory correctly into the virtual windows drive within the prefix alongside the executable

#

which is the behavior I would expect as that is how it works with wine

mystic saffron
#

Does ~/.steam/steam exist? And set as the STEAM_COMPAT_CLIENT_INSTALL_PATH?

worldly hull
#

~/.steam/ is where the sdk libraries are at

#

STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/.local/share/Steam

#

which is where steamcmd is

#

otherwise I have ~/Steam/

#

which is where steamapps, config, userdata, etc are all at

#

I have tried setting compat path to both spots and I get the same error

#

problem is I am uncertain what the hell that env var does

#

because proton docs are not stellar

#

if I knew what it was looking for specifically I could set it with more certainty

mystic saffron
#

It actually doesn't do anything afaik, but has to be set

worldly hull
#

I am pretty certain that STEAM_COMPAT_DATA_PATH is pretty arbitrary it just needs to point to where the proton prefix is, doesn't matter where

mystic saffron
#

Correct

worldly hull
#

and that is correct (the compat_data path)

#

I've tried calling protron with run and runinprefix and they both have the same issue

mystic saffron
#

Why not just replicate what the Ptero egg does?

worldly hull
#

I've not looked at it

#

maybe I am a masochist

#

also I have never used the ptero stuff before

mystic saffron
#

Don't have to use it, just read the egg

#

Maybe just try adding the steam_appid.txt file into the client_install_path dir

#

Basically Ptero puts everything into the home dir, including the server

worldly hull
#

oh god the client install script is a single line in a json config file lol

mystic saffron
#

Yeah

#

I had to farf around with this stuff to get it working in AMP the way I wanted

mystic saffron
#

The yolk is the actual docker image

worldly hull
#

I found the image on github

#

I still don't see what command he is running to kick proton off

#
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo -e ":/home/container$ ${MODIFIED_STARTUP}"

# Run the Server
eval ${MODIFIED_STARTUP}
#

the egg must be passing the command directly

#

Passing in startup

#

Using tini to manage the processes

mystic saffron
#

Yeah, it's in the egg. Simply proton run

worldly hull
#

yeah thats what I thought

#

that's what doesn't make sense. I am setting all the required vars, steam sdk is in place, and yet it still tells me to gtfo

mystic saffron
#

Fun, isn't it?

toxic sonnet
#

jeah, I had my fun with proton too. I switched to proton runinprefix to skip the steam client starting aswell.
And I had to install steamsdk 1007 to the home directory

worldly hull
#

container file and entrypoint for my dev branch

#

yeah I tried proton runinprefix but was getting the same error

#

runinprefix doesnt seem to create a prefix though

#

so I was copying the default pfx from GE-Proton into compat path

mystic saffron
worldly hull
# mystic saffron It does

really - then what is the difference? It didn't look like it was to me. I was getting weird errors with that command until I copied the default pfx in

mystic saffron
#

That's how I have set up AMP. Creates it every time

worldly hull
#

@toxic sonnet you seem to be setting both wine prefix and the proton prefix?

#

weird, ok

toxic sonnet
#

oh, that could be a leftover when I experimented to run the wine version of proton directly

worldly hull
#

ah ok

#

yeah I see that you call wineboot and winecfg in there too but you are using the steamcmd image and I don't think that image has wine installed on it

#

and for app_id 1007 (steam sdk redist?) for the method that fixes it is installing to default location as one isn't set, and then when you call update it is riding with the update for enshrouded which looks like it would install/update to the same location as enshrouded

#

jumping between your files is tricky πŸ˜„ to follow along some times lol

toxic sonnet
#

damn, thats also still in - that is probably also not needed anymore

worldly hull
#

lol no worries, easy to forget some times, probably didn't notice because you are swallowing all the output so it likely just quietly fails

mystic saffron
#

The server already has all the steam dlls

#

1007 not needed

toxic sonnet
#

but for some reason, I had to download it to the steam home folder of that user. I got some weird steamwork errors, if I didn't

worldly hull
#

what user are you running as?

toxic sonnet
worldly hull
#

the steamcmd image symlinks for the shared objects for the sdk but it only does that for the root user

#

so you were probably seeing this:

[steam] Message from Steam: No SteamClient020
toxic sonnet
#

that could be one of the messages yes

worldly hull
#

you could just copy the .so from the steamcmd directory to the sdk directory without downloading the sdk

toxic sonnet
#

I think I tried that, but maybe there was something else wrong at that time

worldly hull
#

could be, and I may be wrong because my image isn't working yet lol

#

I am running another test without copying the default proton pfx

toxic sonnet
#

I will try to cleanup tomorrow and see if the steamcmd file also works. Than I could use a symlink and not downloading and coping files around

worldly hull
#

yeah I moved that back to my containerfile

#

have to initialize steamcmd first then you can symlink

#

ok so runinprefix vs just run is definitely different

#
wine: configuration in L"/home/steam/.local/share/Steam/steamapps/compatdata/2278520/pfx" has been updated.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
#

I get FreeType font errors

#

which can be ignored really

toxic sonnet
#

ah, I had that too

worldly hull
#

but I do not get those when using just run

#

I am installing the system library

#

interesting

toxic sonnet
worldly hull
#
[app] start creation step Init
[I 00:00:00,126] [app] start creation step Init
[app] start creation step Init_Steamworks
[I 00:00:00,126] [app] start creation step Init_Steamworks
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
[E 00:00:00,309] [steam] Failed to initialize Steamworks system...Generic Error
[steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,309] [steam] Message from Steam: Can't determine AppID
[steam] Message from Steam: Can't determine AppID
[E 00:00:00,310] [app] Failed to create Steamworks.
[app] Failed to create Steamworks.
#

so this is what I have been getting

#

I will run it again with jsut run and show that same message

#

so fun rebuilding the image every time to test lol

#

I should just mount my repo into the container

toxic sonnet
#

you can try running proton run with STEAM_APP_ID=0 or something

#

let me check

#

are the heavy parts not cached?

worldly hull
#

I don't persist the server files

#

ok

#
[I 00:00:00,193] [app] start creation step Init
[I 00:00:00,193] [app] start creation step Init_Steamworks
[E 00:00:00,373] [steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,374] [steam] Message from Steam: Can't determine AppID
[E 00:00:00,374] [app] Failed to create Steamworks.
#

no mention of the steamservice.so with run vs runinprefix but same error of Can't determine AppID

#

the output formatting is also different between the 2

#

so there is some sort of behavior difference between them

#

hmm

toxic sonnet
worldly hull
#

what is EAC?

toxic sonnet
#

it was proton run with SteamGameId=0, but now some other weird env var πŸ˜„

worldly hull
#

OH

toxic sonnet
#

no clue πŸ˜„

worldly hull
#

dude

#

that's it

#

lol

#

were you setting SteamGameId anywhere?

toxic sonnet
#

I played around with that. And it worked, but I think I couldn't get any logs from enshrouded anymore

worldly hull
#

I wonder if you are actually running in wine

#

because proton swallows the logs

toxic sonnet
#

proton is just a python script at least it starts one

worldly hull
#

right

toxic sonnet
#

and a bunch of other stuff and a wineserver

worldly hull
#

yep

#

and I've never gotten app logs out of proton once it launches

#

though I do with wine

toxic sonnet
#

and the best part. If you kill proton, the wineserver keeps running

worldly hull
#

but I do realize that proton is fancy wrapper and other goodies from valve on top of wine

#

this is how I get my enshrouded logs lol

#

symlink the log file to stdout for pid 1

#

πŸ˜„

toxic sonnet
#

well

worldly hull
#

without that line I wouldn't have any logs, I'd have to check that file

toxic sonnet
#

than I found the runinprefixed and switched to that

worldly hull
#

I am curious what that actually does

#

because I genuinely don't know. I just know with my image it behaves different for sure.

toxic sonnet
#

I had also a version, where I used a debug env to get the wine start configuration

#

and hard coded it... but that seemed, well not optimal

worldly hull
#

right

#

I am trying 8-30

toxic sonnet
#

weill good look with that

#

you have to wait another hour or so

toxic sonnet
#

so probably manual upload to get the version out

worldly hull
#

maybe

#

either case, you found my problem

#
Hotfix:

    fixed EAC not getting loaded. During my ULWGL changes I accidentally made it so steam games werent running using steam.exe inside the prefix... which of course broke EAC games. The code snippet involved is needed so that non-steam games don't try to run using steam.exe and thus dont create the Steam_API error. woops. fixed now.
#

I don't have steam.exe because I am not playing a game, I am just launching a binary that happens to be FROM steam

#

I just need to set that env var and I profit

#

I was ready to pull my hair out because it should not have been that difficult lol

toxic sonnet
#

nice, I also will rework that part a little and cleanup. But what keeps me bugging is, that proton keeps the wineserver running, after it gets a sigterm.

#

if I don't kill the wineserver manually I can't restart the server

#

but thats a supervisor or a problem with my setup

worldly hull
#

Nice. I like supervisor.

#

SO that didn't quite fix me btw, I no longer get that error but now the container is just exitting with no message at all lol

#

but I am closer I think

toxic sonnet
#

Nothing in the enshrouded logs? Sometimes docker is a little slow outputting logs

worldly hull
#

nope I don't think it's quite getting that far

toxic sonnet
#

hm, try deleting the compat folder

#

Sometimes it gets messed up using runinprefixed

mystic saffron
#

Yeah, run and runinprefix handle the prefix differently

worldly hull
#

that last shot was with jsut run

#

doing some more debugging. I am so close

mystic saffron
#

Hehe, don't jinx it

mystic saffron
worldly hull
#

does proton fork the process off

#

I wonder if I am just exiting because I lose my pid

#

since I am not using something like supervisor or tini

toxic sonnet
mystic saffron
#

Hmm, that approach worked for me. The whole process tree was cleaned up when running it under proton run, with proton runinprefix zombies are left but that doesn't impact

toxic sonnet
#

It spawns a bunch of processes. And are no child processes of proton

mystic saffron
#

Have you tried SIGINT?

toxic sonnet
#

It works that way, but I still hate it fell_cry

#

I just would liked to sigint sigterm the proton process and proton cleans itself up. But wineserver -k it is

worldly hull
#

still no dice on this

#

lol wtf

#

@toxic sonnet can you try to run your proton-stable image

#

it's in a loop for me

#

and I was able to run it earlier... and I see you haven't made changes in a few days

#

so I am wondering if the devs changed something lol

toxic sonnet
#

my server runs fine - it's on the dev proton image, but that basically the same version

worldly hull
#

weird

#

I was able to run your stable proton earlier jsut fine

#

but now it was hanging at

[I 00:00:00,234] [app] start creation step Init_Steamworks
[I 00:00:00,414] [app] start creation step Init_FileSystem
[I 00:00:00,417] [app] start creation step Init_MountPackage
#

and supervisor restarted it a few times and it just sat there each time

toxic sonnet
#
enshrouded-own  | 2024-01-31 00:15:02.543 supervisord: enshrouded-server [app] start creation step Init_MountPackage
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server +--"":
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server     |
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server     +--"":
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server         |
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server         +--"gamebuild":  (#0) Archive -> '/gamebuild_path/enshrouded_server'
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server         |
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server         +--"gamebuild_path":  (#1) Native -> 'Z:/opt/enshrouded/server/'
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server [app] start creation step Init_Version
enshrouded-own  | 2024-01-31 00:15:02.549 supervisord: enshrouded-server Game Version (SVN): 487046
worldly hull
#

interesting

#

am I fighting my own system I wonder lol

#

going to try it again... if not then maybe I will reboot or something. I dev out of WSL so I could see that causing an issue. I've been building and destroying containers like mad today

#

lol I may be running my system out of memory

toxic sonnet
#

I'm working with a mac and that doesn't work at all. I have to develop on my linux dedicated server directly

worldly hull
#

28.5GB in use at the moment

#

ah yeah, ARM?

toxic sonnet
#

yes

#

not a good time

worldly hull
#

I can imagine

#

it'll get better with time lol

#

more adoption of arm

toxic sonnet
#

it's slow at building and steams is always complaining about everything

worldly hull
#

yeah I think my system may just be upset

#

cpu is clocking at 4,4ghz

#

I love macs... just gaming on them has always been hit or miss and now with the switch to arm architecture a few years ago, dev work on them has been rough too

#

my work laptop is a nice hp unit, but it is loaded down with all the big brother corporate software that just makes it painful to use. So I work from my gaming desktop and personal laptop mostly lol

#

WSL2 has made windows dev work not terrible

#

well reboot didn't help. Still hanging there for me. So weird.

#

same spot my image is hanging

#

going to try it in docker instead of podman

#

hah, blew right through it with docker

#

huh

toxic sonnet
#

puh, well - never tested my image with podman

#

symlinking the root steamclient.so works like charm. And I now know why I have that WINEPREFIX on my server start script. It's because I have to tell wineserver -k where to look

worldly hull
#

I like podman because with docker i have to run docker desktop on my windows machine, I do not with podman

#

Glad that symlink worked!

#

what are you doing with wineserver -k ?

toxic sonnet
#

jeah, I worked with podman, but I'm missing some features. Like why do I have to write a service to start a pod. With compose it just does that for me.
and docker desktop for mac is really good now. Unfortunately not for all x86 x64 cases, but for the most part

toxic sonnet
worldly hull
#

I thought so

toxic sonnet
#

proton keeps the wineserver alive fell_cry

worldly hull
#

for rapid testing I have my makefile

#

so I can do like make build-proton && make run-proton && podman logs -f enshrouded