mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2260] Teamspeak3 server installation issues with MariaDB #1719
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#1719
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 @visdmin on GitHub (Apr 6, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2260
User Story
If trying to install the TeamSpeak3 server, and use MariaDB as database installation will be successfully completed, but user will not be able to start the server using the MariaDB configured, because generated database connection configuration has syntax error due typo in the installation script, and user is not able to input database socket path in the installation process.
Installation process does not ask user for path to MariaDB socket, which makes the server unable to connect to the database ( at least in my system ), but teamspeak3 server will start successfully. If you fix the ts3db_mariadb.ini after installation and start your server, you will not be able to use the MariaDB.
Configuration file ( ts3db_mariadb.ini ) generated by the installation process in install_ts3db.sh has issues because typo in the script and i think that user should be able to input the path to the MariaDB socket.
First echo is probably not intentional, and will get written in to the ts3db_mariadb.ini - line 35
Basic info
Further Information
Issue n.1 typo in install_ts3db.sh - line 35
Issue n.2 install_ts3db.sh script does not ask user for database socket path.
Issue n.3 install_ts3db.sh libmariadb.so.2 is not copied from serverfiles/redist/ -> serverfiles/ if the file is not found in serverfiles/, even the libmariadb.so.2 is always included in teamspeak3 server files under redist/.
To Reproduce
Steps to reproduce the behaviour:
./ts3server install)cp serverfiles/redist/libmariadb.so.2 serverfiles/./ts3server install)TeamSpeak3 server will be started and connection to the MariaDB fails due incorrect syntax or because socket incorrectly defined, anyways connection fails, and ts3 server fallbacks to the sqlite database and creates one.
Fix the ts3db_mariadb.ini and add your path to the socket.
./ts3server start( Server starts and is now using the MariaDB database correctly. )Expected behaviour
User should be able to input the path to the database socket in installation process, so server would work right after installation process with need to find the database connection configuration file and fixing it.
Typo in install_ts3db.sh line - 35 should be fixed so that user does not have to find it and fix it after the installation, and server would function as expected right from the start.
Installation script should try to cp the libmariadb.so.2 file from redist/ and place it in to the correct place if user is trying to configure the ts3 server to use MariaDB while installing.
This can be annoying for the new users, and requires the user to do some googleing to find out what to do.
I have already made required fixes to the install_ts3db.sh and the changes have been pushed to my fork https://github.com/Vis25/LinuxGSM
I will be creating pull request to fix this issue.
Best regards,
visdmin
06.04.2019
@visdmin commented on GitHub (Apr 6, 2019):
This issue ( or issues ), are fixed by these changes in my fork.
github.com/Vis25/LinuxGSM@8d0edf32fcgithub.com/Vis25/LinuxGSM@99fba6cb29Here is how the installation process looks like after these fixes.
Here is the generated ts3db_mariadb.ini
@dgibbs64 commented on GitHub (Apr 6, 2019):
The detail is amazing. Thank you for the effort!
@visdmin commented on GitHub (Apr 6, 2019):
Hope we can get this resolved so someone's life will be easier in future !
Great to hear that my research, and reporting was well done ( First time working with GitHub project ).
@lock[bot] commented on GitHub (Apr 25, 2020):
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.