pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.75k stars 1.72k forks source link

Server state handling and usage info not working #2325

Closed Trimilur closed 4 years ago

Trimilur commented 4 years ago

Unbenannt Background (please complete the following information):

Describe the bug

PHP 7.4.10 (cli) 5.4.0-47-generic #51-Ubuntu Kernel Version: 5.4.0-47-generic Operating System: Ubuntu 20.04.1 LTS OSType: linux Architecture: x86_64 Server Version: 19.03.12

When you restart the whole root server without shutting down the teamspeak server the ts3 server does not normally start up with server state handling. first you have to manually start and kill it and even then it stays in the "starting" phase and does not show proper usage info although teh container itself runs properly.

To Reproduce Steps to reproduce the behavior: Create Teamspeak Server, Start it. let it run and hard reboot your system. After the system is rebooted panel and wings start normally but the server doesnt. If you do nothing there will be an error code on the client side similar to "server not reachable".

if you press on start after that the server might be not starting at all. If it soes start it doesnt show proper usage information.

If you then stop AND kill teh container and start it again the server pops up in docker ps but still no usage information although the container runs normally. The starting flag will stay yellow as well "Starting"

When you try to normally delete this server there might be an error with the daemon prompted as well "I'm getting this error right now "There was an exception while attempting to communicate with the daemon resulting in a HTTP/E_CONN_REFUSED response code. This exception has been logged.".

DaneEveritt commented 4 years ago

Seems like a duplicate of https://github.com/pterodactyl/panel/issues/2298

Trimilur commented 4 years ago

@DaneEveritt yes for the usage info part I agree that looks similar. what about the server state handling? The container didnt restart automatically this was not adressed in your mentioned report neither the problem that the server cannot be started manually at the first time and you have to first start and then kill the container to get it somehow running at all

DaneEveritt commented 4 years ago

It is likely all related. This issue is just far too broad to even begin to try and tackle. It is entirely possible everything is stemming from one bad part of the code. I'd much rather focus on fixing the issue that is plaguing many users than an issue that is all over the place and seems to only affect one user right now.

We can re-evaluate this down the road once we fix the more pressing and noticeable issues.