After 2 restarts, stop and restart buttons don't work anymore



  • I'm using a custom template for CS:GO. You can found it here.

    When I create and install the server, the buttons work fine. After the first restart, something strange happens: the server template found on /var/lib/pufferd/servers changes to THIS. But everything works for now. After the second restart, the template does NOT change, but the stop and restart buttons suddenly don't work anymore, but the server keeps running since the pufferd starts the server when my VPS starts. I can't restart, I cant stop it and I can't kill it.

    Restart error: Unable to process your request. Please try again. (Internal Server Error)
    Stop error: Unable to process your request. Please try again. (timeout)
    Kill it error: Unable to process your request. Please try again. (Not Found)

    On /srv/pufferd/logs I can't find any errors, only debugs.

    On /srv/pufferpanel/logs I can find some errors.
    exception.log
    Download exceptions.html

    What is happening and how do I fix this? Thanks!



  • Pretty sure this is a bug with pufferd modifying the template on startup (seems to modify keys that are defined as sub-keys and remove empty lists or keys with no values).

    Others have found a temporary work around by revoking pufferd's write access to the template.

    As for killing the server, you need to kill the subprocess the server is running in.
    It can be tricky to figure out which process it is sometimes if all your servers are the same and have the same arguments, but checking the status of pufferd gives all the sub-process id's (for ubuntu/debian it's "sudo systemctl status pufferd").

    Which can then be used to kill your unresponsive server with "sudo kill -9 <sub-process id>



  • @GoadingGoat
    Well, my whole point of using a gameserver control panel is to control the servers by the panel and not be obligated to always login on SSH to manage my servers...

    I think chaning the server template permissions to 444 fixed the problem.



  • @bruxo00

    I'm glad that revoking pufferd's write permission has temporarily fixed the problem for you.

    I've created an issue on github relating to this.
    https://github.com/PufferPanel/pufferd/issues/37

    Hopefully when they dev's have time, they can look at it.

    With regards to
    "Well, my whole point of using a gameserver control panel is to control the servers by the panel and not be obligated to always login on SSH to manage my servers..."
    I think that is everyone's goal (dev's included).



  • We've just released an update to PufferPanel. Please see https://community.pufferpanel.com/category/1/announcements


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.