CM2Walki / Squad

Dockerfile for automated build of a Squad gameserver: https://hub.docker.com/r/cm2network/squad/

Home Page:https://CM2.Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game server doesn't start

slushpuppy opened this issue · comments

Hi, I followed your instructions on:

https://hub.docker.com/r/cm2network/squad

unfortunately I am not able to connect to the server. Netstat listening port dump only shows steam service running

udp 0 0 0.0.0.0:27165 0.0.0.0:* 3508152/SquadGameSe

no services attached to 7787

dump of logs:

docker logs squad-dedicated | grep 7787
Looking for binary: ../../../SquadGame/Config/BinaryConfig.ini
sh: 1: xdg-user-dir: not found
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 2 milliseconds to initialize
Setting breakpad minidump AppID = 393380
[S_API FAIL] Tried to access Steam interface SteamNetworking006 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
LogInit: Command Line: Port=7787 QueryPort=27165 RCONPORT=21114 FIXEDMAXPLAYERS=80 FIXEDMAXTICKRATE=50 RANDOM=15774
[2023.09.30-02.57.03:520][ 0]LogPackageName: SearchForPackageOnDisk took 7.924s, but failed to resolve Port=7787.umap.
[2023.09.30-02.57.03:620][ 0]LogNet: Display: SteamNetDriver_2147482548 bound to port 7787
[2023.09.30-02.57.03:620][ 0]LogNet: GameNetDriver SteamNetDriver_2147482548 IpNetDriver listening on port 7787
[S_API FAIL] Tried to access Steam interface STEAMINVENTORY_INTERFACE_V003 before SteamAPI_Init succeeded.
root@frost:~# docker logs squad-dedicated | grep 7787
Looking for binary: ../../../SquadGame/Config/BinaryConfig.ini
sh: 1: xdg-user-dir: not found
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 2 milliseconds to initialize
Setting breakpad minidump AppID = 393380
[S_API FAIL] Tried to access Steam interface SteamNetworking006 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
LogInit: Command Line: Port=7787 QueryPort=27165 RCONPORT=21114 FIXEDMAXPLAYERS=80 FIXEDMAXTICKRATE=50 RANDOM=15774
[2023.09.30-02.57.03:520][ 0]LogPackageName: SearchForPackageOnDisk took 7.924s, but failed to resolve Port=7787.umap.
[2023.09.30-02.57.03:620][ 0]LogNet: Display: SteamNetDriver_2147482548 bound to port 7787
[2023.09.30-02.57.03:620][ 0]LogNet: GameNetDriver SteamNetDriver_2147482548 IpNetDriver listening on port 7787
[S_API FAIL] Tried to access Steam interface STEAMINVENTORY_INTERFACE_V003 before SteamAPI_Init succeeded.

processes within docker image

/home/steam# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
steam 1 0.0 0.0 3896 2920 ? Ss 02:55 0:00 bash entry.sh
steam 84 0.0 0.0 3896 3068 ? S 02:56 0:00 bash /home/steam/squad-dedicated/SquadGameServer.sh Port=7787 QueryPort=27165 RCONPORT=21114 FIXEDMAXPLAYERS=80 FIXE
steam 91 5.0 2.0 3234568 1318752 ? Sl 02:56 1:06 /home/steam/squad-dedicated/SquadGame/Binaries/Linux/SquadGameServer SquadGame Port=7787 QueryPort=27165 RCONPORT=21
root 151 0.0 0.0 4028 3440 pts/0 Ss 03:16 0:00 bash
root 521 0.0 0.0 6756 2844 pts/0 R+ 03:18 0:00 ps aux