dockrbyter / GameServer

Kubernetes Deployments, Dockerfiles, scripts and configs to run game servers
MIT License
13 stars 3 forks source link

Server not starting / unavailable #11

Closed thorgilis closed 1 year ago

thorgilis commented 1 year ago

Hi, working on an m1 MAC with --platform linux/amd64 specified on docker run. docker run -d --platform linux/amd64 --name ark1 -it --rm -p 27020:27020/tcp -p 27015:27015/udp -p 7778:7778/udp -p 7779:7779/udp -v "${HOME}/steam:/home/steam/.steam" -v "${HOME}/ark/srv1:/home/steam/server" -v "${HOME}/ark/arkdata:/home/steam/arkdata" -e PORTGAME=7779 -e PORTRAW=7778 -e PORTQUERY=27015 -e PORTRCON=27020 -e SERVERNAME=ASERVER -e MAP=TheIsland -e ADMINPW=APASAS -e CLUSTERID=ACLUSTER -e SERVERPW=APWD -e CPU_MHZ=2500 dockrbyter/arksurvivalevolved

It all updates installs etc just fine and i end up with this: `WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation - version 1669935972 -- type 'quit' to exit -- Loading Steam API...OK

Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Please use force_install_dir before logon! Success! App '376030' already up to date. Shutdown handler: initalize. Using binned. 4.5.1-0+UE4 7038 3077 404 10 [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Setting breakpad minidump AppID = 346110`

I am never able to find the server, doing netstat -a | grep only shows 27020 & 27015. 7778 & 7779 Do not snow

dockrbyter commented 1 year ago

Hey Friend, sry, currently on a long trip, so I'm a litte off these days.... It looks to me, that you just should give the container a litte more time. The first start could take up to 20 minutes... And ignore the steam errors, they are commen and don't break the server. The Ports 7778 and 7779 are for RCON or stuff like that, 27015 is the important one ;) Reopen this issu if you want to but first you shoud start your container and go away for a while. Have a cofe or somethin like that... Have fun and good luck :D