How to properly update a dedicated server(?)

Warpavp2

New member
Just curious about how to properly update a Server without losing everything?

Do you copy/paste any files?

Do you do a fresh reinstall?

Or is it one simple command?>

 
Just curious about how to properly update a Server without losing everything?
Do you copy/paste any files?

Do you do a fresh reinstall?

Or is it one simple command?>
On linux, I make a backup of the configuration file and then update the installation via steam. That's pretty much it for a vanilla server.

After the update, check and adapt the new configuration file to reflect your old configuration plus whatever new/changed options are available in the new version.

For the latest stable the steam commands I use are:

login anonymousforce_install_dir /home/your_user/server_directory

app_update 294420

quit
If you want to run an experimental build or specific branch on your server, you can do so as well:

login anonymousforce_install_dir /home/your_user/server_directory

app_update 294420 -beta latest_experimental

quit
 
Last edited by a moderator:
Tried that method and it completely wiped the server when updating...?

How do I put all my stuff back into the new server from my backup?

 
Whenever I change the new serverconfig file to the same seed as the old the server never loads and just freezes. Do I have to clear the cache of all server files on the hosting computer?

 
Generally speaking the serverconfig is usually the same for each build but NOT always and it's important to examine the update notes and see what has changed.

For each update I typically validate the server files from Steam and afterwards I make a backup of any files that I will edit, which generally are the entityclass, entitygroup, and block.xml.

The entityclass I edit is generally to perform my own balancing and/or block damage, and the entitygroup to eliminate certain annoying entities such as the vultures.

Lastly I use a third party app entitled ExamDiff to quickly see if the file matches and if there are no differences then I know I can just redeploy the prior file.

Hope this helps. 😀

 
Last edited by a moderator:
Is there a possible way to transfer an old base into a new server? Like the region or cell? Sorry and thank you this is all helpful. I normally just manually edit everything in every .xml over again so the new files stay fresh. Tedious, but do able.

I just want to know if the base I made on A16 can be transferred into A17 before I comitt to an entire new server!

 
@warpavp2: I haven't tried just copying over region, but I highly doubt it would work going from A16.4 to A17. You'd probably be best to use creative menu, spawn in the stuff you need, and start from scratch.

As far as copying over the same seed: Let the server build the new map using your seed name, then shutdown the server, copy your old game files back.. might work, unless you're trying to go from A16.4 map to A17.

Also: I suggest you do NOT use the default serverconfig.xml filename as is.. change it to something else, such as serverconfigWarpavp2.xml... because every update re-writes the default serverconfig.xml file.

 
Got it! I don't think I can copy the map over. I just miss the lakes and rivers from my old a16 map. No reason why a17 is so bad...

 
Back
Top