[Bug]: 7 Days to Die server doesn't start, Permission denied.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
lgsm/modules/command_debug.sh の 123 行目と ./7DaysToDieServer.x86_64 エントリポイントから始め、報告された rootless Docker セットアップ内で ./sdtdserver debug を使って失敗を再現します。その起動に関係する実行可能ファイルとマウントされたファイルの権限を比較します。サーバーが終了コード 126 なしで起動し、./sdtdserver start が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
User story
Trying to install 7 Days to Die server using the vinanrra/7dtd-server image, which relies on lgsm for internal control actions of the server such as starting and stopping it. During install, everything goes smoothly up intill the actual gameserver attempts to start using the ./sdtdserver start command. At which point, the server fails to start with a "Permission Denied" error. Logs below.
Game
7 Days to Die
Linux distro
Other
Command
command: start
Further information
I chose Other for the distro because I'm running docker on Arch. I know, I know, don't run servers on bleeding edge distros. I'm working on that. However, I see no reason why this should be making a difference here. Also, my docker-root directory is a 5TB RAID volume mounted at /mnt/Storage, which I have ensured has correct permissions by running sudo chown -R 1000:1000 /mnt/Storage after the permission denied issue occurred. Docker is set to run in rootless mode.
Since the ./sdtdserver start and the ./sdtdserver debug commands equate to the same thing, but the latter gives details about the starting process, I've pasted logs of the debug command. Every other command that I have tried works perfectly fine, including update, update-lgsm, install, details, monitor, and validate. I'm not certain if any other information is needed, but I'm happy to provide it upon request.
Relevant log output
7 Days To Die Debugging
=================================
Distro: Ubuntu 24.04.1 LTS
Architecture: x86_64
Kernel: 6.13.8-zen1-1-zen
Hostname: 5b75e049e17d
tmux: 3.4
Avg Load: 0.42, 0.54, 1.34
Free Memory: 14GB
Free Disk: 4.6T
glibc required: 2.27
Game Server IP: 0.0.0.0:26900
Internet IP: 135.84.8.148:26900
Server password: NOT SET
Start parameters:
./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=/home/sdtdserver/serverfiles/sdtdserver.xml
Use debug for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If sdtdserver is already running it will be stopped.
Continue? [Y/n] Y
[ INFO ] Debugging sdtdserver: Stopping any running servers
[ SKIP ] Stopping sdtdserver: My Game Host is already stopped
[ OK ] Debugging sdtdserver: Starting debug
/home/sdtdserver/lgsm/modules/command_debug.sh: line 123: ./7DaysToDieServer.x86_64: Permission denied
[ ERROR ] Debugging sdtdserver: Server has stopped: exit code: 126
[ ERROR ] Debugging sdtdserver: Press ENTER to exit debug mode
Steps to reproduce
- Open Dockge in my browser and copy/edit config.yaml for the container.
- Click deploy container
- Watch everything succeed without so much as a single warning or error up until the ./sdtdserver start command is run in order to actually initiate the server instance within the container.
- Cry.
- 主要言語
- Shell
- スター
- 4.9k
- フォーク
- 870
- 平均マージ
- 14時間 50分
- マージ済み PR(30日)
- 109
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameServerManagers/LinuxGSM のほかの issue
-
command: start engine: unity3d game: Assetto Corsa priority: high scope: single game type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5099 ·
メンテナーはふだん 1 日以内に返信
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
GameServerManagers/LinuxGSM#5094 ·
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#5048 ·
メンテナーはふだん 1 日以内に返信
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
GameServerManagers/LinuxGSM#5047 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor type: feature
難易度 3/5 半日 初心者へのやさしさ 42/100
GameServerManagers/LinuxGSM#4995 ·
メンテナーはふだん 1 日以内に返信
GameServerManagers/LinuxGSM の issue をすべて見る
似ている issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melodic-software/claude-code-plugins#9619 ·
メンテナーはふだん 1 日以内に返信
-
area:ci area:kext enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug CLI documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
openai/codex#56630 · コメント 3 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bioconda/bioconda-recipes#70683 ·
メンテナーはふだん 1 日以内に返信