arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
681 stars 144 forks source link

Unable to start dedicated server on Linux after latest update #1222

Closed bennel89 closed 2 years ago

bennel89 commented 2 years ago

After the most recent update, my server won't start playing the "Lost Island" map. It seems to play Ragnarok and TheIsland just fine though.

This is being run in a docker container so it's easy for me to try a clean reset so... Things I've tried:

  1. Cleanly re-downloading the image that had been previously working
  2. Disabling all mods
  3. Clearing all saved data in the world
  4. Restoring config files to default

The server will start, but the auto-restarter kills it.

arkmanager.cfg main.cfg (instance) Log:

# Ark Server - Mon 11 Apr 2022 10:11:26 PM UTC
# UID 1000 - GID 1000
# ARGS --arkopt,-NoBattlEye 
_______________________________________
Setting up folder and file structure...
Setting up Arkmanager...
...ensuring rights on /app/arkmanager/arkmanager.cfg
...ensuring rights on /app/arkmanager/instances/main.cfg
...ensuring rights on /app/crontab
$UPDATE_ON_START is 'true'...
Running command 'update' for instance 'main'
Checking for update; PID: 28
Copying to staging directory
Downloading ARK updateExecuting /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +force_install_dir /app/staging +login anonymous +app_update 376030 +quit
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1648077083
-- type 'quit' to exit --
Loading Steam API...OK
"@NoPromptForPassword" = "1"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
/usr/local/bin/arkmanager: line 998:   582 Killed                  "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110

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)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x11) preallocating, progress: 0.00 (0 / 793558587)
 Update state (0x61) downloading, progress: 38.69 (307028094 / 793558587)
 Update state (0x61) downloading, progress: 56.32 (446932565 / 793558587)
 Update state (0x61) downloading, progress: 76.03 (603311188 / 793558587)
 Update state (0x61) downloading, progress: 99.53 (789857669 / 793558587)
 Update state (0x81) verifying update, progress: 56.03 (444626553 / 793558587)
Success! App '376030' fully installed.
The server is already stopped
 Saved arks directory is /app/server/ShooterGame/Saved/SavedArks
 Copying ARK world file (LostIsland) [   OK   ]
 Copying ARK profile files
 Copying ARK tribe files 
 Copying ARK tribute tribe files 
 Copying mod persistent info 
'/app/server/ShooterGame/Saved/SaveGames' -> '/app/backup/2022-04-11_22.12.26/SaveGames'
'/app/server/ShooterGame/Saved/SaveGames/AwesomeTeleporters' -> '/app/backup/2022-04-11_22.12.26/SaveGames/AwesomeTeleporters'
'/app/server/ShooterGame/Saved/SaveGames/AwesomeTeleporters/UploadedDinos.sav' -> '/app/backup/2022-04-11_22.12.26/SaveGames/AwesomeTeleporters/UploadedDinos.sav'
 Copying GameUserSettings.ini [   OK   ]
 Copying Game.ini [   OK   ]
 Compressing Backup [   OK   ]
 Created Backup:  main.2022-04-11_22.12.26.tar.bz2
Applying update from staging directory
Update to 8538117 complete
No crontab set
Installing mods: '731604991,609380111,889745138,1814953878,1404697612,1609138312,741203089,821530042,880887081,880871931,795044845' ...
...installing '731604991'
...already installed
...installing '609380111'
...already installed
...installing '889745138'
...already installed
...installing '1814953878'
...already installed
...installing '1404697612'
...already installed
...installing '1609138312'
...already installed
...installing '741203089'
...already installed
...installing '821530042'
...already installed
...installing '880887081'
...already installed
...installing '880871931'
...already installed
...installing '795044845'
...already installed
Running command 'run' for instance 'main'
2022-04-11 22:12:44: start
2022-04-11 22:12:44: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer LostIsland\?SessionName=Ark\ of\ Annihilation\?ServerPassword=SOMEPASSWORD\?ServerAdminPassword=SOMEPASSWORD\?MaxPlayers=10\?GameModIds=731604991\,609380111\,889745138\,1814953878\,1404697612\,1609138312\,741203089\,821530042\,880887081\,880871931\,795044845\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
2022-04-11 22:12:44: Server PID: 582
2022-04-11 22:14:10: server is up
2022-04-11 22:18:11: Bad PID ''; expected '582'
2022-04-11 22:18:11: exited with status 0
2022-04-11 22:18:11: restarting server
2022-04-11 22:18:11: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer LostIsland\?SessionName=Ark\ of\ Annihilation\?ServerPassword=SOMEPASSWORD\?ServerAdminPassword=SOMEPASSWORD\?MaxPlayers=10\?GameModIds=731604991\,609380111\,889745138\,1814953878\,1404697612\,1609138312\,741203089\,821530042\,880887081\,880871931\,795044845\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
2022-04-11 22:18:11: Server PID: 2359
2022-04-11 22:19:38: server is up
/usr/local/bin/arkmanager: line 998:  2359 Killed                  "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
2022-04-11 22:21:13: Bad PID ''; expected '2359'
2022-04-11 22:21:13: exited with status 0
2022-04-11 22:21:13: restarting server
2022-04-11 22:21:13: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer LostIsland\?SessionName=Ark\ of\ Annihilation\?ServerPassword=SOMEPASSWORD\?ServerAdminPassword=SOMEPASSWORD\?MaxPlayers=10\?GameModIds=731604991\,609380111\,889745138\,1814953878\,1404697612\,1609138312\,741203089\,821530042\,880887081\,880871931\,795044845\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
2022-04-11 22:21:13: Server PID: 3748
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2022-04-11 22:22:51: server is up
/usr/local/bin/arkmanager: line 1300:  3748 Killed                  "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
2022-04-11 22:25:33: Bad PID ''; expected '3748'
2022-04-11 22:25:33: exited with status 0
2022-04-11 22:25:33: restarting server
2022-04-11 22:25:33: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer LostIsland\?SessionName=Ark\ of\ Annihilation\?ServerPassword=SOMEPASSWORD\?ServerAdminPassword=SOMEPASSWORD\?MaxPlayers=10\?GameModIds=731604991\,609380111\,889745138\,1814953878\,1404697612\,1609138312\,741203089\,821530042\,880887081\,880871931\,795044845\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
2022-04-11 22:25:33: Server PID: 6105
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2022-04-11 22:27:17: server is up
/usr/local/bin/arkmanager: line 998:  6105 Killed                  "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
2022-04-11 22:29:42: Bad PID ''; expected '6105'
2022-04-11 22:29:42: exited with status 0
2022-04-11 22:29:42: restarting server
2022-04-11 22:29:42: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer LostIsland\?SessionName=Ark\ of\ Annihilation\?ServerPassword=SOMEPASSWORD\?ServerAdminPassword=SOMEPASSWORD\?MaxPlayers=10\?GameModIds=731604991\,609380111\,889745138\,1814953878\,1404697612\,1609138312\,741203089\,821530042\,880887081\,880871931\,795044845\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -NoBattlEye -log
2022-04-11 22:29:42: Server PID: 8902
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
klightspeed commented 2 years ago

Killed often means you ran out of memory, and the Out of Memory killer reaped the process - in this case you will likely have an OOPS in your system log. It looks like Lost Island needs significantly more memory than the older maps.

bennel89 commented 2 years ago

🤦‍♂️

I had been tweaking with the docker-compose settings and put memory limits last week, forgot about it, and went on vacation. I just restarted the server for the first time since making that change.

I removed the mem limits and it fixed it. Thank you!