Server Version Mismatch since Halloween Update was applied
BRANCH: None
REPORT:
Issue began with the Halloween Update on Oct 24.
Vanilla Game set as PVP
Updated my private dedicated server with the halloween patch. Updated my game (client). Tried to connect. Get: Error: Server Version mismatch. Server version: 1 Client version 2
Validated files on both Server and Client. Retried with the same results. Friends also can't connect and get the same error.
DISCORD ID: Karsiss#9921
Comments: 10
-
24 Oct, '22
Robbie MergedError: Server Version mismatch. Server version: 1 Client version: 2.
Can you update your dedicated servers please for PvE as well? [EU] Gaming Network Europe | PvE. -
25 Oct, '22
KarsissComment/Discovery from Discord
Skjoldur — Today at 8:36 AM
I just had a couple of minutes checking the steamcmd update process.
When I use it to install into a clean folder, everything is downloaded to <install_dir>\steamapps\downloading and then moved to <install_dir>
When I update my existing installation everything is being downloaded correctly as well, but then not moved / copied to the final location but to <install_dir>\steamapps\common\VRisingDedicatedServer
That means, neither libs nor exe are being updated though steamcmd update did not encounter any errors just like steamcmd validation does not find any.
I don't know enough about steamcmd, but maybe someone of you knows if it uses a script created by the developer and which would be at fault not to move the files at the end of the update? Though that does not explain why it is behaving differently on a clean install. -
25 Oct, '22
Pablo Marcolino de Souzamy dedicated server stopped working, now when you try to log in, it appears that the server version is version 2, and it needs to be version 2, how to update the server?
[Warning: Unity] NetConnection '{Steam 4045739749}' connection was denied. Reason: 'Incorrect version: 2. Server version: 1' -
25 Oct, '22
Pablo Marcolino de Souza Mergedmy dedicated server stopped working, now when you try to log in, it appears that the server version is version 2, and it needs to be version 2, how to update the server?
[Warning: Unity] NetConnection '{Steam 4045739749}' connection was denied. Reason: 'Incorrect version: 2. Server version: 1' -
26 Oct, '22
Filippa Admin"Update Dedicated Servers" (suggested by Robbie on 2022-10-24), including upvotes (2) and comments (0), was merged into this suggestion.
-
26 Oct, '22
ImPopoto Admin"my dedicated server stopped working, now when you try to log in, it appears that the server version" (suggested by Pablo Marcolino de Souza on 2022-10-25), including upvotes (1) and comments (0), was merged into this suggestion.
-
26 Oct, '22
VMColonel#4364For those that are server admins, are you able to also include the command you used to update? A VERY cursory review of the evidence seems to suggest that at least SOME admins of servers who this is affecting passed the +force_install_dir argument to steamCMD, which may have exacerbated the issue.
WORKAROUND:
To those admins that are unable to resolve the issue, you may need to re-install the server, then migrate the saves and configurations over. This is the command I have always used to update my server successfully:
steamcmd.exe +login anonymous +app_update 1829350 validate +quit -
27 Oct, '22
KarsissI have tried to force Steam to re-install my server by deleting all directories and files except:
save-data
Start_server.bat
Update_server.bat
Steam validates the files and comes back that the game is fully installed
NO FILES have been restored to the game directory on the dedicated server.
Update_server.bat: C:\steamcmd\steamcmd.exe +force_install_dir +login anonymous C:\VRising +app_update 1829350 -validate
The only way I was able to resolve this problem was to re-install the dedicated server from scratch using the steamcmd process of:
Backup VRising directory files
run steamcmd.exe
force_install_dir "c:\VRising\"
login anonymous
app_update 258550
quit
and then copy over from my backup:
save-data directory
ServerGameSettings.json
ServerHostSettings.json
There is an issue with the Steam Update not moving files into the game directory after downloading the update. -
06 Nov, '22
xor Mergedhi everyone,
i have this kind of error: Error: Server Version mismatch. Server version: 1 Client version: 2
and still dont get it, i have tried to update manually with app_update [id] command or i alread have
this in my bat file:
-------------------------------------------------------------------------------------------------------
C:\SteamCMD\steamcmd.exe +force_install_dir ./VRisingDedicatedServer +login anonymous +app_update 1829350 validate +quit
REM Copy this script to your own file and modify to your content. This file can be overwritten when updating.
set SteamAppId=1604030
echo "Starting V Rising Dedicated Server - PRESS CTRL-C to exit"
VRisingServer.exe -persistentDataPath .\save-data -saveName "world1" -logFile ".\logs\VRisingServer.log"
------------------------------------------------------------------------------------------------------
it must update automatically but it doesent, infact when i start the bat file it check the updates witht he command in -
07 Nov, '22
ImPopoto Admin"Error: Server Version mismatch. Server version: 1 Client version: 2" (suggested by xor on 2022-11-06), including upvotes (1) and comments (0), was merged into this suggestion.