Problems with the agent after updating Java 21
Hi, I recently had a problem with my TeamCity application. I wanted to update Java 17 to Java 21 because TeamCity required the new version. On my AWS EC2 server, I have a service focused on TeamCity. I connected to the terminal and updated it from there. I restarted TeamCity using commands. The agent had already been updated when I tried to build, but I got an error: the TeamCity connection to my GitLab was lost, and it wouldn't deploy. I decided to create a new token, configured it in the TeamCity build, and the connection was successful. However, the build process wouldn't start when I clicked "Run." Everything I built, although it was successful, on my displayed page it only shows a 500 error. Please help.
Please sign in to leave a comment.
Hi,
Thanks for reaching out. To investigate this, we need a bit more information about your setup and the errors you are seeing. Could you share the following?
teamcity-server.log.teamcity-server.logexcerpts cover two moments:java -versionfrom the machine running the TeamCity server.Large files can be uploaded via https://uploads.jetbrains.com/. Please let us know the exact id after the upload.
Looking forward to your reply.