mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #826] fn_print_ok error and script version #666
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#666
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 @federicovilla on GitHub (May 22, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/826
Performed the update-functions command.. I got all the messages about removed functions/ files but in the last there was a message about fn_print_ok functions not available. Additional LGSM version ( ./insserver details) is still the previous one
@UltimateByte commented on GitHub (May 22, 2016):
Did you try to re-run the update-function ?
@federicovilla commented on GitHub (May 22, 2016):
insserver@hades:~$ ./insserver update-function
/home/insserver/functions/core_functions.sh: line 17: [: missing
]' /home/insserver/functions/core_functions.sh: line 20: [: missing]'/home/insserver/functions/core_functions.sh: line 23: [: missing `]'
@federicovilla commented on GitHub (May 22, 2016):
Tried to re-run the update-function...got the message above
@federicovilla commented on GitHub (May 22, 2016):
Ops...my fault the right command was update-functions, not update-function ( without 'a'), performed again the command...the version is still the old one
@UltimateByte commented on GitHub (May 22, 2016):
Now this core_functions errors is solved. After updating again, you shouldn't get that error anymore. It was just a matter of missing spaces in the code. (Bash can be mean sometimes :p )
You can run the short version : ./insserver uf
Will do the same.
So is everything solved now ?
@federicovilla commented on GitHub (May 22, 2016):
Just the script version is the old one in ./insserver details
@UltimateByte commented on GitHub (May 22, 2016):
This is normal. The version displayed in details is the "main" script's version. Update-function only updates functions. If you want the newer one, you'll have to wget the new script, and manually re-add your settings to it. Then i'd remove functions/ and lgsm/ folders to start over.
@federicovilla commented on GitHub (May 22, 2016):
Ok, so I'm fine with the updated functions did so far. Thanks for the support and great script
@UltimateByte commented on GitHub (May 22, 2016):
The 2 main things you'd get by updating the main script is the support for pushbullet (notifications on crash or update), and faster fetching for functions (using curl instead of wget). You'd also get rid of the "functions" folder that is now contained into the "lgsm" folder, which is a step further for future updates :)
You're welcome btw, thanks @dgibbs64 for this awesome udpate :)
@federicovilla commented on GitHub (May 22, 2016):
Mah...there is a core_functions file into the insserver/functions folder, can I delete it?
@federicovilla commented on GitHub (May 22, 2016):
And into the lgsm folder there are two sub folders: bin and functions, can I remove the lgsm folder as stated above? Sorry for asking, just to avoid issues
@UltimateByte commented on GitHub (May 22, 2016):
functions/core_functions is required to maintain compatibility if you're still using the old insserver script.
You can remove functions/ and lgsm/ folders as much as you want, LGSM will download them back if needed.
@UltimateByte commented on GitHub (May 22, 2016):
I guess it's fixed, closing, re-open if needed :)
@lock[bot] commented on GitHub (Jul 19, 2018):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.