Jump to content

[ASA][Linux] Did ASA comes with dedicated Linux Server app?


Alvaroggm123
 Share

Recommended Posts

Hello everyone, did everyone know a way to host a dedicated server on Linux (Ubuntu 20.04) for ASA, when I try with the 2430930 app, it comes with the Windows binaries. 

image.png.f43f09c34426d442f8305287822b8f6d.png

For the log:
+ My server works without GUI, I use SSH to manage my instances.
+ I already have ASA on Steam.
+ I try with the 
+ I'll like to stay at Linux

 

Thanks 

Link to comment
Share on other sites

If you're looking to run your own Ark: Survival Ascended server,is designed for a straightforward and hassle-free server setup. using docker and works on linux and is ready for cluster when they release 
github: https://github.com/Acekorneya/Ark-Survival-Ascended-Server
docker hub: https://hub.docker.com/r/acekorneya/asa_server

Edited by acekorneya
Link to comment
Share on other sites

On 10/31/2023 at 6:19 PM, acekorneya said:

If you're looking to run your own Ark: Survival Ascended server,is designed for a straightforward and hassle-free server setup. using docker and works on linux and is ready for cluster when they release 
github: https://github.com/Acekorneya/Ark-Survival-Ascended-Server
docker hub: https://hub.docker.com/r/acekorneya/asa_server

Many thanks for the links.

 

I'm trying to use the bottom one.

I have git cloned to a custom directory named
/storage2/arkserver/Ark-Survival-Ascended-Server/

in there is docker-compose.yml (you had it as yaml before)

 

When trying to run "docker compose up", i am getting

no configuration file provided: not found
 

I am currently cd'ed into the location.

Even if I try

docker-compose -f /storage2/arkserver/Ark-Survival-Ascended-Server/docker-compose.yml up -d
I still get the same error.


Do you have any advice with that please?

(I'd like to run the server from a secondary location which is named /storage2/  Not sure what needs configuring for that)

Edited by ColonelBlack
Link to comment
Share on other sites

2 hours ago, ColonelBlack said:

Many thanks for the links.

 

I'm trying to use the bottom one.

I have git cloned to a custom directory named
/storage2/arkserver/Ark-Survival-Ascended-Server/

in there is docker-compose.yml (you had it as yaml before)

 

When trying to run "docker compose up", i am getting

no configuration file provided: not found
 

I am currently cd'ed into the location.

Even if I try

docker-compose -f /storage2/arkserver/Ark-Survival-Ascended-Server/docker-compose.yml up -d
I still get the same error.


Do you have any advice with that please?

(I'd like to run the server from a secondary location which is named /storage2/  Not sure what needs configuring for that)

all you have to do is make a docker-compose.yaml (yeah it was a typo mistake my bad) and have this inside that file but make sure to change the session name etc..

version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1001
      - PGID=1001
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - ASA_PORT=7777
      - QUERY_PORT=27015
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
      - "27015:27015/tcp"
      - "27015:27015/udp"
    volumes:
      - "./ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
      - "./ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
      - "./Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    memswap_limit: 16G
    mem_limit: 12G   

 

Link to comment
Share on other sites

1 hour ago, acekorneya said:

all you have to do is make a docker-compose.yaml (yeah it was a typo mistake my bad) and have this inside that file but make sure to change the session name etc..

version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1001
      - PGID=1001
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - ASA_PORT=7777
      - QUERY_PORT=27015
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
      - "27015:27015/tcp"
      - "27015:27015/udp"
    volumes:
      - "./ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
      - "./ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
      - "./Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    memswap_limit: 16G
    mem_limit: 12G   

 

Thanks for your reply again.

 

I think from previous testing "docker compose up" will work if I git clone to my /home/ directory. so /home/myuser/

But if I git clone to a custom directory such as my /storage2/arkserver/ it doesn't work.

Not sure what the resolution is for that. The account will be the same, so I wouldn't expect it to be a permission issue.

Also, in regards to the Volumes section in the .yml, I'm not sure if I need to modify it so it's downloads/stores the server on my /storage2/ drive.

I'm low on space on the primary, so I have a secondary drive, previsioned as /storage2/

 

Sorry to possibly ask basic Linux stuff here.

Link to comment
Share on other sites

39 minutes ago, ColonelBlack said:

Thanks for your reply again.

 

I think from previous testing "docker compose up" will work if I git clone to my /home/ directory. so /home/myuser/

But if I git clone to a custom directory such as my /storage2/arkserver/ it doesn't work.

Not sure what the resolution is for that. The account will be the same, so I wouldn't expect it to be a permission issue.

Also, in regards to the Volumes section in the .yml, I'm not sure if I need to modify it so it's downloads/stores the server on my /storage2/ drive.

I'm low on space on the primary, so I have a secondary drive, previsioned as /storage2/

 

Sorry to possibly ask basic Linux stuff here.

you might need to specify the volume path on the docker-compose.yaml file like so 

 version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1001
      - PGID=1001
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - ASA_PORT=7777
      - QUERY_PORT=27015
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
      - "27015:27015/tcp"
      - "27015:27015/udp"
    volumes:
      - "/storage2/arkserver/ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
      - "/storage2/arkserver/ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
      - "/storage2/arkserver/Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    memswap_limit: 16G
    mem_limit: 12G  

 

Link to comment
Share on other sites

3 minutes ago, acekorneya said:

you might need to specify the volume path on the docker-compose.yaml file like so 

 version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1001
      - PGID=1001
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - ASA_PORT=7777
      - QUERY_PORT=27015
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
      - "27015:27015/tcp"
      - "27015:27015/udp"
    volumes:
      - "/storage2/arkserver/ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
      - "/storage2/arkserver/ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
      - "/storage2/arkserver/Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    memswap_limit: 16G
    mem_limit: 12G  

 

Thanks dude, i will give that a shot.

Haven't got past the "no configuration file provided: not found" error yet.

image.png.1b09e20c66b45205645b1e854bdca789.png

 

You can see that the file exists, but it isn't reading it

image.png.111036c17c8e20760b9c7539c6e4f9e7.png

 

Link to comment
Share on other sites

21 minutes ago, ColonelBlack said:

Thanks dude, i will give that a shot.

Haven't got past the "no configuration file provided: not found" error yet.

image.png.1b09e20c66b45205645b1e854bdca789.png

 

You can see that the file exists, but it isn't reading it

image.png.111036c17c8e20760b9c7539c6e4f9e7.png

 

You dont need to download the Github files as this is already hosted on docker hub 

here are some basic step to get it running and make sure that the docker compose file is names "docker-compose.yaml" and NOT "docker-compose.yml"

1. Open a terminal on your system.
2. Create a new directory for your ARK server with the command:
   `mkdir -p /storage2/arkserver/ && cd /storage2/arkserver/`

3. Create a new `docker-compose.yaml` file within this directory.

4. Paste the provided YAML configuration into the `docker-compose.yaml` file.

5. Start your ARK server using Docker Compose with the command:
   `docker compose up`

6. Check that your server is running with the command:
   `docker ps`

Your ARK server should now be starting. It may take several minutes to initialize.

The docker-compose up  command will take care of pulling the acekorneya/asa_server:latest image from Docker Hub if it's not already present on the local machine.

If you want to be explicit or if the docker-compose.yaml is not located in the /storage2/arkserver/ directory, you would need to use absolute paths. For example:

volumes:
  - "/storage2/arkserver/ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
  - "/storage2/arkserver/ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
  - "/storage2/arkserver/Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"

 

Edited by acekorneya
Link to comment
Share on other sites

17 minutes ago, acekorneya said:

You dont need to download the Github files as this is already hosted on docker hub 

here are some basic step to get it running and make sure that the docker compose file is names "docker-compose.yaml" and NOT "docker-compose.yml"

1. Open a terminal on your system.
2. Create a new directory for your ARK server with the command:
   `mkdir -p /storage2/arkserver/ && cd /storage2/arkserver/`

3. Create a new `docker-compose.yaml` file within this directory.

4. Paste the provided YAML configuration into the `docker-compose.yaml` file.

5. Start your ARK server using Docker Compose with the command:
   `docker compose up`

6. Check that your server is running with the command:
   `docker ps`

Your ARK server should now be starting. It may take several minutes to initialize.

The docker-compose up  command will take care of pulling the acekorneya/asa_server:latest image from Docker Hub if it's not already present on the local machine.

If you want to be explicit or if the docker-compose.yaml is not located in the /storage2/arkserver/ directory, you would need to use absolute paths. For example:

volumes:
  - "/storage2/arkserver/ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
  - "/storage2/arkserver/ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
  - "/storage2/arkserver/Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"

 

Thanks again dude.
So i got further. Instead of Docker Compose, I installed docker-compose, and this was able to read the yaml.

However, while installing, etc, it generated an error

 


Sending build context to Docker daemon  98.82kB
Step 1/21 : FROM scottyhardy/docker-wine
latest: Pulling from scottyhardy/docker-wine
96d54c3075c9: Pull complete
f24dd5fc4a52: Pull complete
2822aa353f76: Pull complete
4592a1d62047: Pull complete
2708aae094bc: Pull complete
ccb27bd56666: Pull complete
a1da90d1f935: Pull complete
b9e64b07d33d: Pull complete
dc79705c6da0: Pull complete
9ff5550a45c2: Pull complete
dd8f6ce09f1b: Pull complete
c7e40052c400: Pull complete
11c6209f9426: Pull complete
Digest: sha256:94517a879162cb97ca079fbe539e56431f0d2cafef35d557541f37f6a6419818
Status: Downloaded newer image for scottyhardy/docker-wine:latest
 ---> c1dee3112eec
Step 2/21 : ENV WINEPREFIX /usr/games/.wine
 ---> Running in 23eda9ab6ff0
Removing intermediate container 23eda9ab6ff0
 ---> d75751ddbc26
Step 3/21 : ENV WINEDEBUG -all
 ---> Running in 7aa687ea46ae
Removing intermediate container 7aa687ea46ae
 ---> d1c447dc022a
Step 4/21 : ENV PROGRAM_FILES "$WINEPREFIX/drive_c/POK"
 ---> Running in ea938e5821fb
Removing intermediate container ea938e5821fb
 ---> 654a0e3b0bf6
Step 5/21 : ENV ASA_DIR "$PROGRAM_FILES/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/"
 ---> Running in c31051b84ee2
Removing intermediate container c31051b84ee2
 ---> d7b3863c3542
Step 6/21 : RUN mkdir -p "$PROGRAM_FILES"
 ---> Running in 8deb70b1d454
Removing intermediate container 8deb70b1d454
 ---> 57bed310dff8
Step 7/21 : RUN usermod --shell /bin/bash games && chown -R games:games /usr/games
 ---> Running in 4f543181a25c
Removing intermediate container 4f543181a25c
 ---> 87bd075a8093
Step 8/21 : RUN groupmod -o -g $PGID games &&     usermod -o -u $PUID -g games games
 ---> Running in f6b7fd07e515
groupmod: invalid group ID 'games'
The command '/bin/sh -c groupmod -o -g $PGID games &&     usermod -o -u $PUID -g games games' returned a non-zero code: 3
ERROR: Service 'asaserver' failed to build : Build failed
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...