Page 1 of 1

backend.jar: Incorrect schema version?

Posted: 09 Oct 2013, 13:13
by tobascodagama
I just did a fresh install of tt-irc on shared hosting (I know, I know). I managed to get it set up, I imported the schema like the installation instructions said, created a config.php, compiled backend.jar and configured its options, all of that.

When I attempt to run backend.jar after the initial configuration, though, it connects to the database and then closes with "SEVERE: error: Incorrect schema version." Like I said above, it's a fresh installation, and I imported the schema from the same version of tt-irc that I built backend.jar on. I have version 0.8 of tt-irc, and the schema version in the database shows "8". Since the column is an int type, I assume this is correct.

Any ideas what I might have missed?

Re: backend.jar: Incorrect schema version?

Posted: 09 Oct 2013, 13:29
by fox
I'm not sure what exactly you were installing but current tt-irc schema version is 9:

https://github.com/gothfox/Tiny-Tiny-IR ... l.sql#L156

Maybe you have downloaded wrong files? Get latest source from github.

Re: backend.jar: Incorrect schema version?

Posted: 09 Oct 2013, 13:40
by tobascodagama
Ah, I see the problem. I'm using mysql, and the mysql schema file on github still uses "8" for the version number. I simply changed it to "9" in my DB, and the backend.jar runs now.

Re: backend.jar: Incorrect schema version?

Posted: 09 Oct 2013, 13:43
by fox
Mysql is not supported and you can't just do what you did, things will break. It's your prerogative of course but please don't ask for further support here.

e: I guess this is partially my fault that half-working mysql stuff could be enabled but it is mentioned on the project frontpage that you *can't* use it. I have removed the relevant code from trunk.