mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2619] [BUG] SteamCMD Download Unnecessary Files #1900
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#1900
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 @BlackYuzia on GitHub (Nov 27, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2619
User Story
As a user, I want get update server, but I desired what LGSM (steamcmd) was download only updated files so that will require less space than now.
Basic info
Further Information
Sometimes (50/50), when (CSGO) server was start update.
SteamCMD download unneeded files (what didn't get updates)
For example: This is a full list of maps.
Also, since it (SteamCMD) downloads these unnecessary files, if there is not enough space,
the servers may not update at all. This is bad.
To Reproduce
Steps to reproduce the behaviour:
steamapps > downloading > 740 > csgo > mapsfolder // Sometimes, u will get unnecessary files what didn't update but downloaded.Expected behaviour
I expected was on start update of server, LGSM (maybe this is trouble in SteamCMD, I don't sure) was download ONLY updated files. I didn't use
validateoption for download all files (example: maps or etc)If u need more info - call me.
Maybe other users have the same troubles.
@issue-label-bot[bot] commented on GitHub (Nov 27, 2019):
Issue-Label Bot is automatically applying the label
type: bugto this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
@Septembers commented on GitHub (Nov 27, 2019):
I acknowledge this issue.
On my dedicated server, 5-7 gigabytes are free. I can’t update the server through ./csgoserver update because absolutely all the maps are downloaded to the folder csgoserver/serverfiles/steamapps/downloading/740
@dgibbs64 commented on GitHub (Nov 27, 2019):
This looks like the sort of issue that Valve need to address
@BlackYuzia commented on GitHub (Nov 27, 2019):
I hope it's not true.
Volvo and fixes... no, pls no...
@dgibbs64 commented on GitHub (Nov 27, 2019):
Looking at the build history of CS:GO the size of the server has recently increased 2.19GB 9 days ago ( #7226006)
https://steamdb.info/app/740/history/
I would suggest that this might be the cause of the issue. My understanding is that SteamCMD will first download the files it needs into the steamcmd directory then copies them across to the serverfiles directory. This would cause the size of the game server to temporarily increase. Normaly this would be fine if the change is relatively small. However, if a big change happens (say 2GB) all at once this could cause an issue with servers that have limited storage.
@dgibbs64 commented on GitHub (Nov 29, 2019):
There are now three issues that appear to be the same. Please, can you post the output of
./csgoserver post-details@dgibbs64 commented on GitHub (Nov 29, 2019):
#2624 #2623 #2619
@BlackYuzia commented on GitHub (Nov 29, 2019):
@dgibbs64
https://hastebin.com/owesececuf
@dgibbs64 commented on GitHub (Nov 29, 2019):
@BlackYuzia Looking at your output it appears you only have 2.7GB free space which would not be enough to handle any large update (as happened a few days ago). So basically there is not enough breathing room on your server to handle updates. I will wait the output of others and if there is a simular issue it may confirm that is the problem.
The problem only occurring on CSGO servers.
There are plans to record game server size to give recommendations on disk requirements in the future.
@Septembers commented on GitHub (Nov 29, 2019):
Hi. I had 6GB of free disk space, but I could not install the update, which took up 250 megabytes. Because with ./csgoserver update - absolutely all default maps were downloaded (which I do not need). because of this there is not enough disk space.
Is it possible to make a setting in which default (standart) maps will not load during the update?
There is simply a problem, sometimes the server updates normally, and sometimes it wants to download all the standard maps.
if the problem recurs, I will write to you.
sorry for my eng
@dgibbs64 commented on GitHub (Nov 29, 2019):
@Septembers the update may have only taken up 250MB more in serverfiles but depending upon the files that have changed it may have meant SteamCMD needs to download several GB worth of files to replace existing files.
For example, if a map that's 300MB file has increased by 20MB SteamCMD will still have to download the whole 320MB updated file and then replace it. If an update changes a whole bunch of files that are large SteamCMD may have to download several GB worth of files to replace the existing files. It appears that SteamCMD downloads the whole update into a cache before applying it to serverfiles. This would balloon the disk space required drastically while the update is being downloaded.
Looking at the recent update history of CS:GO it appears that most of the maps have been updated so I think the extra files you are seeing are actually required in this instance.
This is my understanding of how it works but I may be wrong about this. When we do start releasing recommendations or disk space I will be taking this sort of issue into account and add a % extra.
@CatRuby commented on GitHub (Nov 29, 2019):
Обновление: фатально: update_steamcmd.sh выход с кодом: 1 #2623
./csgoserver postdetails
https://hastebin.com/utulazodaf
@CatRuby commented on GitHub (Nov 29, 2019):
I also decided to provide
./csgoserver postdetails
from a server that is updated without problems, it is on the same hard drive, on the same PC, but under a different user. There were no problems with automatic updating on this server, on all others there were
https://hastebin.com/xefitesada
@Septembers commented on GitHub (Nov 30, 2019):
I have 8 CS: GO servers. Somewhere normally updated, but somewhere not. Therefore, I am confused.
@CatRuby commented on GitHub (Dec 4, 2019):
Today the error repeated, 1 out of 7 servers were updated (
On everyone else, here's a mistake
05: 03: 06.160 csgoserver: UPDATE: FATAL: Checking remote build
05: 03: 06.164 csgoserver: UPDATE: FATAL: update_steamcmd.sh exiting with code: 1
@CatRuby commented on GitHub (Dec 4, 2019):
I ran the ./csgoserver ul command now and saw that many functions had been updated over the past few days, including Monitor and update, maybe the problem has already been solved, but I'm not sure if I can somehow check without waiting for the valve to update?
@CatRuby commented on GitHub (Dec 5, 2019):
another update in cs go and again 1 out of 7 was updated, I ran the command ./csgoserver postdetails for both servers. Which is updated itself and for one that is not
A server that updates without problems
https://hastebin.com/peroyequqa
A server that is having problems updating
https://hastebin.com/keqequkebe
Hope this helps
@CatRuby commented on GitHub (Dec 6, 2019):
I decided to attach the csgoserver-script logs of two servers, 1vs1 which is updated without problems, Pub which is experiencing problems. Maybe someone will see a solution to the problem
logs 1vs1.log
logs pub.txt
@Septembers commented on GitHub (Dec 10, 2019):
Again, with csgoserver update, all maps are loaded
@Septembers commented on GitHub (Jan 7, 2020):
each update is the same. All default maps are uploaded to the server during the server update. on my other servers this is not what is wrong?
@dgibbs64 commented on GitHub (Mar 10, 2020):
I am currently unsure on the solution apart from ensuring you have a large enough hard disk to handle this. There is nothing I can directly do as it is a bug with SteamCMD which is maintained by Valve
@github-actions[bot] commented on GitHub (Mar 11, 2021):
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.