mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #3271] [BUG] Updating csgoserver: SteamCMD: Unknown error occured #2266
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#2266
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 @EvanChrisp on GitHub (Feb 18, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3271
User Story
As a user, I want a better error message so that i am able to debug easier.
Basic info
Further Information
I have 2 CSGO servers and the maps folder is symlinked so that I can save time and storage. But when I updated the 2nd server i received the error
Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Error! App '740' state is 0x606 after update job. Error! Updating csgoserver: SteamCMD: Unknown error occured Failure! Updating csgoserver: SteamCMD: Did not complete the download, too many retrysIt took me a while to debug, but i finally realised it was because the 2nd server user didnt have write permissions to the linked maps folder. I imagine this error would happen with most games if the game files are symlinked.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
This can be fixed by giving write permissions to the 2nd user. But an error message explaining the permissions issue would help people with this issue in the future.
@rconjoe commented on GitHub (Feb 18, 2021):
This isn't a bug in LinuxGSM. As symlinked files to not have independent permissions and inherit the permissions of the files they point to, this behavior is expected.
@dgibbs64 commented on GitHub (Feb 18, 2021):
This will be an interesting one for the docs. I am compiling a list of errors for steamcmd
https://docs.linuxgsm.com/steamcmd/errors#error-0x606
We have no info on the error itself. If still available @EvanChrisp please can you provide the steamcmd content.log
https://docs.linuxgsm.com/steamcmd/errors#steamcmd-logs
It would suggest that a permissions issue caused the problem. This is normally picked up by LinuxGSM but since there is an edge case of using a symlink it probably missed it.
Re-opening to to gather more info on the error message. Once confirmed LinuxGSM we can update the docs and will be able to output a usage error message here https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/core_dl.sh#L89
@EvanChrisp commented on GitHub (Feb 18, 2021):
Hopefully this helps.
content_log.txt
@dgibbs64 commented on GitHub (Feb 18, 2021):
@EvanChrisp thats brilliant thanks.
Pretty much confirms the permissions issue.
I'm assuming this is the symlink?
@EvanChrisp commented on GitHub (Feb 18, 2021):
The symlink is just /home/csgoserver3/serverfiles/csgo/maps/, but it appears the file
/maps/cfg/guardian_op10_mirage_b.cfggot updated in todays CSGO update, so i assume that was the reason it was attempting to write to the /cfg/ folder@github-actions[bot] commented on GitHub (Dec 21, 2022):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.