Upgrade to TC901

Am upgrading from from 805 to 901. Have run the teamcity-startup.sh script and get the following in the log file.

However, I can't access the webui to get to maintenance mode. Essentially is telling me 404. Yet the java process appears to be running. I'm sure I'm doing something stupid, but if anyone can point it out, I'd sure appreciate it!

THanks!

[2015-02-02 15:33:25,710]   INFO -  jetbrains.buildServer.STARTUP - ===========================================================
[2015-02-02 15:33:25,710]   INFO -  jetbrains.buildServer.STARTUP - Starting TeamCity server
[2015-02-02 15:33:44,837]   INFO -  jetbrains.buildServer.STARTUP - TeamCity version: 9.0.1 (build 32116), data format version 709
[2015-02-02 15:33:44,851]   INFO -  jetbrains.buildServer.STARTUP - OS: Linux, User: root, JRE: 1.6.0_20-b02 Java HotSpot(TM) 64-Bit Server VM
[2015-02-02 15:33:44,851]   INFO -  jetbrains.buildServer.STARTUP - JVM parameters: -Djava.util.logging.config.file=/usr/local/TeamCity/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms750m -Xmx1200m -XX:MaxPermSize=270m -Dlog4j.configuration=file:/usr/local/TeamCity/bin/../conf/teamcity-server-log4j.xml -Dteamcity_logs=../logs/ -Djsse.enableSNIExtension=false -Djava.awt.headless=true -Djava.endorsed.dirs=/usr/local/TeamCity/endorsed -Dcatalina.base=/usr/local/TeamCity -Dcatalina.home=/usr/local/TeamCity -Djava.io.tmpdir=/usr/local/TeamCity/temp
[2015-02-02 15:33:44,852]   INFO -  jetbrains.buildServer.STARTUP - Garbage collection: PS Scavenge, PS MarkSweep
[2015-02-02 15:33:44,852]   INFO -  jetbrains.buildServer.STARTUP - Web server version: Apache Tomcat/7.0.57
[2015-02-02 15:33:44,853]   INFO -  jetbrains.buildServer.STARTUP - Server IP address: 10.9.1.69
[2015-02-02 15:33:44,853]   INFO -  jetbrains.buildServer.STARTUP - Servlet real path: /usr/local/TeamCity/webapps/ROOT/
[2015-02-02 15:33:44,854]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the TeamCity Data Directory
[2015-02-02 15:33:44,855]   INFO -  jetbrains.buildServer.STARTUP - TeamCity Data Directory path is determined using the environment variable TEAMCITY_DATA_PATH
[2015-02-02 15:33:44,855]   INFO -  jetbrains.buildServer.STARTUP - Data Directory "/opt/teamcity" exists
[2015-02-02 15:33:44,877]   INFO -  jetbrains.buildServer.STARTUP - The main configuration file "/opt/teamcity/config/main-config.xml" exists
[2015-02-02 15:33:44,877]   INFO -  jetbrains.buildServer.STARTUP - The database properties file "/opt/teamcity/config/database.properties" exists
[2015-02-02 15:33:44,877]   INFO -  jetbrains.buildServer.STARTUP - The internal database data file "/opt/teamcity/system/buildserver.data" doesn't exist
[2015-02-02 15:33:44,955]   INFO -  jetbrains.buildServer.STARTUP - Data Directory version: 628
[2015-02-02 15:33:44,955]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Looking for the database configuration
[2015-02-02 15:33:44,955]   INFO -  jetbrains.buildServer.STARTUP - Database properties file "/opt/teamcity/config/database.properties" exists
[2015-02-02 15:33:44,955]   INFO -  jetbrains.buildServer.STARTUP - Internal HSQL database file (/opt/teamcity/system/buildserver.data) doesn't exist
[2015-02-02 15:33:44,956]   INFO -  jetbrains.buildServer.STARTUP - Database connection URL: jdbc:mysql://localhost/teamcity
[2015-02-02 15:33:44,957]   INFO -  jetbrains.buildServer.STARTUP - Using database connection URL from the database properties file. The URL is: jdbc:mysql://localhost/teamcity
[2015-02-02 15:33:44,958]   INFO -  jetbrains.buildServer.STARTUP - Using external (MYSQL) database
[2015-02-02 15:33:44,958]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Connecting to the database
[2015-02-02 15:33:44,961]   INFO -  jetbrains.buildServer.STARTUP - JDBC loader: loading JDBC drivers (for the first time)
[2015-02-02 15:33:45,579]   INFO - ide.db.TeamCityDatabaseManager - Database character set: utf8_general_ci
[2015-02-02 15:33:45,579]   INFO - ide.db.TeamCityDatabaseManager - Database collation: utf8_general_ci
[2015-02-02 15:33:45,638]   INFO -  jetbrains.buildServer.STARTUP - JDBC driver version: 5.1 (MySQL-AB JDBC Driver)
[2015-02-02 15:33:45,638]   INFO -  jetbrains.buildServer.STARTUP - Database system version: 5.5.4 (MySQL)
[2015-02-02 15:33:45,638]   INFO -  jetbrains.buildServer.STARTUP - Connected to the database successfully
[2015-02-02 15:33:45,638]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Checking the database
[2015-02-02 15:33:45,772]   INFO -  jetbrains.buildServer.STARTUP - Database contains 110 tables.
[2015-02-02 15:33:45,781]   INFO -  jetbrains.buildServer.STARTUP - Database version is 628
[2015-02-02 15:33:45,813]   INFO - etbrains.buildServer.HEARTBEAT - No heartbeat table in the database - the DB lock is bypassed and heartbeat is not started
[2015-02-02 15:33:45,813]   INFO -  jetbrains.buildServer.STARTUP - Upgrade from version 628 to version 709 is required
[2015-02-02 15:33:45,813]   INFO -  jetbrains.buildServer.STARTUP - Backup of this version is possible
[2015-02-02 15:33:45,813]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Data upgrade is required (administrator login is required to proceed)
[2015-02-02 15:33:45,813]   INFO -  jetbrains.buildServer.STARTUP - Administrator can login from web UI using authentication token: yadayadayada

2 comments
Comment actions Permalink

The port number is probably it. We run on port 80 (the 805 server.xml shows this), and the default in 901 is 8111. So, I'm expecting that when I change the port to 80, everything will work fine.

I won't get to this until the weekend however. So for now, marking this as fixed in expectation of it working fine.

Thank you!

0

Please sign in to leave a comment.