jammsen / docker-sons-of-the-forest-dedicated-server

Docker container to easily provision and manage Sons of the Forest Dedicated Server with Wine
https://hub.docker.com/r/jammsen/sons-of-the-forest-dedicated-server
134 stars 19 forks source link

Server is showing up as Invalid #32

Closed ghost closed 6 months ago

ghost commented 8 months ago

Have you read the Important information text above

Current behavior

Issue is similar to #22 except I am using the latest version of docker. Container starts correctly and dedicated server does start up and is ready when looking at logs, however the server shows up in the dedicated server list with IP:PORT, cannot join, connecting Direct and inputting in IP:PORT results in Game Server Not Found. UFW is not active on host. Host is on a public IP and is not behind a service provider firewall.

Desired behavior

Game shows up in server list with servername

Links to screenshots

No response

To Reproduce

Steps to reproduce the behavior:

Fresh install of ubuntu 22.04LTS sudo apt-get update sudo apt-get install ca-certificates curl gnupg sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

cd ~ sudo mkdir srv cd srv sudo mkdir sonsoftheforest cd sonsoftheforest sudo mkdir game sudo mkdir steamcmd

Create docker-compose.yml file sudo docker compose up -d

stop container, edit dedicatedserver.cfg

start container, see in the log that it is parsing dedicatedserver.cfg correctly, server log ends with:

DSL Autosave complete. Time: 2023-11-16 23:57:10 Slot: 1

DSL Server empty, idling...

DSL Set target framerate: 5

DSL Dedicated server loaded.

Software setup

Hardware setup

Additional context

No response

jammsen commented 8 months ago

Are you running this as root or as a user? Im confused because of the sudo heavy usage, you can just add your user to the docker group, google "usermod -aG docker" related to that.

ghost commented 8 months ago

Running as regular user! Will try that and report back

jammsen commented 6 months ago

Closed because of inactivity