I'm running Teamcity on Debian and have been for years quite reliably. Today I restarted it to load a new plugin and it is suddenly extremely unhappy - it doesn't load most of the Projects and the UI is in a very confused state.
In the logs and UI I see a lot of errors like:
Critical error in configuration file /data/teamcity/.BuildServer/config/projects/Project25Internationalisation/buildTypes/bt1156.xml:
Build configuration template with external id "btTemplate55" does not exist
We recently moved some Project into sub-Projects, could this have caused the problem?
As an example of the problem, when I click on the Projects drop-down I see the error:
This was not supposed to happen. Please provide the error details to your TeamCity server maintainer.
If you maintain this TeamCity installation please report this error to JetBrains.
Error message: Projects model is not loaded yet
TeamCity: 8.0.1 (build 27435)
Operating system: Linux (2.6.32-5-amd64, amd64)
Java: 1.6.0_26-b03 (Sun Microsystems Inc.)
Servlet container: Apache Tomcat/7.0.37
Stack Trace: java.lang.IllegalStateException: Projects model is not loaded yet
Any ideas? This is a critical server for us as it handles all our builds and deployments, so I'm really unhappy that it has suddenly broken after a restart :(