mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-24 21:56:01 +03:00
[GH-ISSUE #4773] [Bug]: 7 Days to Die server doesn't start, Permission denied. #2964
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dumuthy on GitHub (Mar 29, 2025).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4773
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 startcommand. 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/Storageafter the permission denied issue occurred. Docker is set to run in rootless mode.Since the
./sdtdserver startand the./sdtdserver debugcommands 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
Steps to reproduce
@Dumuthy commented on GitHub (Mar 31, 2025):
Update, this is not an issue with how the container is deployed. Dockge, Portainer, and even just command line will not work. Same results no matter what method is used to deploy the container. It's also not the permissions of the host file system, as all volume variables were removed and I allowed Docker to decide where volumes would be placed.
The issue appears to be in the "7DaysToDieServer.x86_64" executable permissions. When checking the permissions after logging into the container with
docker exec -it 7days sh, hunting the file down in~/serverfiles, and runningls -lon the file, the result is...-rwxr-xr-x 1 sdtdserver sdtdserver 14800 Mar 31 15:57 7DaysToDieServer.x86_64I do not know what they should be, so I'm leaving this open for now, as I don't want to attempt to change the permissions and create more issues that might make the problems worse.
@Dumuthy commented on GitHub (Apr 7, 2025):
Cross posted this issue/bug here...
https://github.com/vinanrra/Docker-7DaysToDie/issues/298