[Bug]: Craftopia saves to serverfilesDedicatedServerSave outside serverfiles

Đang mở
#5,130 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dgibbs64 đang làm issue này rồi.

Từ ngày 1/11/2026.

  • #5131 của @dgibbs64 — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
Shell
Star
4.9k
Fork
871
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
133

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GameServerManagers/LinuxGSM

Tất cả issue của GameServerManagers/LinuxGSM

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.