GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.25k stars 813 forks source link

[Bug]: Cannot load serverlist when port is opened #4188

Closed Alfagun74 closed 1 year ago

Alfagun74 commented 1 year ago

User story

As a Server Admin, I want to run a server

Game

Garrys Mod

Linux distro

Debian 11, Debian 10, Debian 9

Command

command: start

Further information

As soon as i set up a port mapping to my container, the server doesnt start with the following log.

I use caprover, which uses docker swarm and the ingress network under the hood.

Other Issues mention the absence of curl but curl is installed. When i remove the port mapping everything works.

Portrainer Screenshot: image

Relevant log output

2023-04-15T12:20:54.287853409Z [entrypoint.sh]starting entrypoint.sh
2023-04-15T12:20:54.288047115Z [entrypoint.sh]installing...
2023-04-15T12:21:14.357780697Z fetching GitHub serverlist.csv...ERROR
2023-04-15T12:21:34.392347863Z fetching Bitbucket serverlist.csv...FAIL
2023-04-15T12:21:34.393015728Z linuxgsm.sh: line 129: core_exit.sh: command not found
2023-04-15T12:21:34.393539877Z [ FAIL ] serverlist.csv could not be loaded.

Steps to reproduce

No response

h3o66 commented 1 year ago

Not sure how we can support something like this at all on lgsm side. At first this looks more like a network issue on your side ( as it cannot download stuff from github).

jusito commented 1 year ago

Because I know the image:

Is it possible to provide the logs?

Probably the container doesn't continue and sadly the logs are outside of the volume.

  1. start container and overwrite the entrypoint to bash --entrypoint bash e.g. docker run -it -p 27016:27016/udp -e SERVER_PORT=27016 -v TTTDebug:/home/steam/serverfiles --name "TTTDebug" --entrypoint bash --rm jusito/docker-ttt
  2. you are inside of the container with user steam, run the entrypoint with ./home/entrypoint.sh
  3. in another terminal copy the logs from outside: docker cp TTTDebug:/home/steam/logs/ .
  4. type exit inside container, will be removed after this

the command above is successful for me, so at least I can confirm the image is working and all requirements should be in the image. image ... image

Just a random guess, do you maybe need to set a different MTU than 1500?

Alfagun74 commented 1 year ago

thanks man but i gave it up unfortunately and threw everything in the bin

Fizcko commented 1 year ago

I've got the same issue. I upgrade my docker from 19.X to 24.0.1 and this fix the problem.

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.