Web Application Did Not Spin Up After Updating a Plugin
I need to update the Octopus Deploy plugin for Team City on our Team City Enterprise 2017.2.3 (build 51047) installation.
I attempted this last week, following the instructions here.
This attempt went sideways. Even though I was able to restart the Team City service after dropping in the zip file, the web interface would not come up. At all.
Fortunately, we took a server snapshot before the operation and were able to revert the whole VM back to a working state.
Is there any reason that we were not able to get the web application working again?
Are those instructions still valid for upgrading a plugin?
Obviously, we are not to eager to have this happen again as the infrastructure guys really don't like reverting server snapshots.
Thanks
Please sign in to leave a comment.
Hi David,
the instructions for current versions are here: https://confluence.jetbrains.com/display/TCD18/Installing+Additional+Plugins
This said, they haven't really changed all that much, you can install them via the UI now. It's very unlikely that the problem was generated by the process. If that would happen again, then I'd recommend gathering the logs from the server. In particular, the teamcity-server.log file might indicate what is going on, but if the issue is with tomcat or other intermediate parts, then it might also not contain all the information and you'd need to check the respective issues. Make sure you are using a plugin compatible with 2017.2, major versions are usually incompatible with each other in terms of plugins.
I'd recommend checking on a test server, you shouldn't really need build configurations, build data or more than 3 agents for that. If it doesn't replicate, I'd then set up a test server this time restoring a backup of your main server, to see whether there is some weird interaction between some data you already have and the plugin. It might also be an interaction between two plugins if you have more.
Also please consider reporting this to Octopus if it replicates. They might be aware of issues or might need to be made aware of them.