How to upgrade WAR for safety?

Then new build of TeamCity is available how to apply it to existing server (step-by-step)?
I like do not reconfigure and uninstall server, if it possible.

Thanks!

7 comments
Comment actions Permalink

u can just use the last war.
all configuration files are located in user home directory .BuildServer
so as long as u use the same user to launch buildserver or the servlet container, then u will retain all existing configurations.

0
Comment actions Permalink

There are still a couple things that I need to do with the war when I do an upgrade. If you are using a database other than the installed hsql, you will need to alter the datasource at:

WEB-INF/buildServerSpring.xml

If you are using mysql, you'll need to reinstall the jdbc driver into:

WEB-INF/lib

See the details at: http://www.jetbrains.net/confluence/display/TW/Download-Installation-Upgrade

As noted, the configuration is kept in ~/.BuildServer, so upgrading the war shouldn't cause a problem. On some releases, you'll need to remove the license file from "system", on others you must leave it.

--Tim

0
Comment actions Permalink

Thanks,

That about agents after WAR upgrade? How to upgrade agents?

0
Comment actions Permalink

Alexey Efimov wrote:

Thanks,

That about agents after WAR upgrade? How to upgrade agents?


No need to. They should be upgraded automatically.

Regards,
KIR



--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Just be be clear :)

I'm have Tomcat.
I have installed and configured WAR.
I have download agent MSI and install it manualy via installer.

It not need to upgrate MSI installation of agent after unpacking new WAR (with new agent MSI inside)?

0
Comment actions Permalink

Alexey Efimov wrote:

Just be be clear :)

I'm have Tomcat.
I have installed and configured WAR.
I have download agent MSI and install it manualy via installer.

It not need to upgrate MSI installation of agent after unpacking new WAR (with new agent MSI inside)?


yep.


--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Simple The Magic! :)

0

Please sign in to leave a comment.