Alte_Sokke Posted February 27, 2020 Report Posted February 27, 2020 Hi there, how may i install a update to the newest version on linux server without lose my world ? Thanks for replay, Alte_Sokke
Marcel Rickl Posted March 5, 2020 Report Posted March 5, 2020 The server update for those who run it themselves runs like this. You delete everything except your "server.sh". Then copy the new server files, except the "server.sh" into your folder. After that you can start the server as usual, etc... In the server.sh there is the item "DATAPATH='/var/vintagestory/data" (This is now an example of my file.) If it is NOT deleted your game is still there. Therefore your current "server.sh" is kept so that you don't need to enter the paths again and again. I hope it's helped. Greeting Marcel
NorseGuard Posted Friday at 06:19 PM Report Posted Friday at 06:19 PM Dont think so, cant find the server.SH file in my server.
kmartburrito Posted Friday at 07:20 PM Report Posted Friday at 07:20 PM (edited) I would like to understand globally how to update the server. I'm also not sure on how to do this for a Windows dedicated server. Surprisingly this is not well documented. EDIT - Here's what I found for others, however it still is not clear for Windows servers - https://wiki.vintagestory.at/Special:MyLanguage/Setting_up_a_Multiplayer_Server#Updating_Servers Updating Servers If you want to install a newer version, remove all installation files first, or you'll get unforseeable behavior. If you chose a data folder inside the installation folder, make sure to not delete that one, or you'll loose your save games, settings and player data. Download the "Tar.gz Archive/Linux (server only)" file and extract it. If you have a remote installation and only a FTP connection to your server, you will have to unpack it locally and upload each file. Edited Friday at 07:30 PM by kmartburrito updating with instructions posted to update servers
kmartburrito Posted Friday at 09:15 PM Report Posted Friday at 09:15 PM I ended up trying to figure out the right process on my own - documenting for others that may run into the same issue. I made copies of my server data folder, and then blanked out the server (non-data, where the binaries are / install dir) and copied over the 1.20 update from my single player install dir. When I started the server, it now starts with 1.20 which is a good step, however when I try to join the server it says the server requires you to be on the whitelist and I'm not a part of it. I specifically have set in my server config that whitelisting is NOT required. I had to add my player as a whitelisted player to make this all work. I believe the enforced whitelist is an error/defect/bug as my server config specifically says no whitelist. I added myself to the server's whitelist by running the following command in the server window while the server was running. Replace my name with your player name - /player kmartburrito whitelist on Note that this is detailed in the dedicated server guide here - https://wiki.vintagestory.at/Guide:Dedicated_Server#Use_a_whitelist
Stefanklm Posted Saturday at 01:38 AM Report Posted Saturday at 01:38 AM (edited) Ok so for Windows Server its just: Make Sure to Backup your Savegame everytime youre working on the Server. Just for Savety Go to "Client Area" on top of this Website. Then klick on "(Show all available downloads and mirrors of Vintage Story)" and then Download just "Windows .zip Archive(server only) (46.9 MB) (mirror)", make sure you download the Version you want. Then copie the Files in the ZIP Folder in your Vintage Story Folder and click "Replace" if Windows ios asking you. In this Zip File are only Folders and Datas that dosnt affect your Modfolder or Setting Files, so its Safe and will not delete your Setting or something. Since there is no Data Folder in the Zip File, it will not Delete or overwrite them. Thats it. With Version 1.20 the Whitelist is Standard in mode "on". So when your Server has fully startet, just type in the Console "/whitelist off" to turn it off temporaly. Now Join your Server and type in Chat "/serverconfig whitelistmode off" to turn ist off permanently. If you like to see your Server in the Public List you can also write in Chat "/serverconfig advertise on". Thats all. As long as you didnt got any Mods that may Break, its just 10 Minutes of Work. When you like to let the Whitelist on, you have to add your Username like kmartburr wrote in the Post above Edited Saturday at 01:46 AM by Stefanklm
kmartburrito Posted Saturday at 03:42 AM Report Posted Saturday at 03:42 AM Thanks for this Stefanklm!
Recommended Posts