-
-
Notifications
You must be signed in to change notification settings - Fork 859
[Bug]: Update leaves old files behind (Gameserver detects mismatch) #4920
Copy link
Copy link
Open
Labels
command: updatedistro: Ubuntuengine: vintagestoryIssues related to vintagestory engineIssues related to vintagestory enginegame: Vintage StoryIssues related to Vintage StoryIssues related to Vintage Storyregression: yesConfirmed regressionConfirmed regressionreproducible: alwaysIssue always reproducesIssue always reproducesseverity: lowLow severity bugLow severity bugtype: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
command: updatedistro: Ubuntuengine: vintagestoryIssues related to vintagestory engineIssues related to vintagestory enginegame: Vintage StoryIssues related to Vintage StoryIssues related to Vintage Storyregression: yesConfirmed regressionConfirmed regressionreproducible: alwaysIssue always reproducesIssue always reproducesseverity: lowLow severity bugLow severity bugtype: bugSomething isn't workingSomething isn't working
Type
Projects
Status
🆕 New Issues
Severity
severity: low
Reproducibility
reproducible: always
Regression
regression: yes
Affects latest release
latest-release: yes
User story
As the updates are automated a check for left behind files should be implemented (or the whole serverfiles except for "data" removed).
Script name
vintsserver
Game
Vintage Story
Linux distro
Ubuntu 24.04
Command
command: update
Expected behavior
The server applies updates as expected to the newest version without errors.
Actual behavior
The update script leaves files from the old version behind which causes errors.
Further information
The server files (http://api.vintagestory.at/stable-unstable.json) include a specific empty "version-.txt" file. The name differs per version and won't be removed in case of an update via LinuxGSM.
At startup the Vintage Story Server checks for mismatched files and refuses to start.
Manual fix: Cleanup (rm version-.txt) and server restart
Pre-checks
Relevant log output
Steps to reproduce