Hermsi1337 / docker-ark-server

Dockerize your ARK server - configurable via env
https://hub.docker.com/r/hermsi/ark-server/
MIT License
112 stars 36 forks source link

arkmanager throws Invalid steamcmd_user in config file #79

Closed Mickroz closed 2 years ago

Mickroz commented 2 years ago

Hi, im getting this when running status, i installed the docker container through a stack in portainer.

but console in ark server container says:

:/app# echo "${STEAM_USER}"
steam

my stack looks like:

ark-server:
    image: hermsi/ark-server:latest
    container_name: ark_server
    environment:
      - UID=1000
      - GID=1000
      - TZ=Europe/Amsterdam
      - SESSION_NAME=****
      - SERVER_MAP=TheIsland
      - SERVER_PASSWORD=****
      - ADMIN_PASSWORD=****
      - MAX_PLAYERS=10
      - UPDATE_ON_START=true
      - BACKUP_ON_STOP=true
      - GAME_MOD_IDS=123456
    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"
    volumes:
      - /home/mickroz/docker/ark-server:/app
      - /home/mickroz/docker/ark-server-backups:/home/steam/ARK-Backups

now im fairly new with docker, so i don't know where to look what might be wrong.

Hermsi1337 commented 2 years ago

Are you trying to execute a command? I'm not very firm with portainer but if you're using some kind of docker exec you have to execute it as steam.

Like so: docker exec -u steam container_id arkmanager

Mickroz commented 2 years ago

Ahh yes sorry, forgot to mention, i tried to run

docker exec ark_server arkmanager status

I will try it with the steam user then.