Build history removed but not the artifacts after upgrade to 9.1.3
Hello,after upgrading TeamCity Enterprise from 8.1.5 to 9.1.3 the history of all builds has been removed. Nothing is shown in the UI but the build artifacts still exist on the server. Can the history be restored?Cleanup was running for 12h with progress of 0%. (Current stage: Executing global cleaner (1 of 20): BackgroundBuildDataCleaner) No error shown in the log.What is the recommended way to delete artifacts of the deleted history builds?Also all users have been removed.And all VCS roots have been somehow changed and now the generated checkout folder name changed. We have many large repositories which will have to do a clean checkout now.Regards,Helios
Please sign in to leave a comment.
Hi Helios,
It seems like there are some problems with database. The build history, users and their data are stoed in database. What type of database do you use? Did you configured correctly the databse.properties file? Did the upgrade go smoothly?
Could you please attach teamcity-server.log file?
Could you please attach zipped full teamcity-server.log.* files?
Attachment(s):
teamcity-server.log.zip
Unfortunately the upgrade log is rotated out. Could you please restore from the backup and try to perform the upgrade again? Before upgrade please increase the value of maxBackupIndex property.
Could you please describe how did you perform the upgrade step by step? Also please go to Administration > General Settings page and check that Data Directory on this page is correct and it is the same as the directory where previously created artifacts are stored.
If you are not able to restore the production server and perform the upgrade again, then could you please create a copy of TeamCity server from backup, upgrade this server and send us the resulted logs? Alternatively you can send us the backup and we will try to run upgrade on our side.