docker-ark-server icon indicating copy to clipboard operation
docker-ark-server copied to clipboard

"$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

Open RecentRichRail opened this issue 2 years ago • 0 comments

Hello, There is an issue that I am having when running this docker container for the first time. Below is my Docker logs, I have not been able to find an answer online about this issue and wonder what I am possibly doing wrong? I was able to follow this https://github.com/arkmanager/ark-server-tools to make a server on my host but I am not able to put it in a docker. Below is the logs.

I do want to add that I did notice an issue with an update that was causing issues, the resolve was adding the --validate flag at the end of the update command inside the "steam-entrypoint.sh" file but this did not help resolve this issue. I also attempted a fork of your image with this added to no avail. If there is anything that I have done wrong with this please let me know. Thank you.

Docker Logs:

2022-12-22 08:06:36: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer Ragnarok\?SessionName=\"123456\"\?ServerPassword=123456\?ServerAdminPassword=123456\?MaxPlayers=20\?GameModIds=1650069767\,543859212\,2428761590\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -log
2022-12-22 08:06:36: Server PID: 14229
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2022-12-22 08:07:43: server is up
/usr/local/bin/arkmanager: line 998: 14229 Killed                  "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
2022-12-22 08:08:37: Bad PID ''; expected '14229'
2022-12-22 08:08:37: exited with status 0
2022-12-22 08:08:37: restarting server

docker-compse.yml:

version: '3'
services:
  server:
    restart: unless-stopped
    container_name: ark_server
    image: hermsi/ark-server:latest
    volumes:
      - ${HOME}/ark-server:/app
      - ${HOME}/ark-server-backups:/home/steam/ARK-Backups
    environment:
      - SESSION_NAME="123456"
      - SERVER_MAP=Ragnarok
      - SERVER_PASSWORD=123456
      - ADMIN_PASSWORD=123456
      - MAX_PLAYERS=20
      - UPDATE_ON_START=true
      - BACKUP_ON_STOP=false
      - PRE_UPDATE_BACKUP=true
      - WARN_ON_STOP=true
      - TZ=America/New_York
      - GID=1000
      - UID=1000
      - GAME_MOD_IDS=1650069767,543859212,2428761590
    ports:
      # Port for connections from ARK game client
      - "7777:7777/udp"
      # Raw UDP socket port (always Game client port +1)
      - "7778:7778/udp"
      # RCON management port
      - "27020:27020/tcp"
      # Steam's server-list port
      - "27015:27015/udp"
    networks:
      - default

RecentRichRail avatar Dec 22 '22 13:12 RecentRichRail