mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2669] [BUG] Don't restart server after update (duplicate) #1931
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#1931
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 (Jan 7, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2669
@borzaka
In this update I get the same bug with didn't restart servers like in this issue: #2025
Issue was closed, but I can't reopen it, so I create this one...
Scripts logs:
I can give more logs with the same trouble after today update and without it.
Just say what logs do u need.
@issue-label-bot[bot] commented on GitHub (Jan 7, 2020):
Issue-Label Bot is automatically applying the label
type: bugto this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
@borzaka commented on GitHub (Jan 7, 2020):
Can you show us your cronjobs? My new guess is that you are running a job at every 5 to 10 minutes, and the update is not able to finish during this time period and therefore the break.
BTW, you should probably use https://github.com/GameServerManagers/LinuxGSM-Support for support, or the Discord channel for asking for help.
@BlackYuzia commented on GitHub (Jan 8, 2020):
@borzaka
On both servers (where have and didn't have this bug) crontabs the same.
I think what LGSM have check, if update is didn't complete. Didn't do anything. No?
@borzaka commented on GitHub (Jan 10, 2020):
In my opinion, you shouldn't monitor your csgoserver in every 5 minutes. No need to. Because they are rarely crashes, and if so, they automatically restart. I haven't setup a monitor command for my community csgoservers. And they are stable.
I'am almost sure, when an update happens, a monitor command kicks in, and starts the server with an unfinished update.
LGSM didn't know that an update is happening. monitor command just sees that a server is not running and starts is.
Correct me, if I'am wrong, but I'am sure, that the 5 minute monitor is unnecessary.
@dgibbs64 commented on GitHub (Jan 10, 2020):
@borzaka monitor should detect when an update is happening and do nothing. If not then there may be a bug
@BlackYuzia commented on GitHub (Jan 10, 2020):
two words about "always auto restart".
Is not true. I get second time trouble, when server just freeze and don't restart.
So, how I think, monitor functin is need. But ... maybe delay should be 10 min or more...
SETUP IT TO 1 MIN@borzaka commented on GitHub (Jan 11, 2020):
In my experience when a csgoserver crashes (segmentation fault for example), it auto restarts, and sometimes crashes again :) So it can stuck in restart loops. This can be because some update broke the games 3rd party plugins. Only way to fix this is to update the plugins, or disable them
Yes, probably it can freeze too for good.
If someone interested, this is my cronjobs for a csgoserver:
I don't use monitor frequently, because I'am afraid that if a monitor checks my instance, it will find that it's not running and tries to start it:
@CrazyHackGUT commented on GitHub (Jan 11, 2020):
@borzaka you can't open crontab for your user or what?)
If you like executing commands as
rootuser, you should discover optional argument-userfor crontab command. https://linux.die.net/man/1/crontab orman crontabin shell.@borzaka commented on GitHub (Jan 11, 2020):
I have multiple game modes separated into different users, so it's easier to my me to handle the cronjobs in one place.
I got this from the official docs:
https://docs.linuxgsm.com/configuration/cronjobs#real-life-multiple-servers-example
How would you change my cronjobs according to your recommendation?
@BlackYuzia commented on GitHub (Jan 30, 2020):
@borzaka @dgibbs64 today (01/29) csgo has been update.
How we can see, do not all servers get fully update. (actualy - restart)


If we try check update by command:
./csgoserver uWe get message about already up to date:
after restart server, version was changed.
This is Bug with a monitor? 🤔
@BlackYuzia commented on GitHub (Jan 30, 2020):
After restart all servers (execute selected, he didn't update, I get different version of current build... maybe my fail) version of build was changed:

@dgibbs64 commented on GitHub (Mar 10, 2020):
@BlackYuzia looking at your logs in issue #2700 I think you may not be running the latest version of LinuxGSM for one for your servers that are having an issue. Please can you make sure your servers are fully up to date
./csgoserver update-lgsm.@BlackYuzia commented on GitHub (Mar 10, 2020):
Okey. I check (and update) all servers to latest (LGSM) vesrion (maybe again?).
Then, on update I will feedback again.
@dgibbs64 commented on GitHub (Mar 10, 2020):
@BlackYuzia thanks. I am unsure if that will help. But I am also not sure how best to resolve this problem.
It appears to me that the issue is that an update fails to complete but is reporting to LinuxGSM that it has updated. Meaning that when the update checks again it thinks the server has updated when it hasnt.
@dgibbs64 commented on GitHub (Jul 29, 2020):
Work has been done on resolving issues with updating for multiple instances. This should hopefully be resolved now
@github-actions[bot] commented on GitHub (Jul 30, 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.