Issue when restarting teamcity: Found a TeamCity schema when expected an empty database
I restarted my team city server instance and now i get the error
Found a TeamCity schema when expected an empty database
Any idea how i can fix this.......its been running for over a month without an issue.
Please sign in to leave a comment.
so i looked and it seems the data directory, it contains logs and temp but not teamcity_server does this help at all?
Hi Matthew,
the data directory contains none of logs or temp, those are on the installation directory. The data directory is by default named ".BuildServer" and found on your local user's data folder. https://confluence.jetbrains.com/display/TCD18/TeamCity+Data+Directory
This error is pretty strange because it indicates that it has actually found existing TeamCity tables in the database while the data directory is empty. The data directory holds things like the connection to the database, the projects and configurations or artifacts and caches. This error might indicate that either it got corrupted somehow. Please locate the data directory and check whether there is something noticeably missing in there (from the description provided in the link above). If it's missing, ideally you would restore it from a backup.
Yes it seems that the aws cloud formation template from team city has auto scaling and I actually deletes the volume that files where stored on and the reboots a new instance. So I'm in the process of setting stuff back up.