[Bug]: Craftopia saves to serverfilesDedicatedServerSave outside serverfiles

オープン
#5,130 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@dgibbs64 がすでに取り組んでいます。

2026年11月1日 から。

  • #5131 @dgibbs64 による — マージ済み

評価

この issue はまだ評価されていません。

説明

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.
主要言語
Shell
スター
4.9k
フォーク
871
平均マージ
1日 7時間
マージ済み PR(30日)
133

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GameServerManagers/LinuxGSM のほかの issue

GameServerManagers/LinuxGSM の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。