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?
backend.jar: Incorrect schema version?
-
- Bear Rating Trainee
- Posts: 2
- Joined: 09 Oct 2013, 13:00
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: backend.jar: Incorrect schema version?
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.
https://github.com/gothfox/Tiny-Tiny-IR ... l.sql#L156
Maybe you have downloaded wrong files? Get latest source from github.
-
- Bear Rating Trainee
- Posts: 2
- Joined: 09 Oct 2013, 13:00
Re: backend.jar: Incorrect schema version?
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.
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: backend.jar: Incorrect schema version?
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest