IllegalStateException: Versions mismatch: the configuration version is 958 but the database version is 976
Answered
Hi,
What's the best practice for fixing this? I am seeing this error when trying to start a backup. I believe this only started happening once upgrading to TeamCity Enterprise 2021.1 (build 92597).
Thanks,
Mishael
Please sign in to leave a comment.
Hi,
A version mismatch indicates that the data directory and database are not on the same data format versions. Does your upgraded TeamCity instance run? How are you attempting to make your backup?
Thanks,
Eric
Our TeamCity instance has been running great since the upgrade afaik, except for this backup. The upgrade seemed to go without hiccups at the time, but just took a little longer as it had to go through a database format upgrade. We are using an external mySQL database for the server. Nothing seemed to go on out of the ordinary.
We have a config that is scheduled to trigger the backups, but even directly starting a backup in Server Admin > Backup is failing.
That seems very strange to me. Could you please send me the teamcity-server.log covering the period of time the backup was started through the web UI?
Thanks, can you look for the most recent server startup to see if you can find the data directory location? You should find something like:
The TeamCity Data Directory "/data/teamcity_server/datadir" exists
And
Data Directory version: 976
Mishael Kim How did you go about fixing this issue?