panel icon indicating copy to clipboard operation
panel copied to clipboard

The Panel Allows to Modify Ports of Running Servers Leading to Incorrect State on Nodes

Open Ferks-FK opened this issue 1 year ago • 3 comments

Current Behavior

If you have a server running on example port 27003 and for some reason change to remove this port from this server or change the main port to any other, you will have problems with this allocation later on. It is important to say that the server must be running when you remove/change its port. And finally, when you create a new server using the removed allocation of the other server that was online, you get an already allocated port error. 1

Expected Behavior

If the server is running, you cannot remove the main port or the extra ports.

Steps to Reproduce

  • Remove/change the main port of a running server.
  • Try creating a new server with this port
  • Voiala!

Panel Version

1.9.2

Wings Version

1.6.4

Games and/or Eggs Affected

Minecraft

Docker Image

No response

Error Logs

Wings: https://ptero.co/rocywatopu

Is there an existing issue for this?

  • [X] I have searched the existing issues before opening this issue.
  • [X] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Ferks-FK avatar Jul 19 '22 18:07 Ferks-FK

Restart the Wings or installing a new Server on Pterodactyl. This helped me.

PVPMaster0001 avatar Jul 20 '22 11:07 PVPMaster0001

Restart the Wings or installing a new Server on Pterodactyl. This helped me.

The allocation is still attached to the running server container. Altering allocations of containers always requires restarting the container be it removing or adding new ones due to Docker. Restarting Wings wouldn't do anything and reinstalling is unnecessary, it only fixes it since that'll require a restart of the server container.

This also isn't relevant to this issue, as it's a feature request to provide user feedback regarding what's required to be performed or prevent someone from doing this. However, the first is a better solution in my opinion.

Software-Noob avatar Jul 21 '22 10:07 Software-Noob

Maybe a modal that restarts the server after an allocation change. For both the client and the administrator.

Ferks-FK avatar Jul 21 '22 17:07 Ferks-FK