Acekorneya / Ark-Survival-Ascended-Server

Ark Survival Ascended Server Docker Image for running a server on Linux
MIT License
129 stars 22 forks source link

Updating to version 2.0 causes server to reset #39

Closed vertyco closed 7 months ago

vertyco commented 7 months ago

I've been using docker-compose to run the servers for a while (havent used POK-Manager.sh)

I recently changed acekorneya/asa_server:latest to acekorneya/asa_server:2_0_latest and redeployed and when I did that the server started up at day 1 with everyone's stats reset including the whole map.

Checking the map files they are still there, and reverting back to acekorneya/asa_server:latest and redeploying again made things go back to normal...

Changing the container-side volume mounts to the ones in the new docker-compose also fails to start the server entirely, is there an update process we need to follow or something? Any ideas why this would be happening?

Here is my docker-compose for reference:

version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_island_pve
    restart: unless-stopped
    environment:
      - PUID=1000               
      - PGID=1000         
      - TZ=America/New_York      
      - BATTLEEYE=TRUE
      - RCON_ENABLED=TRUE
      - DISPLAY_POK_MONITOR_MESSAGE=FALSE
      - MAP_NAME=TheIsland
      - SESSION_NAME=Vertyco PvE (Slightly Boosted)
      - SERVER_ADMIN_PASSWORD=REDACTED
      - ASA_PORT=7797
      - RCON_PORT=27050
      - MAX_PLAYERS=100
      - CLUSTER_ID=pvecluster
      - UPDATE_SERVER=TRUE
      - CHECK_FOR_UPDATE_INTERVAL=24
      - UPDATE_WINDOW_MINIMUM_TIME=12:00 AM
      - UPDATE_WINDOW_MAXIMUM_TIME=11:59 PM
      - RESTART_NOTICE_MINUTES=30
      - MOD_IDS=928988
      - CUSTOM_SERVER_ARGS=-ServerRCONOutputTribeLogs
      - ENABLE_MOTD=TRUE
      - MOTD=<RichColor Color="0,1,0,1">Servers wipe every 3 months (Next wipe January 6th)</>\n<RichColor Color="1,0,1,1">Exp x4 - Weight x3.5 - Gather x3 - Taming x7.5 - Breeding 90x</>\n\n<RichColor Color="1,0.65,0,1">Join the Discord for events and shop</>\n<RichColor Color="1,0,0,1">discord.gg/</><RichColor Color="0,1,0,1">vertyco</>
      - MOTD_DURATION=30
    ports:
      - "7797:7797/tcp"
      - "7797:7797/udp"
      - "27050:27050/tcp"
    volumes:
      - "/home/vert/pve/game:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
      - "/home/vert/pve/server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
      - "/home/vert/pve/cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    mem_limit: 16G 

Context

Acekorneya commented 7 months ago

Yeah you can't change it just like that it won't work... version 2.0 uses proton instead wine for launching the application so the folder structure is all different so yeah it won't be compatible you would just need to do the step mention in the read me and just transfer your savedArks folder to the new save folder

The reason I left the older image was for people who are still using the older version of the script but if you want to use the new version you would just need to transfer the savedArks folder

vertyco commented 7 months ago

Ah okay got it figured out, thank you for the quick response!