[Bug]: 7 Days to Die server doesn't start, Permission denied.
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với lgsm/modules/command_debug.sh ở dòng 123 và entry point ./7DaysToDieServer.x86_64, sau đó tái hiện lỗi bằng ./sdtdserver debug trong thiết lập Docker rootless được báo cáo. So sánh quyền của tệp thực thi và các tệp được mount có liên quan đến lần khởi chạy đó; hoàn thành khi máy chủ khởi động mà không có mã thoát 126 và ./sdtdserver start chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 4.9k
- Fork
- 870
- Merge trung bình
- 17 giờ 33 phút
- Pull request đã merge (30 ngày)
- 104
Chuẩn bị môi trường
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.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GameServerManagers/LinuxGSM
-
engine: source game: Team Fortress 2 game: Team Fortress 2 Classified info: docker info: steamcmd type: bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
GameServerManagers/LinuxGSM#5094 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#5048 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
engine: unity3d engine: unreal4 Epic game: 7 Days to Die game: ARK: Survival Evolved game: Rust info: dependency type: feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
GameServerManagers/LinuxGSM#5047 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
command: monitor type: feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
GameServerManagers/LinuxGSM#4995 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(core): report a clear error when the configured branch doesn't existCó thể đã có người làm @dgibbs64 đã nhận 7 ngày trước. Đang mởtype: feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
GameServerManagers/LinuxGSM#4994 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GameServerManagers/LinuxGSM
Issue tương tự
-
bug raised-by:verifier
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
medici-finance/assay#4008 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: `curl NAME` exports an unquoted, uninterpolated command that is not runnableCó thể đã có người làm @dannyward630 đã nhận hôm nay. Đang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
yunaremaia/git-api#61 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
cloudflare/skills#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update nwg-panel to 0.12.3Có thể đã có người làm @zen0bit đã nhận hôm nay. Đang mởpackage-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày