[Bug]: Craftopia saves to serverfilesDedicatedServerSave outside serverfiles

Aperta
#5,130 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@dgibbs64 ci sta già lavorando.

Dal 1/11/2026.

  • #5131 di @dgibbs64 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

command: backup command: start distro: Ubuntu engine: unity3d game: Craftopia info: docker reproducible: always severity: medium status: fixed in develop type: bug
Severity

severity: medium

Reproducibility

reproducible: always

Regression

regression: no

Affects latest release

latest-release: yes

User story

As a Craftopia server owner, I want my worlds saved inside the server files so that backups and container volumes keep them.

Script name

ctserver

Game

Craftopia

Linux distro

Ubuntu 26.04

Command

command: start, command: backup

Expected behavior

Craftopia saves to serverfiles/DedicatedServerSave/.

Actual behavior

Craftopia saves to a folder beside serverfiles called serverfilesDedicatedServerSave/ (for example /data/serverfilesDedicatedServerSave/ in the Docker image), which holds Worlds/*.db, Backup/, Settings.db and Craftopia.db.

Further information

ServerSetting.ini ships with savePath=DedicatedServerSave/, which the game documents as "relative path base on ServerSetting.ini folder or absolute path". The game joins the install folder and the relative value with no separator between them. It does this whatever the working directory, and however the executable path is given.

Results from a clean install:

savePath Saves land in
DedicatedServerSave/ serverfilesDedicatedServerSave/
./exp/ serverfiles./exp/
/exp/ /exp/ (treated as absolute, permission denied)
/full/path/serverfiles/exp/ serverfiles/exp/

An absolute path is the only value that lands inside serverfiles. On a normal install the stray folder is still under the home folder, but with Docker or a custom layout it falls outside the LinuxGSM folder and is easy to miss in backups.

Pre-checks
  • I ran update and validate before reporting this issue.
Relevant log output
$ ls -d /data/serverfiles*
/data/serverfiles
/data/serverfilesDedicatedServerSave
Steps to reproduce
  1. Install ctserver (or run the gameserver:ct image).
  2. Start the server and let it autosave.
  3. List the folder above serverfiles: serverfilesDedicatedServerSave is there.
Lingua principale
Shell
Stelle
4.9k
Fork
871
Merge medio
1g 7h
PR unite (30g)
133

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.