Hermsi1337 / docker-ark-server

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

Files install, but won't run; bad PID? #54

Closed moonpost closed 2 years ago

moonpost commented 2 years ago

trying to get this working with Docker Desktop on intel Mac (never installed before) and all files seem to be present in their proper folder structures (despite error showing not found), but also getting bad PID errors:

... Update state (0x101) committing, progress: 100.00 (18785720663 / 18785720663) Update state (0x101) committing, progress: 100.00 (18785720663 / 18785720663) Update state (0x101) committing, progress: 100.00 (18785720663 / 18785720663) Success! App '376030' fully installed. No crontab set Running command 'run' for instance 'main' 2022-06-14 15:54:18: start 2022-06-14 15:54:18: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?SessionName=jwARK?ServerPassword=###?ServerAdminPassword=###?MaxPlayers=20?GameModIds?GameModIds?Port=7777?QueryPort=27015?RCONEnabled=True?RCONPort=27020?listen -log -log 2022-06-14 15:54:18: Server PID: 135 2022-06-14 15:54:23: Bad PID ''; expected '135' 2022-06-14 15:54:23: exited with status 0 ...ensuring rights on /app /home/steam

Ark Server - Tue 14 Jun 2022 03:54:25 PM UTC

UID 1000 - GID 1000

ARGS

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 No crontab set Running command 'run' for instance 'main' 2022-06-14 15:54:25: start /usr/local/bin/arkmanager: line 1319: /app/server/ShooterGame/Binaries/Linux/ShooterGameServer: No such file or directory /usr/local/bin/arkmanager: line 1319: /app/server/ShooterGame/Binaries/Linux/ShooterGameServer: No such file or directory chown: changing ownership of '/app/server/ShooterGame/Binaries/Linux/ShooterGameServer': No such file or directory /usr/local/bin/arkmanager: line 1319: /app/server/ShooterGame/Binaries/Linux/ShooterGameServer: No such file or directory chown: changing ownership of '/app/server/ShooterGame/Binaries/Linux/ShooterGameServer': No such file or directory 2022-06-14 15:54:25: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?SessionName=jwARK?ServerPassword=###?ServerAdminPassword=###?MaxPlayers=20?GameModIds?GameModIds?Port=7777?QueryPort=27015?RCONEnabled=True?RCONPort=27020?listen -log -log 2022-06-14 15:54:25: Server PID: 55 2022-06-14 15:54:30: Bad PID ''; expected '55' 2022-06-14 15:54:30: exited with status 0 ...ensuring rights on /app /home/steam ... FAILED ENSURING RIGHTS - CONTINUING STARTUP

Ark Server - Tue 14 Jun 2022 03:54:33 PM UTC

UID 1000 - GID 1000

ARGS

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 No crontab set Running command 'run' for instance 'main' 2022-06-14 15:54:33: start 2022-06-14 15:54:33: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?SessionName=jwARK?ServerPassword=###?ServerAdminPassword=###?MaxPlayers=20?GameModIds?GameModIds?Port=7777?QueryPort=27015?RCONEnabled=True?RCONPort=27020?listen -log -log 2022-06-14 15:54:33: Server PID: 55 2022-06-14 15:54:38: Bad PID ''; expected '55' 2022-06-14 15:54:38: exited with status 0 ...ensuring rights on /app /home/steam


and here is my docker-compose file:

version: '3'

services: server: restart: always container_name: ark_server_island image: hermsi/ark-server:latest volumes:

moonpost commented 2 years ago

also just a note that I'm new to docker, but have Valheim and Minecraft servers successfully running.

Melethainiel commented 2 years ago

Do you have at least 20gb free on your volume ?

moonpost commented 2 years ago

I have like 50 GB free after all the folders/files are installed so I would think that'd be good, no? for reference, after the install and failure, like I said, I see all the folders/files and that takes up about 18.79 GB.

moonpost commented 2 years ago

huh. ok, just ran it again since clearly all the files are there and now it is running seemingly fine. maybe I just needed a reset or something? I'll see if it stays stable and playable but for right now it is working! Thanks!