lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.94k stars 272 forks source link

Error permissions #289

Closed pedroavaria closed 3 years ago

pedroavaria commented 3 years ago

When i start the docker-compose, i have this error:

valheim_1 | Mar 29 20:32:13 /supervisord: valheim-updater Logged in OK valheim_1 | Mar 29 20:32:13 /supervisord: valheim-updater Waiting for user info... valheim_1 | Mar 29 20:32:38 /supervisord: valheim-updater /opt/steamcmd/steamcmd.sh: line 38: 76 Killed $DEBUGGER "$STEAMEXE" "$@" valheim_1 | Mar 29 20:32:38 /supervisord: valheim-updater ERROR - Failed to download Valheim server from Steam - retrying later - check your networking and volume access permissions

anyone know how to fix it ?

My docker-compose yml

version: "3"
services:
  valheim:
    image: lloesche/valheim-server
    cap_add:
      - sys_nice
    volumes:
      - ./config:/config
      - ./data:/opt/valheim
    ports:
      - "2456-2457:2456-2457/udp"
      - "9001:9001/tcp"
    env_file:
      - ./valheim.env
    restart: always
    stop_grace_period: 2m

regards.

lloesche commented 3 years ago

@pedroavaria the Killed in there means that Steam was killed by an external force. The only obvious thing that comes to mind is the Kernel's OOM killer. Make sure you have the resources provisioned described here: https://github.com/lloesche/valheim-server-docker#system-requirements I.e. at least 4 GB of RAM.

pedroavaria commented 3 years ago

@pedroavaria the Killed in there means that Steam was killed by an external force. The only obvious thing that comes to mind is the Kernel's OOM killer. Make sure you have the resources provisioned described here: https://github.com/lloesche/valheim-server-docker#system-requirements I.e. at least 4 GB of RAM.

Thanks.