Wanted to make sure that I can do the upgrade straight there before typing rest out in case that was part of the problem...
I'm running the server with a MySQL database currently. The process I followed was:
- Stopped the server
- copied the database to a new database (teamspeak3_maria)
- ran the 'convert_mysql_to_mariadb.sql' script on the new database (no issues)
- ran the 'mariadb_fix_latin_utf8.sql' script on the new database (no issues)
- uploaded the 3.5.1 files to the server ensuring overwrite**
- updated 'ts3db_mysql.ini' with new database name and user and renamed to 'ts3db_mariadb.ini'
- updated 'ts3server.ini' with mariadb details
- copied 'libmariadb.so.2' to the TS root directory (also tried renaming this 'libmariadb.so')
- started server
**I've also moved tried with moving all files to an '_old' directory and only having the new files uploaded along with 'ts3db_mariadb.ini' and 'ts3server.ini' and had the same issue.
On screen, I get this message:
Code:
command 'pwd'
failed with return code 0 and error message
ts3server has crashed. A crashdump has been generated at "/home/modsim-ts/crashdumps/ts3server_3_6_1_linux_amd64_6d9d-9db2-9c33-e5d8.dmp".
From the logs:
Code:
2019-02-07 15:23:54.186351|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH
2019-02-07 15:23:54.186423|INFO |DatabaseQuery | |dbPlugin version: 2
2019-02-07 15:23:54.187680|ERROR |DatabaseQuery | |Could not connect to mariadb server: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
2019-02-07 15:23:54.187772|CRITICAL|ServerLibPriv | |Server() unable to initialize database
I've uploaded a database connection check script with the details taken from 'ts3db_mariadb.ini' and it connects correctly and shows all tables in the database without issue. I've also checked with the host and they confirm that this database is running on MariaDB.