Unable to start server after adding meta mod
DownLyfter opened this issue · 2 comments
The server will start normally however after adding metamod files to the servers add-ons directory the server will crash with the error
entry.sh: line 94: 38 Segmentation fault ./cs2 -dedicated -ip 0.0.0.0 -port 27015 -console -usercon -maxplayers 10 +game_alias "competitive" +mapgroup mg_active +map de_inferno +rcon_password AmoungUsSussyBaka +sv_setsteamaccount "REDACTED" +sv_password sussy +sv_lan 0
Unable to provide full log due to maximum character length. Will provide full log if asked
2024-02-19 22:19:13 GAME "/home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_imported/pak01.vpk
2024-02-19 22:19:13 GAME "/home/steam/cs2-dedicated/game/csgo_core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/csgo_core/pak01.vpk
2024-02-19 22:19:13 GAME "/home/steam/cs2-dedicated/game/core/pak01.vpk" (vpk) /home/steam/cs2-dedicated/game/core/pak01.vpk
2024-02-19 22:19:16 Setting breakpad minidump AppID = 730
2024-02-19 22:19:16 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
2024-02-19 22:19:16 SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
2024-02-19 22:19:16 Looking up breakpad interfaces from steamclient
2024-02-19 22:19:16 Calling BreakpadMiniDumpSystemInit
2024-02-19 22:19:16 SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded yes]
2024-02-19 22:19:16 SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561197960265728
2024-02-19 22:19:16 [S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
2024-02-19 22:19:16 Setting breakpad minidump AppID = 2347773
2024-02-19 22:19:16 entry.sh: line 94: 38 Segmentation fault ./cs2 -dedicated -ip 0.0.0.0 -port 27015 -console -usercon -maxplayers 10 +game_alias "competitive" +mapgroup mg_active +map de_inferno +rcon_password AmoungUsSussyBaka +sv_setsteamaccount REDACTED" +sv_password sussy +sv_lan 0
2024-02-19 22:19:16 post-hook: noop
full compose file
version: '3.7'
services:
cs2-server:
image: joedwards32/cs2
container_name: cs2-dedicated
environment:
# Server configuration
- SRCDS_TOKEN=REDACTED" # Game Server Token from https://steamcommunity.com/dev/managegameservers
- CS2_SERVERNAME=binlandsagav3 # (Set the visible name for your private server)
- CS2_CHEATS=0 # (0 - disable cheats, 1 - enable cheats)
- CS2_PORT=27015 # (CS2 server listen port tcp_udp)
- CS2_SERVER_HIBERNATE=1 # (Put server in a low CPU state when there are no players. 0 - hibernation disabled, 1 - hibernation enabled)
- CS2_RCON_PORT # (Optional, use a simple TCP proxy to have RCON listen on an alternative port. Useful for services like AWS Fargate which do not support mixed protocol ports.)
- CS2_LAN=0 # (0 - LAN mode disabled, 1 - LAN Mode enabled)
- CS2_RCONPW=AmoungUsSussyBaka # (RCON password)
- CS2_PW=sussy # (CS2 server password)
- CS2_MAXPLAYERS=10 # (Max players)
- CS2_ADDITIONAL_ARGS # (Optional additional arguments to pass into cs2)
# Game modes
- CS2_GAMEALIAS="competitive" # (Game type, e.g. casual, competitive, deathmatch. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
- CS2_GAMETYPE=0 # (Used if CS2_GAMEALIAS not defined. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
- CS2_GAMEMODE=1 # (Used if CS2_GAMEALIAS not defined. See https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers)
- CS2_MAPGROUP=mg_active # (Map pool)
- CS2_STARTMAP=de_inferno # (Start map)
# Bots
- CS2_BOT_DIFFICULTY=2 # (0 - easy, 1 - normal, 2 - hard, 3 - expert)
- CS2_BOT_QUOTA=10 # (Number of bots)
- CS2_BOT_QUOTA_MODE="fill" # (fill, competitive)
# TV
- TV_AUTORECORD=0 # Automatically records all games as CSTV demos: 0=off, 1=on.
- TV_ENABLE=0 # Activates CSTV on server: 0=off, 1=on.
- TV_PORT=27020 # Host SourceTV port
- TV_PW=changeme # CSTV password for clients
- TV_RELAY_PW=changeme # CSTV password for relay proxies
- TV_MAXRATE=0 # World snapshots to broadcast per second. Affects camera tickrate.
- TV_DELAY=0 # Max CSTV spectator bandwidth rate allowed, 0 == unlimited
volumes:
- C:\Users\Joe\Documents\CS2Data:/home/steam/cs2-dedicated/ # (Change /mnt/cs2 according to your volume location)
ports:
- "27015:27015/tcp" # TCP
- "27015:27015/udp" # UDP
- "27020:27020/udp" # UDP
volumes:
cs2:
I did add the line
Game csgo/addons/metamod
to gameinfo.gi
CS2_SERVER_HIBERNATE=1
has been observed to cause crashes before. I recommend setting it to 0.
Closing issue due to inactivity.