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

Unable to install mods #91

Open Unbeaten4350 opened 1 year ago

Unbeaten4350 commented 1 year ago

Having issues with ark-server installing mods.

I see the below in my logs:

Steam Console Client (c) Valve Corporation - version 1676336512
-- type 'quit' to exit --
Loading Steam API...OK
"@NoPromptForPassword" = "1"
Logging in user '********' to Steam Public...FAILED (No cached credentials and @NoPromptForPassword is set)
User ******** login failed - please login to steamcmd manually
Downloading mod 1404697612Executing /home/steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login ******** +workshop_download_item 346110 1404697612 +quit
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...

Repeating for each mod.

If I try installing via arkmanager in the container, I get the following:

steam@423bac71de71:/app$ arkmanager installmods
Running command 'installmods' for instance 'main'
Downloading mod 1333158793 ... User ******** login failed - please login to steamcmd manually

Repeating for each mod.

Steamcmd on the server:

Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1676336512
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user '********' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK

Steam>quit

My compose:

version: '3'

services:
  server:
    restart: always
    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=${SESSION_NAME}
      - SERVER_MAP=${SERVER_MAP}
      - SERVER_PASSWORD=${SERVER_PASSWORD}
      - ADMIN_PASSWORD=${ADMIN_PASSWORD}
      - MAX_PLAYERS=${MAX_PLAYERS}
      - UPDATE_ON_START=${UPDATE_ON_START}
      - BACKUP_ON_STOP=${BACKUP_ON_STOP}
      - PRE_UPDATE_BACKUP=${PRE_UPDATE_BACKUP}
      - WARN_ON_STOP=${WARN_ON_STOP}
    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

I'm hoping I just missed something with the Steamcmd portion of the instructions; let me know what else you might need from me.