Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Update leaves old files behind (Gameserver detects mismatch)

Aperta
#4,920 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
shell
Ambito
cli, devops

Direzione di ricerca

Inizia con il comando vintsserver update e riproduci l'aggiornamento da Vintage Story 1.22.1 a 1.22.2. Esamina come vengono gestiti i file in serverfiles/assets, quindi verifica che il vecchio indicatore di versione venga rimosso, che il nuovo indicatore rimanga e che l'avvio non segnali più file non corrispondenti in console.log.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

command: update distro: Ubuntu engine: vintagestory game: Vintage Story regression: yes reproducible: always severity: low type: bug
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
  1. Install an older version (e.g. 1.22.1)
  2. Update to the newest version
  3. Start the server
  4. Check the console.log ("Your Server installation still contains old files")
  5. Check the serverfiles/assets directory for duplicate version files (version-1.22.1.txt version-1.22.2.txt)
Lingua principale
Shell
Stelle
4.9k
Fork
870
Merge medio
1g 17h
PR unite (30g)
46

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GameServerManagers/LinuxGSM

Tutte le issue di GameServerManagers/LinuxGSM

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.