[Bug]: 7 Days to Die server doesn't start, Permission denied.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从第 123 行的 lgsm/modules/command_debug.sh 和 ./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
- 平均合并
- 17 小时 33 分钟
- 30 天内合并 PR
- 104
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GameServerManagers/LinuxGSM 的其他 Issue
-
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 一周以上 新手友好度 8/100
GameServerManagers/LinuxGSM#5047 · 1 条评论 ·
维护者通常 1 天内回复
-
command: monitor type: feature
难度 3/5 半天 新手友好度 42/100
GameServerManagers/LinuxGSM#4995 ·
维护者通常 1 天内回复
-
feat(core): report a clear error when the configured branch doesn't exist可能已有人在做 @dgibbs64 于 7 天前认领。 未关闭type: feature
难度 3/5 半天 新手友好度 45/100
GameServerManagers/LinuxGSM#4994 ·
维护者通常 1 天内回复
查看 GameServerManagers/LinuxGSM 的全部 Issue
相似的 Issue
-
bug raised-by:verifier
难度 2/5 1-3 小时 新手友好度 79/100
medici-finance/assay#4008 ·
维护者通常 1 天内回复
-
bug: `curl NAME` exports an unquoted, uninterpolated command that is not runnable可能已有人在做 @dannyward630 今天认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
yunaremaia/git-api#61 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
cloudflare/skills#247 ·
维护者通常 1 天内回复
-
Update nwg-panel to 0.12.3可能已有人在做 @zen0bit 今天认领。 未关闭package-update
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area: cli difficulty: easy dx good first issue hacktoberfest help wanted rank: 8 kyu
难度 1/5 1 小时以内 新手友好度 88/100
tdk-landscape/tdk-cli-core#1836 ·