Code Monkey home page Code Monkey logo

arkserver's People

Contributors

catzoo avatar cherrot avatar justinbyrne avatar michaeldelago avatar thmhoag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arkserver's Issues

Timeout when connecting, doesn't use specified gameport

  • Image Tag: latest
  • Docker Host OS: Ubuntu 18.04.4 LTS
  • docker run command or docker-compose.yml file:
    version: "3"
    services:
    ragnarok:
    container_name: ragnarok
    image: thmhoag/arkserver:latest
    volumes:
      - /home/ark/maps/ragnarok:/ark
      - /home/ark/clusterdata:/ark/clusterdata
    ports:
      - 7777:7777/udp
      - 7778:7778/udp
      - 27015:27015/udp
      - 27030:27030/tcp
    

Description of Issue

The server goes up as expected but for some reason clients get timeout when connecting.

Additional Information

There's currently no software or hardware firewall on the host. No errors when not running detached. Displays port 7776 in server browser (only thing I can think of that would change the port automatically is rawsockets and it increases the port, doesn't decrease it). Ended up setting ports in both arkmanager.cfg and the instance.cfg, no luck.

Container displays these ports: 0.0.0.0:7777-7778->7777-7778/udp, 0.0.0.0:27015->27015/udp, 0.0.0.0:27030->27030/tcp

Can't get the ARK server to run

I am running this container on a Mac.

This is my run command:
docker run -d -v /opt/docker/Steam:/home/steam/Steam -v /opt/docker/Ark:/ark -p 27015:27015 -p 27015:27015/udp -p 7778:7778 -p 7778:7778/udp -p 7777:7777 -p 7777:7777/udp -e am_ark_SessionName='#####' -e am_ark_ServerPassword='#####' -e am_ark_ServerAdminPassword='#####' --restart unless-stopped --name ark thmhoag/arkserver

When I run 'docker exec ark arkmanager status' it says the server is not running and says that '/ark/server/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini' is missing.

The folder structure was automatically created under /opt/docker/Ark, but when I navigate to '/opt/docker/Ark/server/ShooterGame/Saved/Config/LinuxServer/' it is empty.

I have a feeling this is a user error and probably pretty obvious, but I haven't been able to figure it out. Any help?

Mod was not successfully downloaded

Image Setup Details

  • Image Tag: v1.4.1
  • Docker Host OS: Debian 10
  • docker run command or docker-compose.yml file:
version: '3'

volumes:
  steam:
  ark:
  ark-saved:
  ark-backups:
  ark-testcluster:

services:
  ark_test:
    image: thmhoag/arkserver:latest
    container_name: arkserver
    hostname: arkserver
    ports:
      - 7786:7786/udp
      - 7786:7786
      - 7787:7787/udp
      - 7787:7787
      - 27023:27023/udp
      - 27023:27023
      - 32338:32338
    environment:
      - am_ark_Port=7787
      - am_ark_QueryPort=27023
      - am_ark_RCONEnabled=True
      - am_ark_RCONPort=32338
      - am_ark_MaxPlayers=70
      - am_ark_SessionName=OdElmServer
      - am_serverMap=TheIsland
      - am_ark_ServerPassword=testing
      - am_ark_ServerAdminPassword=testingtesting
      - am_arkwarnminutes=15
      - am_ark_GameModIds=538827119
      - am_ark_arkMaxBackupSizeGB=1
      - am_ark_AltSaveDirectoryName=island
      - am_arkflag_NoTransferFromFiltering=
      - am_arkopt_clusterid=cluster-test
      - am_ark_OverrideOfficialDifficulty=5
      - am_ark_AllowAnyoneBabyImprintCuddle=true
      - am_ark_AllowFlyingStaminaRecovery=true
      - am_ark_bAllowPlatformSaddleMultiFloors=true
      - am_ark_OverrideStructurePlatformPrevention=true
      - TZ=UTC
      - am_EnablePvPGamma=true
      - am_XPMultiplier=3.000000
      - am_TamingSpeedMultiplier=3.000000
      - am_HarvestAmountMultiplier=3.000000
      - am_steamcmdroot="/usr/games"                                 # path of your steamcmd instance
      - am_steamcmdexec="steamcmd"                                             # name of steamcmd executable
      - am_steamcmd_user="steam"                                               # name of the system user who own steamcmd folder
      - am_steamcmd_appinfocache="/home/steam/.steam/appcache/appinfo.vdf"      # cache of the appinfo command
      - am_steamcmd_workshoplog="/home/steam/.steam/logs/workshop_log.txt"      # Steam workshop log
    volumes:
      - steam:/home/steam/.steam/SteamApps/workshop
      - ./ark:/ark
      - ark-saved:/ark/server/ShooterGame/Saved/
      - ark-backups:/ark/backup
      - ark-testcluster:/ark/server/ShooterGame/Saved/clusters
      - ./GameUserSettings.ini:/ark/config/GameUserSettings.ini
      - ./Game.ini:/ark/config/Game.ini
    restart: always

Description of Issue

Having hard times to get mods working - I tried to change the steamcmd part and the steamcmdroot in the compose file, but nothing seems to work. I still get

Mod 538827119 download failed
Mod 538827119 was not successfully downloaded

Additional Information

seems like something is going wrong with the directory of steamcmd I guess?

Daily restart with "saveworld" parameter deletes "TheIsland.ark" world save file

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Ubuntu 18.04.4 LTS
  • docker run command or docker-compose.yml file:
docker run -d \
     -v steam:/home/steam/Steam \
     -v ark:/ark \
     -p 27015:27015 -p 27015:27015/udp \
     -p 7778:7778 -p 7778:7778/udp \
     -p 7777:7777 -p 7777:7777/udp \
     thmhoag/arkserver

Description of Issue

The default CRON job for restarting the server includes the parameter "--saveworld". Running the "saveworld" command while there are no players connected to the server results in the deletion of the current world save file. On the default map this file is called "TheIsland.ark", and is located at /var/lib/docker/volumes/VOLUMENAME/_data/server/ShooterGame/Saved/SavedArks/. This results in the creation of a new world save file then next time a player connects to the server, with all world structures, dinos, etc. missing.

Additional Information

The line in the crontab file that causes the issue:

15 10 * * * arkmanager restart --warn --saveworld

To resolve the issue, simply remove the "--saveworld" parameter:

15 10 * * * arkmanager restart --warn

Recommendation: Remove "--saveworld" parameter from all CRON jobs to remove risk of wiping world save due to lack of players.

Server not listening after todays ARK update

Image Setup Details

see my last issue: #6

Description of Issue

Description of issue
Hey there again - my server stopped listening after the recent update. After about 30 minutes, the server seems to restart itself:

2020-06-25 18:51:05: Server PID: 363 arkserver | [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. arkserver | Setting breakpad minidump AppID = 346110 arkserver | Running command 'broadcast' for instance 'main' arkserver | Error connecting to server: Connection refused at -e line 33. arkserver | ########################################################################### arkserver | # Ark Server - Thu Jun 25 19:07:32 UTC 2020 arkserver | ########################################################################### arkserver | Ensuring correct permissions... arkserver | Cleaning up any leftover arkmanager files... arkserver | Creating arkmanager.cfg from environment variables... arkserver | Starting cron service... arkserver | * Starting periodic command scheduler cron arkserver | ...done. arkserver | Loading crontab... arkserver | Save file validation is not enabled. arkserver | Backup on start is not enabled. arkserver | Running command 'start' for instance 'main' arkserver | Checking for updates before starting arkserver | Checking for update; PID: 150 arkserver | Your server is already up to date! The most recent version is 5212451. arkserver | The server is starting... arkserver | arkserver | 2020-06-25 19:08:26: start arkserver | 2020-06-25 19:08:26: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?RCONPort=32338\?SessionName=OdElmServer\?GameModIds=731604991\,655261420\,761535755\,510590313\,566887000\,693416678\,538827119\,516096294\,751991809\?MaxPlayers=70\?AllowAnyoneBabyImprintCuddle=true\?QueryPort=27023\?AltSaveDirectoryName=island\?ServerPassword=******\?ServerAdminPassword=******\?arkMaxBackupSizeGB=1\?OverrideStructurePlatformPrevention=true\?bAllowPlatformSaddleMultiFloors=true\?RCONEnabled=True\?AllowFlyingStaminaRecovery=true\?OverrideOfficialDifficulty=5\?Port=7786\?listen -NoTransferFromFiltering -clusterid=cluster-test -NoTransferFromFiltering -log arkserver | 2020-06-25 19:08:26: Server PID: 378 arkserver | [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. arkserver | Setting breakpad minidump AppID = 346110 arkserver | Signal 11 caught. arkserver | /usr/local/bin/arkmanager: line 1189: 378 Segmentation fault (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}" arkserver | 2020-06-25 19:56:46: Bad PID ''; expected '378' arkserver | 2020-06-25 19:56:46: exited with status 0 arkserver | ########################################################################### arkserver | # Ark Server - Thu Jun 25 19:56:53 UTC 2020 arkserver | ########################################################################### arkserver | Ensuring correct permissions... arkserver | Cleaning up any leftover arkmanager files... arkserver | Creating arkmanager.cfg from environment variables... arkserver | Starting cron service... arkserver | * Starting periodic command scheduler cron arkserver | ...done. arkserver | Loading crontab... arkserver | Save file validation is not enabled. arkserver | Backup on start is not enabled. arkserver | Running command 'start' for instance 'main' arkserver | Checking for updates before starting arkserver | Checking for update; PID: 463 arkserver | Your server is already up to date! The most recent version is 5212451. arkserver | The server is starting... arkserver | arkserver | 2020-06-25 20:00:30: start arkserver | 2020-06-25 20:00:30: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?RCONPort=32338\?SessionName=OdElmServer\?GameModIds=731604991\,655261420\,761535755\,510590313\,566887000\,693416678\,538827119\,516096294\,751991809\?MaxPlayers=70\?AllowAnyoneBabyImprintCuddle=true\?QueryPort=27023\?AltSaveDirectoryName=island\?ServerPassword=******\?ServerAdminPassword=******\?arkMaxBackupSizeGB=1\?OverrideStructurePlatformPrevention=true\?bAllowPlatformSaddleMultiFloors=true\?RCONEnabled=True\?AllowFlyingStaminaRecovery=true\?OverrideOfficialDifficulty=5\?Port=7786\?listen -NoTransferFromFiltering -clusterid=cluster-test -NoTransferFromFiltering -log arkserver | 2020-06-25 20:00:30: Server PID: 677 arkserver | [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. arkserver | Setting breakpad minidump AppID = 346110

My container updates itself via cronjob. As I can see here, my server configuration is still running at your server ;-).

It was also offline for some time - did you change anything?

Different ports

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Ubuntu Server 18.04.2
  • docker run command or docker-compose.yml file:

Current:

sudo docker run -d --name ark_server \
-p 27015:27015 \
-p 7777:7778 \
-p 7778:7779 \
-p 27020:32330 \
-v ark:/ark \
-v steam:/home/steam/steam \
-e am_serverMap=Valguero_P \
-e am_ark_SessionName="ButterNuggetz server" \
-e am_ark_MaxPlayers=8 \
-e am_ark_ServerAdminPassword=password\
-e am_ark_ServerPassword=password\
-e am_discordWebhookURL=https://discordapp.com/api/webhooks/712947228037218344/rJLTLT-5rl54B4BFldYMKSlqzqbBz6MMqJXp9kUIllK_vgM6vEFq4JwlAOaAp30V-csL \
-e am_ark_GameModIds=760199681,749172455,749172455,736236773,874109084,725398419,847495728,754885087,926028694,722649005,922859221,943290066,702828089,679529026,558651608,821530042,756389708,854186603,731604991,880871931,793605978,538827119,708807240,1139775728,1091147617,1400323349,2041551342,2043866694,2024119790 \
thmhoag/arkserver

Before:

sudo docker run -d --name ark_server \
--network=host \
-v ark:/ark \
-v steam:/home/steam/steam \
-e am_serverMap=Valguero_P \
-e am_ark_SessionName="ButterNuggetz server" \
-e am_ark_MaxPlayers=8 \
-e am_ark_QueryPort=27015 \
-e am_ark_Port=7777 \
-e am_ark_RCONPort=27020 \
-e am_ark_ServerAdminPassword=abc123 \
-e am_ark_ServerPassword=abc123 \ 
-e am_discordWebhookURL=https://discordapp.com/api/webhooks/712947228037218344/rJLTLT-5rl54B4BFldYMKSlqzqbBz6MMqJXp9kUIllK_vgM6vEFq4JwlAOaAp30V-csL \
-e am_ark_GameModIds=760199681,749172455,749172455,736236773,874109084,725398419,847495728,754885087,926028694,722649005,922859221,943290066,702828089,679529026,558651608,821530042,756389708,854186603,731604991,880871931,793605978,538827119,708807240,1139775728,1091147617,1400323349,2041551342,2043866694,2024119790 \
thmhoag/arkserver

Description of Issue

I'm not sure if i'm using it wrong. For some reason the ports keep changing on me. For example, before I set ark_Port=7777 and the server starts up with it being set to 7778.

I tried to solve the issue by exposing the ports with a different port on the host system. (Current docker run command) But the server started it up with port 7777 rather 7778.

I checked the configuration file in /ark/config/arkmanager.cfg and the enviromental variables are correct in there. Just for some reason when the server starts the arguments are different.

Additional Information

Run logs of the current docker run command:

2020-05-26 02:53:31: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer Valguero_P\?RCONPort=32330\?SessionName=ButterNuggetz\ server\?GameModIds=760199681\,749172455\,749172455\,736236773\,874109084\,725398419\,847495728\,754885087\,926028694\,722649005\,922859221\,943290066\,702828089\,679529026\,558651608\,821530042\,756389708\,854186603\,731604991\,880871931\,793605978\,538827119\,708807240\,1139775728\,1091147617\,1400323349\,2041551342\,2043866694\,2024119790\?MaxPlayers=8\?QueryPort=27015\?ServerPassword=abc123\?ServerAdminPassword=abc123\?Port=7777\?RCONEnabled=True\?listen -log

Container restart policy not set by documented "docker run" command

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Ubuntu 18.04.4 LTS
  • docker run command or docker-compose.yml file:
$ docker run -d \
    -v steam:/home/steam/Steam \
    -v ark:/ark \
    -p 27015:27015 -p 27015:27015/udp \
    -p 7778:7778 -p 7778:7778/udp \
    -p 7777:7777 -p 7777:7777/udp \
    thmhoag/arkserver

Description of Issue

The container restart policy is not set by documented "docker run" command. The default restart policy for Docker is "no", and as a result, the container will stop and fail to restart when the arkmanager CRON job for restarting the ark server instance triggers. This CRON job runs at 10:15am every day (UTC time).

Additional Information

Docker documentation about restart policy: https://docs.docker.com/config/containers/start-containers-automatically/

CRON job code from run.sh file that triggers restart (line 69): 15 10 * * * arkmanager restart --warn --saveworld

Recommend updating documented "docker run" command to include "--restart always"

Running with suggested args fails

See below. Using the args suggested in the README fails. I tried this after having some issues with my own docker-compose.

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Ubuntu 18.04
  • docker run command or docker-compose.yml file:
#!/bin/sh
docker run -v steam:/home/steam/Steam -v ark:/ark -p 27015:27015 -p 27015:27015/udp -p 7778:7778 -p 7778:7778/udp -p 7777:7777 -p 7777:7777/udp thmhoag/arkserver

Description of Issue

Output is:

###########################################################################
# Ark Server -  Tue Sep 1 01:03:46 UTC 2020
###########################################################################
Ensuring correct permissions...
Cleaning up any leftover arkmanager files...
Creating arkmanager.cfg from environment variables...
No game files found. Installing...
Starting cron service...
 * Starting periodic command scheduler cron
   ...done.
Loading crontab...
Save file validation is not enabled.
Backup on start is not enabled.
Running command 'start' for instance 'main'
[  WARN  ] 	Your ARK server exec could not be found.
Checking for updates before starting
Checking for update; PID: 44
sed: can't read /ark/server/steamapps/appmanifest_376030.acf: No such file or directory
Downloading ARK updateExecuting /home/steam/.steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login anonymous +force_install_dir /ark/staging +app_update 376030 +quit
Redirecting stderr to '/home/steam/.steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
"@NoPromptForPassword" = "1"

Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) verifying install, progress: 10.91 (1406936159 / 12896302610)
 Update state (0x5) verifying install, progress: 15.42 (1989144508 / 12896302610)
 Update state (0x5) verifying install, progress: 83.86 (10815002771 / 12896302610)
 Update state (0x5) verifying install, progress: 87.43 (11275456304 / 12896302610)
Error! App '376030' state is 0x202 after update job.
Update download interrupted
The server is starting...

An update is currently in progress.  Start aborted

README.md does not match reality

Image Setup Details

  • 1.4.3:

I'm not sure the Readme.md is correct after
#11

If I start the docker and I do not add am_arkflag_crossplay, then the entry is missing in the arkmanager.cfg.
If it is missing, afaik the default is false.
My preferred solution would be to explicitly set arkflag_crossplay=true per default.

Missing Env File From Test Folder

Sorry to bother you with such a simple question, reading your clustering setup at the bottom of your readme...
It references an .env file in a Test folder.
Where exactly can I get the .env file and/or Test folder as I don't see them anywhere in your GitHub tree.

Thanks!
Mr. Moo42

Health check port

Image Setup Details

  • Image Tag: v1.6.0
  • Docker Host OS: Amazon Linux

Description of Issue

AWS NLBs used with ECS require IP-based target groups. These groups require that health checks must be enabled. The only type of health check available is TCP. The only port I can currently run these against is the RCON port, but I don't want to expose that to the public.

TCP checks run every 30 seconds and the max count that can be specified is 10 so a service should be added that can get into a healthy state in less than 5m.

Example Docker-compose ideally with cluster configuration

Hello,

I hope its ok to ask here, I dont have an issue.
Anyone out there who has a working docker-compose file for a cluster configuration build on this repo?

Thanks

edit:
managed to write this one:


volumes:
  steam:

services:
    scorched:
        image: thmhoag/arkserver
        container_name: ark_scorched
        hostname: scorched
        volumes:
            # LOKAL -> CONTAINER
            - '/media/storage/gameserver/ark/steam:/home/steam/Steam'
            - '/media/storage/gameserver/ark/ark:/ark'
        ports:
            - '27015:27015'
            - '27015:27015/udp'
            - '7777:7777'
            - '7777:7777/udp'
            - '7778:7778'
            - '7778:7778/udp'
            - '32338:32338'
        environment:
            - am_ark_QueryPort=27015
            - am_ark_Port=7777
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32338
            - am_ark_SessionName=C4E.dev Scorched Earth
            - am_serverMap=ScorchedEarth_P
            - am_ark_AltSaveDirectoryName=ScorchedEarth
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107,2121156303
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_PreventDownloadSurvivors="False"
            - am_ark_PreventDownloadItems="False"
            - am_ark_PreventDownloadDinos="False"
            - am_ark_PreventUploadSurvivors="False"
            - am_ark_PreventUploadItems="False"
            - am_ark_PreventUploadDinos="False"
        restart: unless-stopped
    ragnarok:
        image: thmhoag/arkserver
        container_name: ark_ragnarok
        hostname: ragnarok
        volumes:
            # LOKAL -> CONTAINER
            - '/media/storage/gameserver/ark/steam:/home/steam/Steam'
            - '/media/storage/gameserver/ark/ark:/ark'
        ports:
            - '27016:27016'
            - '27016:27016/udp'
            - '7779:7779'
            - '7779:7779/udp'
            - '7780:7780'
            - '7780:7780/udp'
            - '32339:32339'
        environment:
            - am_ark_QueryPort=27016
            - am_ark_Port=7780
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32339
            - am_ark_SessionName=C4E.dev Ragnarok
            - am_serverMap=Ragnarok
            - am_ark_AltSaveDirectoryName=Ragnarok
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107,2121156303
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_PreventDownloadSurvivors="False"
            - am_ark_PreventDownloadItems="False"
            - am_ark_PreventDownloadDinos="False"
            - am_ark_PreventUploadSurvivors="False"
            - am_ark_PreventUploadItems="False"
            - am_ark_PreventUploadDinos="False"
        restart: unless-stopped
    aberration:
        image: thmhoag/arkserver
        container_name: ark_aberration
        hostname: aberration
        volumes:
            # LOKAL -> CONTAINER
            - '/media/storage/gameserver/ark/steam:/home/steam/Steam'
            - '/media/storage/gameserver/ark/ark:/ark'
        ports:
            - '27017:27017'
            - '27017:27017/udp'
            - '7781:7781'
            - '7781:7781/udp'
            - '7782:7782'
            - '7782:7782/udp'
            - '32340:32340'
        environment:
            - am_ark_QueryPort=27017
            - am_ark_Port=7781
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32340
            - am_ark_SessionName=C4E.dev Aberration
            - am_serverMap=Aberration_P
            - am_ark_AltSaveDirectoryName=Aberration
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107,2121156303
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_PreventDownloadSurvivors="False"
            - am_ark_PreventDownloadItems="False"
            - am_ark_PreventDownloadDinos="False"
            - am_ark_PreventUploadSurvivors="False"
            - am_ark_PreventUploadItems="False"
            - am_ark_PreventUploadDinos="False"
        restart: unless-stopped
    extinction:
        image: thmhoag/arkserver
        container_name: ark_extinction
        hostname: extinction
        volumes:
            # LOKAL -> CONTAINER
            - '/media/storage/gameserver/ark/steam:/home/steam/Steam'
            - '/media/storage/gameserver/ark/ark:/ark'
        ports:
            - '27018:27018'
            - '27018:27018/udp'
            - '7783:7783'
            - '7783:7783/udp'
            - '7784:7784'
            - '7784:7784/udp'
            - '32341:32341'
        environment:
            - am_ark_QueryPort=27018
            - am_ark_Port=7783
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32341
            - am_ark_SessionName=C4E.dev Extinction
            - am_serverMap=Extinction
            - am_ark_AltSaveDirectoryName=Extinction
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107,2121156303
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_PreventDownloadSurvivors="False"
            - am_ark_PreventDownloadItems="False"
            - am_ark_PreventDownloadDinos="False"
            - am_ark_PreventUploadSurvivors="False"
            - am_ark_PreventUploadItems="False"
            - am_ark_PreventUploadDinos="False"
        restart: unless-stopped
    genesis:
        image: thmhoag/arkserver
        container_name: ark_genesis
        hostname: genesis
        volumes:
            # LOKAL -> CONTAINER
            - '/media/storage/gameserver/ark/steam:/home/steam/Steam'
            - '/media/storage/gameserver/ark/ark:/ark'
        ports:
            - '27019:27019'
            - '27019:27019/udp'
            - '7785:7785'
            - '7785:7785/udp'
            - '7786:7786'
            - '7786:7786/udp'
            - '32342:32342'
        environment:
            - am_ark_QueryPort=27019
            - am_ark_Port=7785
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32342
            - am_ark_SessionName=C4E.dev Genesis
            - am_serverMap=Genesis
            - am_ark_AltSaveDirectoryName=Genesis
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107,2121156303
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_PreventDownloadSurvivors="False"
            - am_ark_PreventDownloadItems="False"
            - am_ark_PreventDownloadDinos="False"
            - am_ark_PreventUploadSurvivors="False"
            - am_ark_PreventUploadItems="False"
            - am_ark_PreventUploadDinos="False"
        restart: unless-stopped

but docker compose up -d isnt working because the instances share PID/lock files, what am I missing? docker-compose up -d scorched is working fine (single instance)

edit2:
Its working with this config but different dir for every instance ...

version: "3.7"

volumes:
  steam:

services:
    scorched:
        image: thmhoag/arkserver
        container_name: ark_scorched
        hostname: scorched
        volumes:
            # LOKAL -> CONTAINER
            - '/ark/scorched_steam:/home/steam/Steam'
            - '/ark/scorched_arkmanager:/ark'
            - '/ark/cluster:/cluster'
            - '/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - '/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27015:27015/udp'
            - '7777:7777/udp'
            - '7778:7778/udp'
            - '32338:32338'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27015
            - am_ark_Port=7778
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32338
            - am_ark_SessionName=C4E.dev Scorched Earth
            - am_serverMap=ScorchedEarth_P
            - am_ark_AltSaveDirectoryName=ScorchedEarth
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="c4e"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    ragnarok:
        image: thmhoag/arkserver
        container_name: ark_ragnarok
        hostname: ragnarok
        volumes:
            # LOKAL -> CONTAINER
            - '/ark/ragnarok_steam:/home/steam/Steam'
            - '/ark/ragnarok_arkmanager:/ark'
            - '/ark/cluster:/cluster'
            - '/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - '/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27016:27016/udp'
            - '7779:7779/udp'
            - '7780:7780/udp'
            - '32339:32339'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27016
            - am_ark_Port=7780
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32339
            - am_ark_SessionName=C4E.dev Ragnarok
            - am_serverMap=Ragnarok
            - am_ark_AltSaveDirectoryName=Ragnarok
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="c4e"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    aberration:
        image: thmhoag/arkserver
        container_name: ark_aberration
        hostname: aberration
        volumes:
            # LOKAL -> CONTAINER
            - '/ark/aberration_steam:/home/steam/Steam'
            - '/ark/aberration_arkmanager:/ark'
            - '/ark/cluster:/cluster'
            - '/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - '/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27017:27017/udp'
            - '7781:7781/udp'
            - '7782:7782/udp'
            - '32340:32340'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27017
            - am_ark_Port=7782
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32340
            - am_ark_SessionName=C4E.dev Aberration
            - am_serverMap=Aberration_P
            - am_ark_AltSaveDirectoryName=Aberration
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="c4e"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    extinction:
        image: thmhoag/arkserver
        container_name: ark_extinction
        hostname: extinction
        volumes:
            # LOKAL -> CONTAINER
            - '/ark/extinction_steam:/home/steam/Steam'
            - '/ark/extinction_arkmanager:/ark'
            - '/ark/cluster:/cluster'
            - '/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - '/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27018:27018/udp'
            - '7783:7783/udp'
            - '7784:7784/udp'
            - '32341:32341'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27018
            - am_ark_Port=7784
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32341
            - am_ark_SessionName=C4E.dev Extinction
            - am_serverMap=Extinction
            - am_ark_AltSaveDirectoryName=Extinction
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="c4e"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    genesis:
        image: thmhoag/arkserver
        container_name: ark_genesis
        hostname: genesis
        volumes:
            # LOKAL -> CONTAINER
            - '/ark/genesis_steam:/home/steam/Steam'
            - '/ark/genesis_arkmanager:/ark'
            - '/ark/cluster:/cluster'
            - '/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - '/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27019:27019/udp'
            - '7785:7785/udp'
            - '7786:7786/udp'
            - '32342:32342'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27019
            - am_ark_Port=7786
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32342
            - am_ark_SessionName=C4E.dev Genesis
            - am_serverMap=Genesis
            - am_ark_AltSaveDirectoryName=Genesis
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="c4e"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped

rsync command not found

Image Setup Details

  • Image Tag: thmhoag/arkserver:latest
  • Docker Host OS: Linux-Debian
  • docker run command or docker-compose.yml file: *
docker run -d -v steam:/home/steam/Steam 
-v /MainDrive/arkServer:/ark 
-v /AlternateDrive/arkServers/main/backup:/ark/backup 
-v /AlternateDrive/arkServers/main/staging:/ark/staging 
-e am_ark_QueryPort=27015 -p 27015:27015/udp -e am_ark_Port=7778 -p 7778:7778/udp -p 7777:7777/udp -p 32330:32330 
-e am_ark_AltSaveDirectoryName=mainServer 
-e am_ark_SessionName=ArkServer-Main 
-e am_ark_ServerAdminPassword=Password 
-e am_serverMap=Gen2 
-e am_ark_MaxPlayers=5 
-e am_ark_RCONPort=32330 
-e am_arkwarnminutes=15 
-e am_arkGameUserSettingsIniFile=/ark/server/ShooterGame/Saved/mainServer/GameUserSettings.ini 
-e am_arkGameIniFile=/ark/server/ShooterGame/Saved/mainServer/Game.ini 
-e am_arkopt_activeevent=FearEvolved 
-e am_arkopt_clusterid=arkCluster 
-e am_arkflag_exclusivejoin=true 
-e am_arkflag_NoBattlEye=true 
-e am_ark_PreventSpawnAnimations=true 
-e am_ark_AllowRaidDinoFeeding=true 
-e am_arkBackupPreUpdate=true 
--name arkServerMain thmhoag/arkserver 
version: '3'

services:
your-compose-file-here:
    image: thmhoag/arkserver:0.0.0
```

Description of Issue

I recently attempted to change the location of my staging directory by adding a bind to the container which is on a different drive. Since this change I've not seen my server actually update. It attempts to and logs say that it does but in the server list the server is still on the same version.

It seems that the container is unable to call rsync based on what I'm seeing

Applying update from staging directory


/usr/local/bin/arkmanager: line 2187: rsync: command not found


Update to 6829683 complete


The server is starting...

Additional Information

Additional information

EnablePVPGamma ignored

i cannot find a way to get "EnablePVPGamma" active ..

i use "am_EnablePvPGamma=true" in the env-file used to build/run the container. This finds its way into the arkmanager.cfg-file , but not into ./ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini <- there it defaults to "false"
other "am_"-values definitely DO work.

any clue what i do wrong ?
br

Cannot update server version, nor can I use arkmanager. Requesting assistance.

I've been running the image for about a month before I noticed that folks are unable to connect to the server. They told me I need to update the server version as the client has recently been updated. Here's the script I use to bring up the container (note that I substituted the password information with *, but they are valid strings):

#!/bin/bash

ARK=blakebot_ark

docker stop $ARK

docker rm $ARK

docker run -d \
  --name $ARK \
  -v /home/bnoel/docker_volumes/ark3:/app \
  -v /home/bnoel/docker_volumes/ark3_backups:/home/steam/ARK-Backups \
  --restart always \
  -p 27015:27015/udp \
  -p 7777:7777/udp \
  -p 7778:7778/udp \
  -e SESSION_NAME=blakebot \
  -e SERVER_PASSWORD=* \
  -e ADMIN_PASSWORD=* \
  hermsi/ark-server:latest

When looking through the documentation of this project, I'm led to believe that to update this server, I should be using arkmanager. Attempts to do so look like the following:

sudo docker exec blakebot_ark arkmanager
Invalid steamcmd_user in config file

The error seems obvious, but I'm unsure how to resolve the issue. Currently, this steamcmd_user in config file is default as is within this container... Specifically within ~/arkmanager/arkmanager.cfg the related line looks like the following: steamcmd_user="${STEAM_USER}" # name of the system user who own steamcmd folder.

Finally, here's the docker logs for the container, if you'd like to see anything or lack thereof (once again, passwords have been substituted with *):

sudo docker logs blakebot_ark
Starting periodic command scheduler: cron.
_______________________________________

# Ark Server - Sat Oct  8 23:57:07 UTC 2022
# IMAGE_VERSION: '1662440547'
# RUNNING AS USER 'steam' - '1000'
# ARGS:
_______________________________________
Setting up folder and file structure...
Running command 'run' for instance 'main'
2022-10-08 23:57:07: start
2022-10-08 23:57:07: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?SessionName=blakebot\?ServerPassword=*\?ServerAdminPassword=*\?MaxPlayers=20\?OverrideOfficialDifficulty=5.0\?GameModIds\?GameModIds\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -log
2022-10-08 23:57:07: Server PID: 69
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2022-10-08 23:57:28: server is up

I'm willing to provide other info as needed.

FAQ and Common Issues Docs

Description of Issue

Need to improve documentation around image/container setup and maintenance. Could be added as wiki docs to the repo.

See list below for some examples of content that might fit.

Additional Information

Issue #23 - Steam Update Error crash
Issue #3, #15 - Arkmanager Port Setting

run.sh is too slow due to chown inherently taking a long time.

Image Setup Details

  • Image Tag: Latest
  • Docker Host OS: Ubuntu
  • docker run command or docker-compose.yml file: Kubernetes Manifest, not relevant

Description of Issue

the run.sh file uses sudo chown steam:steam -R /ark, which is slow.

It should use `find -not -user steam -not -group steam -exec chown steam:steam -v {} ;

Additional Information

To be fair, I am mounting the /ark directory over NFS.

ark-server-tools update released v1.6.54

Many thanks for providing this image!

Just a friendly FYI that ark-server-tools has released an updated version: v.1.6.54

Normally I'd just wait to get the update without making an issue, but this release has a critical fix for servers that have epic players connecting like mine, namely arkmanager/ark-server-tools@89e80de

Without this commit, the automatic restart script cannot detect when epic players are connected. So if only epic players are connected it will think there are zero players connected, resulting in an immediate restart.

My players have had this happen while flying or exploring in dangerous areas and lost all their stuff, so I'd like to get this release as soon as possible.

Again, many thanks!

Cluster setup - invalid mode

AM trying to setup a cluster server on my Ubuntu machine and keep getting invalid mode:

Root folder

➜  arkserver tree
.
├── data
├── docker-compose.yml
└── docker-compose.yml.old

1 directory, 2 files

log

arkserver docker-compose up -d 
Creating network "arkserver_default" with the default driver
Creating ark_extinction ... 
Creating ark_aberration ... 
Creating ark_extinction ... error
Creating ark_scorched   ... 
Creating ark_ragnarok   ... 
Creating ark_aberration ... error
ERROR: for ark_genesis  Cannot create container for service genesis: invalid mode: /ark

ERROR: for ark_extinction  Cannot create container for service extinction: invalid mode: /ark

Creating ark_ragnarok   ... error
Creating ark_scorched   ... error
ERROR: for ark_ragnarok  Cannot create container for service ragnarok: invalid mode: /cluster

ERROR: for ark_scorched  Cannot create container for service scorched: invalid mode: /home/steam/Steam

ERROR: for genesis  Cannot create container for service genesis: invalid mode: /ark

ERROR: for extinction  Cannot create container for service extinction: invalid mode: /ark

ERROR: for aberration  Cannot create container for service aberration: invalid mode: /home/steam/Steam

ERROR: for ragnarok  Cannot create container for service ragnarok: invalid mode: /cluster

ERROR: for scorched  Cannot create container for service scorched: invalid mode: /home/steam/Steam
ERROR: Encountered errors while bringing up the project.

docker-compose.yml

version: "3.7"

volumes:
  steam:

services:
    scorched:
        image: thmhoag/arkserver
        container_name: ark_scorched
        hostname: scorched
        volumes:
            - './data/ark/scorched_steam:/home/steam/Steam'
            - './data/ark/scorched_arkmanager:/ark'
            - './data/ark/cluster:/cluster'
            - './data/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './data/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27015:27015/udp'
            - '7777:7777/udp'
            - '7778:7778/udp'
            - '32338:32338'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27015
            - am_ark_Port=7778
            # - am_ark_ServerPassword=test
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32338
            - am_ark_ServerAdminPassword=wdv365365
            - am_ark_SessionName=Test - Scorched Earth
            - am_serverMap=ScorchedEarth_P
            - am_ark_AltSaveDirectoryName=ScorchedEarth
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            # - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="lf"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    ragnarok:
        image: thmhoag/arkserver
        container_name: ark_ragnarok
        hostname: ragnarok
        volumes:
            - './data/ark/ragnarok_steam:/home/steam/Steam'
            - './data/ark/ragnarok_arkmanager:/ark'
            - './data/ark/cluster:/cluster'
            - './data/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './data/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27016:27016/udp'
            - '7779:7779/udp'
            - '7780:7780/udp'
            - '32339:32339'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27016
            - am_ark_Port=7780
            # - am_ark_ServerPassword=test
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32339
            - am_ark_ServerAdminPassword=wdv365365
            - am_ark_SessionName=Test - Ragnarok
            - am_serverMap=Ragnarok
            - am_ark_AltSaveDirectoryName=Ragnarok
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            # - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="lf"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    aberration:
        image: thmhoag/arkserver
        container_name: ark_aberration
        hostname: aberration
        volumes:
            - './data/ark/aberration_steam:/home/steam/Steam'
            - './data/ark/aberration_arkmanager:/ark'
            - './data/ark/cluster:/cluster'
            - './data/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './data/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27017:27017/udp'
            - '7781:7781/udp'
            - '7782:7782/udp'
            - '32340:32340'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27017
            - am_ark_Port=7782
            # - am_ark_ServerPassword=test
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32340
            - am_ark_ServerAdminPassword=wdv365365
            - am_ark_SessionName=Test - Aberration
            - am_serverMap=Aberration_P
            - am_ark_AltSaveDirectoryName=Aberration
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            # - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="lf"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    extinction:
        image: thmhoag/arkserver
        container_name: ark_extinction
        hostname: extinction
        volumes:
            - './data/ark/extinction_steam:/home/steam/Steam'
            - './data/ark/extinction_arkmanager:/ark'
            - './data/ark/cluster:/cluster'
            - './data/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './data/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27018:27018/udp'
            - '7783:7783/udp'
            - '7784:7784/udp'
            - '32341:32341'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27018
            - am_ark_Port=7784
            # - am_ark_ServerPassword=test
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32341
            - am_ark_ServerAdminPassword=wdv365365
            - am_ark_SessionName=Test - Extinction
            - am_serverMap=Extinction
            - am_ark_AltSaveDirectoryName=Extinction
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            # - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="lf"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped
    genesis:
        image: thmhoag/arkserver
        container_name: ark_genesis
        hostname: genesis
        volumes:
            - './data/ark/genesis_steam:/home/steam/Steam'
            - './data/ark/genesis_arkmanager:/ark'
            - './data/ark/cluster:/cluster'
            - './data/ark/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './data/ark/Game.ini:/ark/config/Game.ini'
        ports:
            - '27019:27019/udp'
            - '7785:7785/udp'
            - '7786:7786/udp'
            - '32342:32342'
        environment:
            - LC_ALL=C
            - am_ark_QueryPort=27019
            - am_ark_Port=7786
            # - am_ark_ServerPassword=test
            - am_ark_ShowFloatingDamageText=True
            - am_ark_RCONEnabled=True
            - am_ark_RCONPort=32342
            - am_ark_ServerAdminPassword=wdv365365
            - am_ark_SessionName=Test - Genesis
            - am_serverMap=Genesis
            - am_ark_AltSaveDirectoryName=Genesis
            - am_ark_MaxPlayers=10
            - am_arkwarnminutes=0
            # - am_ark_GameModIds=2185399633,2140170832,2227091285,893834064,1404697612,731604991,791674340,670764308,2278341478,2247979980,1251632107
            - am_arkflag_NoTransferFromFiltering=""
            - am_ark_ServerPassword=asdf
            - am_ark_ServerAdminPassword=asdf
            - arkopt_activeevent=TurkeyTrial
            - am_arkopt_clusterid="lf"
            - am_arkopt_ClusterDirOverride="/cluster"
        restart: unless-stopped

Clustering issues

Hi there,

I am using your Docker image in a Compose environment for a few servers that I host for our small Discord community. I am trying to get clustering to work so that we can travel to different servers/maps in the cluster. When we go to an obelisk or drop and select the option to transfer to another server, it successfully presents the other servers in the cluster. When we go to transfer our survivors however, it doesn't show in the list and we have to create a new survivor every time. Would you know why this is?

My Compose file is the following:

---

version: "2"

services:
  theisland:
    container_name: ark_theisland
    image: thmhoag/arkserver
    restart: unless-stopped
    hostname: ark-theisland
    dns: 1.1.1.1
    networks:
      - ark_network
    ports:
      - "7777:7777/udp"
      - "7778:7778/udp"
      - "27015:27015/udp"
    volumes:
      - "/opt/games/ark/theisland/steam:/home/steam/Steam"
      - "/opt/games/ark/theisland/config:/ark"
      - "/opt/games/ark/cluster:/cluster"
    environment:
      - am_ark_SessionName="TheIsland"
      - am_serverMap="TheIsland"
      - am_ark_ServerAdminPassword="somesecurepassword"
      - am_ark_ServerPassword="somesecurepassword"
      - am_ark_MaxPlayers=20
      - am_ark_Port=7777
      - am_ark_QueryPort=27015
      - am_arkopt_clusterid="somethingsecret"
      - am_arkopt_ClusterDirOveride="/cluster"
      - am_arkflag_NoTransferFromFiltering=""
      - am_ark_AltSaveDirectoryName="theisland"
      - am_ark_PreventDownloadSurvivors="False"
      - am_ark_PreventDownloadItems="False"
      - am_ark_PreventDownloadDinos="False"
      - am_ark_PreventUploadSurvivors="False"
      - am_ark_PreventUploadItems="False"
      - am_ark_PreventUploadDinos="False"

  ragnarok:
    container_name: ark_ragnarok
    image: thmhoag/arkserver
    restart: unless-stopped
    hostname: ark-ragnarok
    dns: 1.1.1.1
    networks:
      - ark_network
    ports:
      - "7779:7779/udp"
      - "7780:7780/udp"
      - "27016:27016/udp"
    volumes:
      - "/opt/games/ark/ragnarok/steam:/home/steam/Steam"
      - "/opt/games/ark/ragnarok/config:/ark"
      - "/opt/games/ark/cluster:/cluster"
    environment:
      - am_ark_SessionName="Ragnarok"
      - am_serverMap="Ragnarok"
      - am_ark_ServerAdminPassword="somesecurepassword"
      - am_ark_ServerPassword="somesecurepassword"
      - am_ark_MaxPlayers=20
      - am_ark_Port=7778
      - am_ark_QueryPort=27016
      - am_arkopt_clusterid="somethingsecret"
      - am_arkopt_ClusterDirOveride="/cluster"
      - am_arkflag_NoTransferFromFiltering=""
      - am_ark_AltSaveDirectoryName="ragnarok"
      - am_ark_PreventDownloadSurvivors="False"
      - am_ark_PreventDownloadItems="False"
      - am_ark_PreventDownloadDinos="False"
      - am_ark_PreventUploadSurvivors="False"
      - am_ark_PreventUploadItems="False"
      - am_ark_PreventUploadDinos="False"

  aberration:
    container_name: ark_aberration
    image: thmhoag/arkserver
    restart: unless-stopped
    hostname: ark-aberration
    dns: 1.1.1.1
    networks:
      - ark_network
    ports:
      - "7781:7781/udp"
      - "7782:7782/udp"
      - "27017:27017/udp"
    volumes:
      - "/opt/games/ark/aberration/steam:/home/steam/Steam"
      - "/opt/games/ark/aberration/config:/ark"
      - "/opt/games/ark/cluster:/cluster"
    environment:
      - am_ark_SessionName="Aberration"
      - am_serverMap="Aberration_P"
      - am_ark_ServerAdminPassword="somesecurepassword"
      - am_ark_ServerPassword="somesecurepassword"
      - am_ark_MaxPlayers=20
      - am_ark_Port=7779
      - am_ark_QueryPort=27017
      - am_arkopt_clusterid="somethingsecret"
      - am_arkopt_ClusterDirOveride="/cluster"
      - am_arkflag_NoTransferFromFiltering=""
      - am_ark_AltSaveDirectoryName="aberration"
      - am_ark_PreventDownloadSurvivors="False"
      - am_ark_PreventDownloadItems="False"
      - am_ark_PreventDownloadDinos="False"
      - am_ark_PreventUploadSurvivors="False"
      - am_ark_PreventUploadItems="False"
      - am_ark_PreventUploadDinos="False"

networks:
  ark_network:
    driver: bridge
    driver_opts:
      com.docker.network.enable_ipv6: "false"
    ipam:
      driver: default
      config:
        - subnet: 192.168.0.0/24
          gateway: 192.168.0.1

I've also ensured that the common cluster directory is writable by the Docker container steam user UID/GID.

Any assistance here would be greatly appreciated.

Container exits after first crontab run

Image Setup Details

  • Image Tag: thmhoag/arkserver
  • Docker Host OS: Debian
  • docker run command or docker-compose.yml file:
    docker run -d \ -v steam:/home/steam/Steam \ # mounted so that workshop (mod) downloads are persisted -v ark:/ark \ # mounted as the directory to contain the server/backup/log/config files -p 27015:27015 -p 27015:27015/udp \ # steam query port -p 7778:7778 -p 7778:7778/udp \ # gameserver port -p 7777:7777 -p 7777:7777/udp \ # gameserver port thmhoag/arkserver

Description of Issue

I pulled the latest image yesterday and used it to setup an Ark-Server. To my suprise: After the first cron run of arkmanager restart --warn --saveworld the container shutdown. Its probably because the $arkmanpid in the run.sh script is not available anymore.
I can reproduce the issue with a simple arkmanager restart command inside the container.

Additional Information

Suggestion for a quick workaround: Put an endless loop at the end of the run.sh script. Or do it like suggested in https://stackoverflow.com/questions/25775266/how-to-keep-docker-container-running-after-starting-services.

GameUserSettings.ini

Image Setup Details

version: '2'
services:
ark:
image: thmhoag/arkserver
container_name: ark
network_mode: bridge
restart: always
ports:
- 7777:7777
- 7777:7777/udp
- 7778:7778
- 7778:7778/udp
- 27015:27015
- 27015:27015/udp
volumes:
- ark:/ark
- ark-steam:/home/steam
environment:
- TZ=America/Chicago
- am_ark_SessionName=redac
- am_serverMap=TheIsland
- am_ark_ServerPassword=redac
- am_ark_ServerAdminPassword=redac
- am_ark_MaxPlayers=1
- am_ark_QueryPort=27015
- am_ark_Port=7778
- am_ark_RCONPort=32330
- am_arkwarnminutes=15
- am_arkAutoUpdateOnStart=true
- am_arkBackupPreUpdate=true
- am_arkMaxBackupSizeMB=500
- am_arkflag_crossplay=false
- am_arkflag_NoBattlEye=true
- am_ark_GameModIds=111111111,566885854,731604991,761535755,821530042,889745138,1404697612

Description of Issue

Where do I place an edited copy of GameUserSettings.ini so that is gets loaded? I've tried /ark/config/, ark/server/ShooterGame/config/ and neither work. Can't find anywhere else to put it.

Additional Information

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

###########################################################################

Ark Server - Sat Jun 20 20:47:02 UTC 2020

###########################################################################

Ensuring correct permissions...

Cleaning up any leftover arkmanager files...

Creating arkmanager.cfg from environment variables...

No game files found. Installing...

Creating crontab...

Starting cron service...

  • Starting periodic command scheduler cron

...done.

Loading crontab...

Save file validation is not enabled.

Backup on start is not enabled.

Running command 'start' for instance 'main'

[ WARN ] Your ARK server exec could not be found.

Checking for updates before starting

Checking for update; PID: 46

sed: can't read /ark/server/steamapps/appmanifest_376030.acf: No such file or directory

Copying to staging directory

cp: cannot stat '/ark/server/Engine/.': No such file or directory

cp: cannot stat '/ark/server/linux64/.': No such file or directory

cp: cannot stat '/ark/server/ShooterGame/Content/Mods/111111111/.': No such file or directory

cp: cannot stat '/ark/server/ShooterGame/Content/Mods/111111111.mod': No such file or directory

cp: cannot stat '/ark/server/steamapps/.': No such file or directory

Downloading ARK updateExecuting /home/steam/.steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login anonymous +force_install_dir /ark/staging +app_update 376030 +quit

Redirecting stderr to '/home/steam/.steam/logs/stderr.txt'

[ 0%] Checking for available updates...

[----] Verifying installation...

Steam Console Client (c) Valve Corporation

-- type 'quit' to exit --

Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found

OK.

"@NoPromptForPassword" = "1"

Connecting anonymously to Steam Public...Logged in OK

Waiting for user info...OK

Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)

Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)

Update state (0x5) verifying install, progress: 7.93 (1015738408 / 12808440321)

Update state (0x5) verifying install, progress: 14.61 (1871294658 / 12808440321)

Update state (0x5) verifying install, progress: 82.90 (10618201471 / 12808440321)

Update state (0x5) verifying install, progress: 86.58 (11089972111 / 12808440321)

Update state (0x11) preallocating, progress: 8.26 (1058239362 / 12808440321)

Update state (0x11) preallocating, progress: 9.50 (1217413491 / 12808440321)

Update state (0x11) preallocating, progress: 11.31 (1448258352 / 12808440321)

Update state (0x11) preallocating, progress: 12.96 (1659824536 / 12808440321)

Update state (0x11) preallocating, progress: 14.86 (1902703156 / 12808440321)

Update state (0x11) preallocating, progress: 15.16 (1941555744 / 12808440321)

Update state (0x11) preallocating, progress: 49.97 (6400893701 / 12808440321)

Update state (0x11) preallocating, progress: 65.80 (8427386961 / 12808440321)

Update state (0x11) preallocating, progress: 83.36 (10676617049 / 12808440321)

Update state (0x11) preallocating, progress: 84.19 (10783429998 / 12808440321)

Update state (0x11) preallocating, progress: 85.14 (10904723714 / 12808440321)

Update state (0x11) preallocating, progress: 86.25 (11046999495 / 12808440321)

Update state (0x11) preallocating, progress: 87.03 (11146632955 / 12808440321)

Update state (0x11) preallocating, progress: 87.77 (11241954163 / 12808440321)

Update state (0x11) preallocating, progress: 99.69 (12768226904 / 12808440321)

Update state (0x61) downloading, progress: 0.18 (22875584 / 12808440321)

Update state (0x61) downloading, progress: 0.93 (118610302 / 12808440321)

Update state (0x61) downloading, progress: 1.97 (252533350 / 12808440321)

Update state (0x61) downloading, progress: 3.04 (389736638 / 12808440321)

Update state (0x61) downloading, progress: 3.78 (483645544 / 12808440321)

Update state (0x61) downloading, progress: 4.65 (596164799 / 12808440321)

Update state (0x61) downloading, progress: 5.74 (735841915 / 12808440321)

Update state (0x61) downloading, progress: 6.75 (864934936 / 12808440321)

Update state (0x61) downloading, progress: 7.45 (954356463 / 12808440321)

Update state (0x61) downloading, progress: 8.37 (1072215590 / 12808440321)

Update state (0x61) downloading, progress: 8.88 (1137204258 / 12808440321)

Update state (0x61) downloading, progress: 9.02 (1155458819 / 12808440321)

Update state (0x61) downloading, progress: 9.16 (1173521704 / 12808440321)

Update state (0x61) downloading, progress: 9.27 (1186974341 / 12808440321)

Update state (0x61) downloading, progress: 9.42 (1206873561 / 12808440321)

Update state (0x61) downloading, progress: 9.55 (1223581854 / 12808440321)

Update state (0x61) downloading, progress: 9.74 (1247986347 / 12808440321)

Update state (0x61) downloading, progress: 9.92 (1270719115 / 12808440321)

Update state (0x61) downloading, progress: 10.12 (1295618208 / 12808440321)

Update state (0x61) downloading, progress: 10.27 (1314998699 / 12808440321)

Update state (0x61) downloading, progress: 10.54 (1350063594 / 12808440321)

Update state (0x61) downloading, progress: 10.76 (1377990880 / 12808440321)

Update state (0x61) downloading, progress: 10.90 (1396142006 / 12808440321)

Update state (0x61) downloading, progress: 11.09 (1421005346 / 12808440321)

Update state (0x61) downloading, progress: 11.19 (1432921137 / 12808440321)

Update state (0x61) downloading, progress: 11.46 (1467826830 / 12808440321)

Update state (0x61) downloading, progress: 11.63 (1489493898 / 12808440321)

Update state (0x61) downloading, progress: 11.85 (1517316191 / 12808440321)

Update state (0x61) downloading, progress: 12.04 (1542562925 / 12808440321)

Update state (0x61) downloading, progress: 12.19 (1561637784 / 12808440321)

Update state (0x61) downloading, progress: 12.37 (1584337811 / 12808440321)

Update state (0x61) downloading, progress: 12.54 (1606008145 / 12808440321)

Update state (0x61) downloading, progress: 12.84 (1645171955 / 12808440321)

Update state (0x61) downloading, progress: 13.09 (1676286842 / 12808440321)

Update state (0x61) downloading, progress: 13.16 (1685667804 / 12808440321)

Update state (0x61) downloading, progress: 13.36 (1711169440 / 12808440321)

Update state (0x61) downloading, progress: 13.53 (1732652796 / 12808440321)

Update state (0x61) downloading, progress: 13.57 (1738170457 / 12808440321)

Update state (0x61) downloading, progress: 13.70 (1754551585 / 12808440321)

Update state (0x61) downloading, progress: 13.83 (1772044284 / 12808440321)

Update state (0x61) downloading, progress: 13.88 (1778428045 / 12808440321)

Update state (0x61) downloading, progress: 13.98 (1791030747 / 12808440321)

Update state (0x61) downloading, progress: 14.08 (1803245463 / 12808440321)

Update state (0x61) downloading, progress: 14.13 (1809413095 / 12808440321)

Update state (0x61) downloading, progress: 14.20 (1818789827 / 12808440321)

Update state (0x61) downloading, progress: 15.33 (1963022396 / 12808440321)

Update state (0x61) downloading, progress: 16.08 (2059901695 / 12808440321)

Update state (0x61) downloading, progress: 16.53 (2117625192 / 12808440321)

Update state (0x61) downloading, progress: 17.00 (2177857469 / 12808440321)

Update state (0x61) downloading, progress: 17.38 (2225484690 / 12808440321)

Update state (0x61) downloading, progress: 17.86 (2286980857 / 12808440321)

Update state (0x61) downloading, progress: 18.36 (2351165144 / 12808440321)

Update state (0x61) downloading, progress: 18.88 (2417910582 / 12808440321)

Update state (0x61) downloading, progress: 19.38 (2482125464 / 12808440321)

Update state (0x61) downloading, progress: 19.96 (2556803677 / 12808440321)

Update state (0x61) downloading, progress: 20.72 (2653995381 / 12808440321)

Update state (0x61) downloading, progress: 21.26 (2723074162 / 12808440321)

Update state (0x61) downloading, progress: 21.76 (2787310420 / 12808440321)

Update state (0x61) downloading, progress: 22.47 (2877751701 / 12808440321)

Update state (0x61) downloading, progress: 22.90 (2933167271 / 12808440321)

Update state (0x61) downloading, progress: 23.29 (2983017423 / 12808440321)

Update state (0x61) downloading, progress: 23.83 (3052213367 / 12808440321)

Update state (0x61) downloading, progress: 24.42 (3127991445 / 12808440321)

Update state (0x61) downloading, progress: 25.16 (3222350001 / 12808440321)

Update state (0x61) downloading, progress: 25.63 (3283287896 / 12808440321)

Update state (0x61) downloading, progress: 26.24 (3361032178 / 12808440321)

Update state (0x61) downloading, progress: 26.67 (3415841052 / 12808440321)

Update state (0x61) downloading, progress: 27.16 (3479176418 / 12808440321)

Update state (0x61) downloading, progress: 28.00 (3586905412 / 12808440321)

Update state (0x61) downloading, progress: 28.73 (3680402914 / 12808440321)

Update state (0x61) downloading, progress: 29.32 (3755358829 / 12808440321)

Update state (0x61) downloading, progress: 29.78 (3814901165 / 12808440321)

Update state (0x61) downloading, progress: 30.27 (3877591673 / 12808440321)

Update state (0x61) downloading, progress: 30.72 (3935029061 / 12808440321)

Update state (0x61) downloading, progress: 31.25 (4003130533 / 12808440321)

Update state (0x61) downloading, progress: 31.83 (4076304332 / 12808440321)

Update state (0x61) downloading, progress: 32.44 (4154864180 / 12808440321)

Update state (0x61) downloading, progress: 33.01 (4228510747 / 12808440321)

Update state (0x61) downloading, progress: 33.57 (4299852927 / 12808440321)

Update state (0x61) downloading, progress: 34.18 (4377708968 / 12808440321)

Update state (0x61) downloading, progress: 34.96 (4477929491 / 12808440321)

Update state (0x61) downloading, progress: 35.97 (4606959722 / 12808440321)

Update state (0x61) downloading, progress: 36.72 (4702894549 / 12808440321)

Update state (0x61) downloading, progress: 37.29 (4775679226 / 12808440321)

Update state (0x61) downloading, progress: 37.84 (4847021436 / 12808440321)

Update state (0x61) downloading, progress: 38.34 (4910639164 / 12808440321)

Update state (0x61) downloading, progress: 38.81 (4971164826 / 12808440321)

Update state (0x61) downloading, progress: 39.36 (5040822196 / 12808440321)

Update state (0x61) downloading, progress: 39.90 (5110111772 / 12808440321)

Update state (0x61) downloading, progress: 40.50 (5187688912 / 12808440321)

Update state (0x61) downloading, progress: 41.10 (5263899368 / 12808440321)

Update state (0x61) downloading, progress: 41.74 (5345965734 / 12808440321)

Update state (0x61) downloading, progress: 42.33 (5421597185 / 12808440321)

Update state (0x61) downloading, progress: 42.80 (5482317309 / 12808440321)

Update state (0x61) downloading, progress: 43.42 (5561782456 / 12808440321)

Update state (0x61) downloading, progress: 43.85 (5616226872 / 12808440321)

Update state (0x61) downloading, progress: 44.28 (5671427018 / 12808440321)

Update state (0x61) downloading, progress: 44.73 (5729081343 / 12808440321)

Update state (0x61) downloading, progress: 45.17 (5785655603 / 12808440321)

Update state (0x61) downloading, progress: 45.74 (5858049652 / 12808440321)

Update state (0x61) downloading, progress: 46.25 (5923963244 / 12808440321)

Update state (0x61) downloading, progress: 46.75 (5988163015 / 12808440321)

Update state (0x61) downloading, progress: 47.25 (6052176229 / 12808440321)

Update state (0x61) downloading, progress: 47.96 (6142848942 / 12808440321)

Update state (0x61) downloading, progress: 48.59 (6224187408 / 12808440321)

Update state (0x61) downloading, progress: 49.21 (6302433568 / 12808440321)

Update state (0x61) downloading, progress: 49.77 (6375165506 / 12808440321)

Update state (0x61) downloading, progress: 50.19 (6428617031 / 12808440321)

Update state (0x61) downloading, progress: 50.79 (6506012896 / 12808440321)

Update state (0x61) downloading, progress: 51.34 (6575453575 / 12808440321)

Update state (0x61) downloading, progress: 52.09 (6672379043 / 12808440321)

Update state (0x61) downloading, progress: 52.68 (6748093127 / 12808440321)

Update state (0x61) downloading, progress: 53.20 (6814455429 / 12808440321)

Update state (0x61) downloading, progress: 53.85 (6896953154 / 12808440321)

Update state (0x61) downloading, progress: 54.36 (6962133094 / 12808440321)

Update state (0x61) downloading, progress: 54.96 (7040123362 / 12808440321)

Update state (0x61) downloading, progress: 55.75 (7140204815 / 12808440321)

Update state (0x61) downloading, progress: 56.30 (7211297621 / 12808440321)

Update state (0x61) downloading, progress: 56.93 (7291704356 / 12808440321)

Update state (0x61) downloading, progress: 57.40 (7352505858 / 12808440321)

Update state (0x61) downloading, progress: 57.93 (7420408028 / 12808440321)

Update state (0x61) downloading, progress: 58.48 (7490417342 / 12808440321)

Update state (0x61) downloading, progress: 59.02 (7559127011 / 12808440321)

Update state (0x61) downloading, progress: 59.57 (7630006274 / 12808440321)

Update state (0x61) downloading, progress: 60.13 (7701318406 / 12808440321)

Update state (0x61) downloading, progress: 60.68 (7771869463 / 12808440321)

Update state (0x61) downloading, progress: 61.27 (7847866267 / 12808440321)

Update state (0x61) downloading, progress: 61.80 (7915702822 / 12808440321)

Update state (0x61) downloading, progress: 62.33 (7983050553 / 12808440321)

Update state (0x61) downloading, progress: 62.91 (8057354026 / 12808440321)

Update state (0x61) downloading, progress: 63.43 (8124273940 / 12808440321)

Update state (0x61) downloading, progress: 63.96 (8191640645 / 12808440321)

Update state (0x61) downloading, progress: 64.44 (8253219538 / 12808440321)

Update state (0x61) downloading, progress: 64.95 (8319142339 / 12808440321)

Update state (0x61) downloading, progress: 65.46 (8384701514 / 12808440321)

Update state (0x61) downloading, progress: 65.98 (8451470381 / 12808440321)

Update state (0x61) downloading, progress: 66.51 (8518590459 / 12808440321)

Update state (0x61) downloading, progress: 67.08 (8592061809 / 12808440321)

Update state (0x61) downloading, progress: 67.56 (8653395952 / 12808440321)

Update state (0x61) downloading, progress: 68.10 (8722726570 / 12808440321)

Update state (0x61) downloading, progress: 68.70 (8799005991 / 12808440321)

Update state (0x61) downloading, progress: 69.04 (8842350989 / 12808440321)

Update state (0x61) downloading, progress: 69.51 (8903364416 / 12808440321)

Update state (0x61) downloading, progress: 70.19 (8989968162 / 12808440321)

Update state (0x61) downloading, progress: 70.97 (9090739291 / 12808440321)

Update state (0x61) downloading, progress: 71.59 (9169424942 / 12808440321)

Update state (0x61) downloading, progress: 72.15 (9241254324 / 12808440321)

Update state (0x61) downloading, progress: 72.77 (9320251939 / 12808440321)

Update state (0x61) downloading, progress: 73.34 (9393585946 / 12808440321)

Update state (0x61) downloading, progress: 73.82 (9455718042 / 12808440321)

Update state (0x61) downloading, progress: 74.33 (9521044494 / 12808440321)

Update state (0x61) downloading, progress: 74.90 (9593200595 / 12808440321)

Update state (0x61) downloading, progress: 75.38 (9654558729 / 12808440321)

Update state (0x61) downloading, progress: 76.01 (9735549979 / 12808440321)

Update state (0x61) downloading, progress: 76.51 (9799657871 / 12808440321)

Update state (0x61) downloading, progress: 76.97 (9859116161 / 12808440321)

Update state (0x61) downloading, progress: 77.54 (9931060044 / 12808440321)

Update state (0x61) downloading, progress: 78.20 (10015899521 / 12808440321)

Update state (0x61) downloading, progress: 78.79 (10091459177 / 12808440321)

Update state (0x61) downloading, progress: 79.35 (10163393707 / 12808440321)

Update state (0x61) downloading, progress: 79.84 (10226663450 / 12808440321)

Update state (0x61) downloading, progress: 80.41 (10299348004 / 12808440321)

Update state (0x61) downloading, progress: 80.89 (10360634366 / 12808440321)

Update state (0x61) downloading, progress: 81.33 (10417378719 / 12808440321)

Update state (0x61) downloading, progress: 81.80 (10477841968 / 12808440321)

Update state (0x61) downloading, progress: 82.28 (10539342318 / 12808440321)

Update state (0x61) downloading, progress: 82.82 (10608324807 / 12808440321)

Update state (0x61) downloading, progress: 83.22 (10659478091 / 12808440321)

Update state (0x61) downloading, progress: 83.72 (10723482444 / 12808440321)

Update state (0x61) downloading, progress: 84.25 (10790553368 / 12808440321)

Update state (0x61) downloading, progress: 84.81 (10863101811 / 12808440321)

Update state (0x61) downloading, progress: 85.26 (10920331405 / 12808440321)

Update state (0x61) downloading, progress: 85.79 (10988104238 / 12808440321)

Update state (0x61) downloading, progress: 86.28 (11051659875 / 12808440321)

Update state (0x61) downloading, progress: 86.74 (11109681911 / 12808440321)

Update state (0x61) downloading, progress: 87.16 (11163808803 / 12808440321)

Update state (0x61) downloading, progress: 87.61 (11221002939 / 12808440321)

Update state (0x61) downloading, progress: 88.09 (11283283858 / 12808440321)

Update state (0x61) downloading, progress: 88.54 (11340459744 / 12808440321)

Update state (0x61) downloading, progress: 89.01 (11400679645 / 12808440321)

Update state (0x61) downloading, progress: 89.50 (11463397888 / 12808440321)

Update state (0x61) downloading, progress: 90.13 (11544280031 / 12808440321)

Update state (0x61) downloading, progress: 90.79 (11629081767 / 12808440321)

Update state (0x61) downloading, progress: 91.31 (11695104160 / 12808440321)

Update state (0x61) downloading, progress: 91.84 (11762766610 / 12808440321)

Update state (0x61) downloading, progress: 92.44 (11840237840 / 12808440321)

Update state (0x61) downloading, progress: 93.13 (11928997761 / 12808440321)

Update state (0x61) downloading, progress: 93.75 (12008334414 / 12808440321)

Update state (0x61) downloading, progress: 94.31 (12079380770 / 12808440321)

Update state (0x61) downloading, progress: 94.92 (12157463112 / 12808440321)

Update state (0x61) downloading, progress: 95.44 (12223765255 / 12808440321)

Update state (0x61) downloading, progress: 95.98 (12293259760 / 12808440321)

Update state (0x61) downloading, progress: 96.45 (12353177002 / 12808440321)

Update state (0x61) downloading, progress: 96.93 (12415564296 / 12808440321)

Update state (0x61) downloading, progress: 97.39 (12474402225 / 12808440321)

Update state (0x61) downloading, progress: 97.88 (12537428914 / 12808440321)

Update state (0x61) downloading, progress: 98.36 (12598159362 / 12808440321)

Update state (0x61) downloading, progress: 98.87 (12663211775 / 12808440321)

Update state (0x61) downloading, progress: 99.40 (12731809467 / 12808440321)

Update state (0x61) downloading, progress: 99.89 (12794111147 / 12808440321)

Update state (0x101) committing, progress: 11.06 (1416372285 / 12808440321)

Update state (0x101) committing, progress: 15.12 (1936022763 / 12808440321)

Update state (0x101) committing, progress: 54.58 (6990808541 / 12808440321)

Update state (0x101) committing, progress: 83.60 (10707702455 / 12808440321)

Update state (0x101) committing, progress: 86.48 (11076261856 / 12808440321)

Update state (0x101) committing, progress: 99.69 (12769325672 / 12808440321)

Success! App '376030' fully installed.

CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded.

The server is already stopped

Applying update from staging directory

Update to 5192336 complete

The server is starting...

2020-06-20 20:55:10: start

2020-06-20 20:55:10: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?RCONPort=32330?SessionName=Ark\ Server?MaxPlayers=70?QueryPort=27015?ServerAdminPassword=k3yb04rdc4t?Port=7777?RCONEnabled=True?ServerPassword?listen -log

2020-06-20 20:55:10: Server PID: 413

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

Setting breakpad minidump AppID = 346110

/usr/local/bin/arkmanager: line 911: 413 Killed "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

2020-06-20 21:05:41: Bad PID ''; expected '413'

2020-06-20 21:05:41: exited with status 0

###########################################################################

Ark Server - Sun Jun 21 13:35:14 UTC 2020

###########################################################################

Ensuring correct permissions...

Cleaning up any leftover arkmanager files...

Creating arkmanager.cfg from environment variables...

Starting cron service...

  • Starting periodic command scheduler cron

...done.

Loading crontab...

Save file validation is not enabled.

"Backup on start is not enabled.

Running command 'start' for instance 'main'

Checking for updates before starting

Checking for update; PID: 41

Your server is already up to date! The most recent version is 5192336.

The server is starting...

2020-06-21 13:35:24: start

2020-06-21 13:35:24: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?RCONPort=32330?SessionName=Ark\ Server?MaxPlayers=70?QueryPort=27015?ServerAdminPassword=k3yb04rdc4t?Port=7777?RCONEnabled=True?ServerPassword?listen -log

2020-06-21 13:35:24: Server PID: 128

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed."

Image Setup Details

  • Image Tag:
    OS: Windows 10
  • Docker Host OS:
    Docker Desktop

Docker command:
docker run -d -v steam:/home/steam/Steam -v ark:/ark -p 27015:27015 -p 27015:27015/udp -p 7778:7778 -p 7778:7778/udp -p 7777:7777 -p 7777:7777/udp thmhoag/arkserver

Description of issue
Server is not starting when used with the docker command. Getting an error about steam not being running - "[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed."

Error connecting to server: Connection refused at -e line 33.

Image Setup Details

thmhoag/arkserver:latest

Debian 9.12

  • docker run command or docker-compose.yml file:
    sudo docker run -d -v steam:/home/steam/Steam -v /media/games/arkServer:/ark -e am_ark_QueryPort=27016 -p 27016:27016/udp -e am_ark_Port=7768 -p 7767:7767/udp -p 32331:32330 -e am_ark_SessionName=Session -e am_ark_ServerAdminPassword=password -e am_serverMap=Ragnarok -e am_ark_AltSaveDirectoryName=Secondary -e am_arkopt_activeevent="Summer" -e am_ark_MaxPlayers="5" -e am_arkopt_clusterid="Cluster" -e am_arkGameUserSettingsIniFile=/ark/server/ShooterGame/Saved/Secondary/GameUserSettings.ini -e am_arkGameIniFile=/ark/server/ShooterGame/Saved/Secondary/Game.ini --name Secondary thmhoag/arkserver
    

made a lot of changes to the container since the initial run command

Description of Issue

I'm unable to see/connect to my second server. First server is running fine with similar settings. When trying to run command saveworld I'm presented with the following error:

steam@f351eeb4c474:~$ arkmanager saveworld
Running command 'saveworld' for instance 'main'
Error connecting to server: Connection refused at -e line 33.

I'm unsure what this line 33 is referring to, that information on where to look would be helpful itself.
I've checked my arkmanager.cfg and it only has 23 lines.

UPDATE:
I left the server running and noticed that it crashed with the following:


/usr/local/bin/arkmanager: line 1279:   141 Segmentation fault      (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

2020-07-31 03:31:21: exited with status 0

Will update as I look in further

UPDATE:

Looks like there's 3 separate issues. the "arkmanager saveworld" command is no longer working in either container
I can't see my secondary server despite the container running and "arkmanager status" returning online
and eventually the secondary server crashes due to segementation fault.
I apologise for this issue getting so messy.

usr/local/bin/arkmanager: line 1208: /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer: Permission denied bad pid

I had a server going a week ago until it started shutting down as soon as it started up. This started a day after the server update so im not sure if its related. Now I have a fresh install of openmediavault, docker and portainer. Im setting server up from scratch and unable to get server instance started. This is the message im getting.

###########################################################################

Ark Server - Tue Jul 21 01:37:51 UTC 2020

###########################################################################

Ensuring correct permissions...

Cleaning up any leftover arkmanager files...

Creating arkmanager.cfg from environment variables...

Starting cron service...

  • Starting periodic command scheduler cron

    ...done.

Loading crontab...

Save file validation is not enabled.

Backup on start is not enabled.

Running command 'start' for instance 'main'

Checking for updates before starting

Checking for update; PID: 40

Your server is already up to date! The most recent version is 5302515.

The server is starting...

07-21 01:38:12: start

2020-07-21 01:38:12: Running /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?RCONPort=32330?SessionName=Ark\ Server?MaxPlayers=70?QueryPort=27015?ServerAdminPassword=k3yb04rdc4t?Port=7777?RCONEnabled=True?ServerPassword?listen -log

/usr/local/bin/arkmanager: line 1208: /ark/server/ShooterGame/Binaries/Linux/ShooterGameServer: Permission denied

2020-07-21 01:38:12: Server PID: 128

2020-07-21 01:38:17: Bad PID ''; expected '128'

2020-07-21 01:38:17: exited with status 0

Game.ini

Hi,

It seems like the gameusersettings.ini are applied on my dedicated server, but no matter what I do the Game.ini changes are just not working.

[/script/shootergame.shootergamemode]
MatingIntervalMultiplier=0.1
EggHatchSpeedMultiplier=20
BabyMatureSpeedMultiplier=10
BabyCuddleIntervalMultiplier=0.1

What am I missing here? FezVrasta's configuration parameter's again point to changes that has to put in gameusersettings.ini

Multiple Server instances

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Linux Ubuntu
  • docker run command or docker-compose.yml file:
    version: '3.3'
    

services:
arkserver:
volumes:
- /var/data/arkcrystalisles/steam:/home/steam/Steam
- /var/data/arkcrystalisles/ark:/ark
- /var/data/clusters:/ark/server/ShooterGame/Saved/clusters
ports:
- 27017:27017
- 27017:27017/udp
- 7788:7788
- 7788:7788/udp
- 7789:7789
- 7789:7789/udp
- 7790:7790
- 7790:7790/udp
container_name: arkcrystalisles
environment:
- am_ark_QueryPort=27017
- am_ark_SessionName=6/20 [Cyrstal Isles] 20x All [MetalHeads]
- am_ark_Port=7789
- am_serverMap=CrystalIsles
image: thmhoag/arkserver
```

Description of Issue

Description of issue
Getting a time out when running multiple instances of the docker image. Opened all the ports in firewall. Redirected previous and next port from ark_Port. Does anybody have this problem? Is this an ark server problem or a configuration? Default Values worked for port 7777 and 7778 and query port 27015 but no new instances can be used on the same host

Additional Information

container is failing with a segfault

Image Setup Details

  • Image Tag:

docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
thmhoag/arkserver latest 6a8bf3f18366 9 months ago 845MB

  • Docker Host OS:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

  • docker run command or docker-compose.yml file:
    version: '3'
    
    services:
    your-compose-file-here:
        image: thmhoag/arkserver:0.0.0
    

docker run -d --name ark_TheIsland -v steam:/home/steam/Steam -v ark:/ark -p 27015:27015 -p 27015:27015/udp -p 7778:7778 -p 7778:7778/udp -p 7777:7777 -p 7777:7777/udp -p 32330:32330 -p 32330:32330/udp --env-file ark.env thmhoag/arkserver

Description of Issue

Description of issue

Container is failing with a segfault

Shutdown handler: initalize.
Using binned.
4.5.1-0+UE4 7038 3077 404 10
CtrlCHandler: Signal=2
/usr/local/bin/arkmanager: line 963: 124 Aborted (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

Additional Information

Additional information

Steam Update Error crash

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: Ubuntu Server 16.04
  • docker run command or docker-compose.yml file:
    $ docker run -d
    -v steam:/home/steam/Steam \ # mounted so that workshop (mod) downloads are persisted
    -v ark:/ark \ # mounted as the directory to contain the server/backup/log/config files
    -p 27015:27015 -p 27015:27015/udp \ # steam query port
    -p 7778:7778 -p 7778:7778/udp \ # gameserver port
    -p 7777:7777 -p 7777:7777/udp \ # gameserver port
    --restart always
    thmhoag/arkserver

Description of Issue

A few seconds after I start the container it crashes with: Error! App '376030' state is 0x202 after update job.

I have nothing configured, I just downloaded the image and started it.

Additional Information

Full Log:

###########################################################################
# Ark Server -  Fri Aug 28 10:32:54 UTC 2020
###########################################################################
Ensuring correct permissions...
Cleaning up any leftover arkmanager files...
Creating arkmanager.cfg from environment variables...
No game files found. Installing...
Starting cron service...
 * Starting periodic command scheduler cron
   ...done.
Loading crontab...
Save file validation is not enabled.
Backup on start is not enabled.
Running command 'start' for instance 'main'
[  WARN  ] 	Your ARK server exec could not be found.
Checking for updates before starting
Checking for update; PID: 43
sed: can't read /ark/server/steamapps/appmanifest_376030.acf: No such file or directory
Downloading ARK updateExecuting /home/steam/.steam/steamcmd/steamcmd.sh +@NoPromptForPassword 1 +login anonymous +force_install_dir /ark/staging +app_update 376030 +quit
Redirecting stderr to '/home/steam/.steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...Warning: failed to init SDL thread priority manager: SDL not found
OK.
"@NoPromptForPassword" = "1"
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x5) verifying install, progress: 8.80 (1135474594 / 12896302610)
 Update state (0x5) verifying install, progress: 13.22 (1704480165 / 12896302610)
 Update state (0x5) verifying install, progress: 15.43 (1990182830 / 12896302610)
 Update state (0x5) verifying install, progress: 83.05 (10710148050 / 12896302610)
 Update state (0x5) verifying install, progress: 85.90 (11077819081 / 12896302610)
 Update state (0x5) verifying install, progress: 98.79 (12740628701 / 12896302610)
Error! App '376030' state is 0x202 after update job.
Update download interrupted
The server is starting...
An update is currently in progress.  Start aborted

GameUserSettings.ini from /ark/config is not well linked

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: linux, Ubuntu 20.04

Description of Issue

GameUserSettings.ini located in volume ark at
/ark/config/GameUserSettings.ini
is first symbolic linked by run.sh but then is overwritten by arkmanager at startup

The only solution seems to use env variables.

How can i set an env variable for this?

[MessageOfTheDay]
Duration=30
Message="Blah"

Crossplay with epic games version

Image Setup Details

  • Image Tag: latest
  • Docker Host OS: linux, Ubuntu 18.04
  • **docker run -v steam:/opt/ark/steam -v ark:/opt/ark/server -p 27015:27015 -p 27015:27015/udp -p 7778:7778 -p 7778:7778/udp -p 7777:7777 -p 7777:7777/udp -e am_ark_SessionName=Dengland -e am_ark_ServerAdminPassword="secret :)" -e am_ark_ServerPasswort="secret :)" --restart=always -d thmhoag/arkserver

Description of Issue

My friend can not join using the epic game store version of ark. Probably the -crossplay parameter needs to be passed, but i could not figure a way out to do so.
Connecting via Steam works.

mkdir: cannot create directory '/ark/log': Permission denied

Am trying to set up a cluster server but when i spin it up i get Permission denied on /ark/log, any idea to solve this?

docker-compose -up

Creating network "ark_cluster_default" with the default driver
Creating ark_theisland ... done
Creating ark_scorched  ... done
Attaching to ark_scorched, ark_theisland
ark_scorched | ###########################################################################
ark_theisland | ###########################################################################
ark_theisland | # Ark Server -  Thu Jun 24 08:07:48 UTC 2021
ark_theisland | ###########################################################################
ark_theisland | Ensuring correct permissions...
ark_scorched | # Ark Server -  Thu Jun 24 08:07:48 UTC 2021
ark_scorched | ###########################################################################
ark_scorched | Ensuring correct permissions...
ark_scorched | Cleaning up any leftover arkmanager files...
ark_scorched | mkdir: cannot create directory '/ark/log': Permission denied
ark_theisland | Cleaning up any leftover arkmanager files...
ark_theisland | mkdir: cannot create directory '/ark/log': Permission denied
.
├── config
│   ├── cluster
│   ├── Game.ini
│   ├── GameUserSettings.ini
│   ├── scorched_arkmanager
│   │   └── config
│   │       ├── Game.ini
│   │       └── GameUserSettings.ini
│   ├── scorched_steam
│   ├── theisland_arkmanager
│   │   └── config
│   │       ├── Game.ini
│   │       └── GameUserSettings.ini
│   └── theisland_steam
├── docker-compose.yml
├── docker-compose.yml-bk
├── scorched.env
└── theisland.env

docker-compose.yml

version: "3.7"

volumes:
  steam:

services:
    theisland:
        image: thmhoag/arkserver
        container_name: ark_theisland
        hostname: theisland
        volumes:
            - './config/theisland_steam:/home/steam/Steam'
            - './config/theisland_arkmanager:/ark'
            - './config/cluster:/cluster'
            - './config/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './config/Game.ini:/ark/config/Game.ini'
        ports:
            - '27015:27015/udp'
            - '7777:7777/udp'
            - '7778:7778/udp'
            - '32342:32342'
        env_file:
            - theisland.env
        restart: unless-stopped
    scorched:
        image: thmhoag/arkserver
        container_name: ark_scorched
        hostname: scorched
        volumes:
            - './config/scorched_steam:/home/steam/Steam'
            - './config/scorched_arkmanager:/ark'
            - './config/cluster:/cluster'
            - './config/GameUserSettings.ini:/ark/config/GameUserSettings.ini'
            - './config/Game.ini:/ark/config/Game.ini'
        ports:
            - '27016:27016/udp'
            - '7785:7785/udp'
            - '7786:7786/udp'
            - '32338:32338'
        env_file:
            - scorched.env
        restart: unless-stopped

theisland.env

LC_ALL=C
am_ark_QueryPort=27015
am_ark_Port=7778
am_ark_ShowFloatingDamageText=True
am_ark_RCONEnabled=True
am_ark_RCONPort=32342
am_ark_SessionName=C4E.dev The Island
am_serverMap=TheIsland
am_ark_AltSaveDirectoryName=TheIsland
am_ark_MaxPlayers=20
am_arkwarnminutes=0
#am_ark_GameModIds=
am_arkflag_NoTransferFromFiltering=""
am_ark_ServerPassword=asd
am_ark_ServerAdminPassword=asd
arkopt_activeevent=TurkeyTrial
am_arkopt_clusterid="c4e"
am_arkopt_ClusterDirOverride="/cluster"

scorched.env

LC_ALL=C
am_ark_QueryPort=27016
am_ark_Port=7778
am_ark_ShowFloatingDamageText=True
am_ark_RCONEnabled=True
am_ark_RCONPort=32338
am_ark_SessionName=C4E.dev Scorched Earth
am_serverMap=ScorchedEarth_P
am_ark_AltSaveDirectoryName=ScorchedEarth
am_ark_MaxPlayers=20
am_arkwarnminutes=0
#am_ark_GameModIds=
am_arkflag_NoTransferFromFiltering=""
am_ark_ServerPassword=asd
am_ark_ServerAdminPassword=asdf
arkopt_activeevent=TurkeyTrial
am_arkopt_clusterid="c4e"
am_arkopt_ClusterDirOverride="/cluster"

SteamCMD needs a subfolder called steamapps

Description of Issue

Steam released a new update and install directory now needs a subfolder called steamapps.
If you dont have a subfolder called steamapps, you will get an error:
ERROR! Failed to install app '376030' (Disk write failure)

Additional Information

Reported this issue at arkmanager/ark-server-tools#1184 too

Temporary fix is to create a folder under staging with the name steamapps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.