[Bug]: Update leaves old files behind (Gameserver detects mismatch)
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #5032 来自 @dgibbs64 —— 已合并
评估
调研方向
从 vintsserver update 命令开始,重现从 Vintage Story 1.22.1 升级到 1.22.2 的过程。检查如何处理 serverfiles/assets 中的文件,然后验证旧版本标记已被移除、新标记仍然存在,并且启动时不再在 console.log 中报告不匹配的文件。
由索引模型根据 Issue 内容生成。
描述
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
- I ran update and validate before reporting this issue.
Relevant log output
Manual download and diff:
diff -rq vs_server_linux-x64_1.22.1 vs_server_linux-x64_1.22.2 | grep "Only in"
Only in vs_server_linux-x64_1.22.1/assets: version-1.22.1.txt
Only in vs_server_linux-x64_1.22.2/assets: version-1.22.2.txt
[Server Error] Your Server installation still contains old files from a previous game version, which may break things. Please fully delete the /assets folder and then do a full reinstallation. Shutting down server.
ls serverfiles/assets/
creative game gameicon.ico survival version-1.22.1.txt version-1.22.2.txt
LinuxGSM version: v26.1.0
Steps to reproduce
- Install an older version (e.g. 1.22.1)
- Update to the newest version
- Start the server
- Check the console.log ("Your Server installation still contains old files")
- Check the serverfiles/assets directory for duplicate version files (version-1.22.1.txt version-1.22.2.txt)
- 主要语言
- Shell
- 星标
- 4.9k
- 派生
- 871
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 138
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GameServerManagers/LinuxGSM 的其他 Issue
-
[Bug]: csserver metamod fails to load amxmodx after ubuntu 26.04 base image可能已有人在做 @dgibbs64 今天认领。 未关闭command: mods command: start distro: Ubuntu regression: yes reproducible: always severity: medium status: fixed in develop type: bug
难度 2/5 1-3 小时 新手友好度 70/100
GameServerManagers/LinuxGSM#5114 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug]: cs2server ignores the GSLT entered during install可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭command: install command: start distro: Debian engine: source2 game: Counter-Strike 2 regression: yes reproducible: always severity: high type: bug
难度 2/5 1-3 小时 新手友好度 82/100
GameServerManagers/LinuxGSM#5106 ·
维护者通常 1 天内回复
-
[Feature]: Grace period for stoponlyifnoplayers before forcing stop, restart or update可能已有人在做 @dgibbs64 今天认领。 未关闭command: monitor command: restart command: stop command: update priority: medium scope: all servers type: feature
GameServerManagers/LinuxGSM#5138 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug]: Craftopia saves to serverfilesDedicatedServerSave outside serverfiles可能已有人在做 @dgibbs64 今天认领。 未关闭command: backup command: start distro: Ubuntu engine: unity3d game: Craftopia info: docker reproducible: always severity: medium status: fixed in develop type: bug
GameServerManagers/LinuxGSM#5130 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug]: gamedig npm calls hang when the npm registry does not answer可能已有人在做 @dgibbs64 今天认领。 未关闭distro: Ubuntu info: docker info: query status: fixed in develop type: bug
GameServerManagers/LinuxGSM#5127 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 GameServerManagers/LinuxGSM 的全部 Issue
相似的 Issue
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 85/100
ysb3996-blip/oops#51 ·
维护者通常 1 天内回复
-
documentation severity: low
难度 1/5 1 小时以内 新手友好度 88/100
luainkernel/lunatik#2231 ·
维护者通常 1 天内回复
-
diagnostics good first issue testing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Remove leftover Cloud66 custom_web process from Procfile可能已有人在做 @ShahadatTest 今天认领。 未关闭Difficulty: Easy Good First Issue
难度 1/5 1 小时以内 新手友好度 88/100
rubyforgood/casa#7330 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
n8n-io/terraform-google-n8n#58 ·
维护者通常 17 天内回复