panel icon indicating copy to clipboard operation
panel copied to clipboard

Manual server + Oxide updating for Rust

Open SolidSnake-72 opened this issue 2 years ago • 10 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues before opening this feature request.

Describe the feature you would like to see.

Manual updating for Rust servers and Oxide.

Currently, updating on server startup is the only way to go about it. Auto updating on server startup is not recommended, especially when using Oxide. Broken server updates happen, unfortunately. Several of them in recent memory, that had to be reverted.

Another issue is that with each server update, an Oxide update is also required. These have been delayed for hours or even days recently, now that their lead developer is gone. Updating the server before a new Oxide release is pushed can cause your plugins to stop working, or even stop your server from starting up entirely. Both have happened recently, and nothing could be done until Oxide was eventually updated.

Describe the solution you'd like.

Creating a custom egg and Docker container to add options for enabling/disabling automatic updates is easy enough. Unfortunately, there's no simple way that I can see to manually update the server + Oxide from the control panel once you've done this. I looked at creating an addon, but I'm new to this and can't wrap my head around it.

The best solution would be to simply create a new 'Update' component with buttons for: server update, server update (validate), oxide install/update.

If an easier temporary solution is possible for the time being, that would be great. This is currently the only thing keeping me from being able to move my servers over to Pterodactyl.

Additional context to this request.

No response

SolidSnake-72 avatar Apr 25 '23 11:04 SolidSnake-72

There is a pr. For rust to respect the auto update variable. And also for the egg #4764 and the yolks https://github.com/pterodactyl/yolks/pull/42

QuintenQVD0 avatar Apr 25 '23 14:04 QuintenQVD0

There is a pr. For rust to respect the auto update variable. And also for the egg #4764 and the yolks pterodactyl/yolks#42

That part I already did myself, but there is still no way to perform a manual update independently. As it is, you have to enable auto updates, run the server, disable auto updates, every time. This is a little inconvenient, and buttons to perform these updates (like with TCAdmin) would probably be a much better solution.

SolidSnake-72 avatar Apr 25 '23 15:04 SolidSnake-72

There is a pr. For rust to respect the auto update variable. And also for the egg #4764 and the yolks pterodactyl/yolks#42

That part I already did myself, but there is still no way to perform a manual update independently. As it is, you have to enable auto updates, run the server, disable auto updates, every time. This is a little inconvenient, and buttons to perform these updates (like with TCAdmin) would probably be a much better solution.

just hit reinstall. it will rerun the install script and if the game is already installed it will update it. same as here #4726 There is litterly no need for that as the reinstall button does that for you

QuintenQVD0 avatar Apr 25 '23 15:04 QuintenQVD0

just hit reinstall. it will rerun the install script and if the game is already installed it will update it. same as here #4726 There is litterly no need for that as the reinstall button does that for you

That runs the initial install script, which does more than just simply update the server. It also won't check for updates without forcing a reinstall of the server files, and doesn't cover manual Oxide updates.

SolidSnake-72 avatar Apr 26 '23 00:04 SolidSnake-72

I spent the afternoon yesterday setting everything up, discovering pterodactyl and successfully having my Rust server running. Now I'm looking for how the update system works as I can't find a steam update button... And I've just found this thread :-/

I don't want the server to update automatically on its own when it restarts. Because Rust and Umod may not have their updates released at the same time, I need to be able to decide when the server update or not. Reinstalling the server is obviously not a solution as SolidSnake mentioned.

great82 avatar Jul 14 '23 08:07 great82

I spent the afternoon yesterday setting everything up, discovering pterodactyl and successfully having my Rust server running. Now I'm looking for how the update system works as I can't find a steam update button... And I've just found this thread :-/

I don't want the server to update automatically on its own when it restarts. Because Rust and Umod may not have their updates released at the same time, I need to be able to decide when the server update or not. Reinstalling the server is obviously not a solution as SolidSnake mentioned.

The docker images was updated for this

Make a variable AUTO_UPDATE and make its value 0 Then it will not update anymore on restart.

QuintenQVD0 avatar Jul 14 '23 14:07 QuintenQVD0

Thanks for your help. I've moved to an alternative solution that has an "update" button.

great82 avatar Jul 14 '23 16:07 great82

Thanks for your help. I've moved to an alternative solution that has an "update" button.

Than that is a non offical egg what is not supported but that is up to you. It is posible with the offical one now.

QuintenQVD0 avatar Jul 14 '23 18:07 QuintenQVD0

Hi all,

Sorry might be re-opening this. But I was wondering if there was a solution to this?

As I've read through my panel, and cannot find anything for this.

Ubuntu installation 22.04.

Thank you,

RedBubble55 avatar Apr 04 '24 12:04 RedBubble55

Duplicate of #1292

The current "workaround" is to add a AUTO_UPDATE startup variable to your Rust egg and set it to 0. This will disable the auto update when restarting. grafik

Boy132 avatar Apr 12 '24 06:04 Boy132