Gingercake Posted September 11, 2025 Report Posted September 11, 2025 Trying to update a self hosted Vintage story Server from version 1.20.12 to version 1.21.1 Can anyone give some advice or helpful instructions in how to update a server in general to a newer version? Do I need to fully replace all files in in server folder with the ones i downloaded from vs_server_win-x64_1.21.1? or do I just replace certain files and folders for example?
CastIronFabric Posted September 11, 2025 Report Posted September 11, 2025 I do not know the mechanisms however I do know some rather popular mods are still not working yet so be mindful of that.
Teh Pizza Lady Posted September 11, 2025 Report Posted September 11, 2025 Generally you can copy all files, just backup your server.sh if you're running Linux! I have a script that can help you update your server if you are running linux. Otherwise it's just a simple copy and paste for Windows. Script: #!/bin/bash # Check if a URL was provided if [ -z "$1" ]; then echo "Usage: $0 <URL>" exit 1 fi URL="$1" OUTPUT_FILE="vs.tar.gz" ASSETS_DIR="assets" # First backup server.sh file mv server.sh server.sh.old # Download the contents of the URL into vs.tar.gz curl -o "$OUTPUT_FILE" "$URL" # Check if the download was successful if [ $? -ne 0 ]; then echo "Error: Failed to download $URL" exit 1 fi # Remove the local assets folder if it exists if [ -d "$ASSETS_DIR" ]; then rm -rf "$ASSETS_DIR" echo "Deleted existing $ASSETS_DIR folder." fi # Unpack vs.tar.gz into the current directory # Overwriting all contents if necessary tar -xzf "$OUTPUT_FILE" --overwrite # Check if the extraction was successful if [ $? -ne 0 ]; then echo "Error: Failed to extract $OUTPUT_FILE" exit 1 fi # Restore server.sh file rm server.sh mv server.sh.old server.sh # Notify completion echo "Successfully downloaded and updated Vintage Story." Here's how it looks when you don't run it correctly and when you do: Good luck and happy Vintarianeering!
Recommended Posts