#Servatrice Error - Invalid Metadata Version

24 messages · Page 1 of 1 (latest)

plain blaze
#

I feel like I'm so close here. I've gotten tot he point where I just need to fire up the server, and i seem to be stuck where it is trying to load a MySQL Driver and failing.

At first, it turned otu that the driver itself was just missing, and I found https://github.com/Cockatrice/Cockatrice/issues/4168

I tried a few of the latest versions of the driver, but keep getting the error in the title "Invalid Metadata version" when it tries to load the qmysql driver.

I would love to get this working! Thanks all 😄

stuck ocean
#

could you give some information on the system? what's the output of servatrice when it starts?

plain blaze
#

windows 11 using MySQL Community. I've already created the database and imported the schema and created a user for it to use, but when I attempt to run the servatrice executable, it comes back with this:

https://mort.cc/12FlT014e22.png

stuck ocean
#

looks like you are using the wrong version of the plugin, the 2.8.0 version on windows is built using qt version 5.12.9 but I'd recommend to use the master or latest beta version for servers which uses qt 6.3.2

plain blaze
#

I can switch the QT plugin around, but what do I gain from swtiching to the beta server? @stuck ocean

stuck ocean
#

fixes to serverside bugs present in 2.8.0 like the fact that qt versions before 5.15 didn't support limiting of message sizes received from clients

#

we deploy these to the public servers but we haven't made a full release yet

plain blaze
#

just installed the beta and seem to be running into basically the same issue "Error opening Database: Driver not loaded driver not loaded"

stuck ocean
#

it doesn't come with the database plugin still afaik

plain blaze
#

oh hold on.

stuck ocean
#

at least on windows

#

we don't have anyone that looked into that, all public servers run linux

plain blaze
#

See I'd rather be running this on linux. How do you make that happen when the server executable is an exe?

stuck ocean
#

by getting one of our linux packages or compiling from git

plain blaze
#

ooooh, I imagine the various packages for other OS's.

#

herp. yeeeeah, it hit me alllll too late.

stuck ocean
#

I'd highly recommend running on linux unless you want to help us find issues we don't know about, which we might appreciate more than you would

plain blaze
#

is there a way to run the server headless?

stuck ocean
#

there isn't a graphical front end in the first place

#

it however relies on qt

plain blaze
#

so it at least has to have those packages available.

stuck ocean
#

yes

#

we have comprehensive lists of required packages on our compilation page of the wiki

#

on most oses it's simply qt6 qtwebsockets mariadb/mysql and protobuf