i tried to upgrade to TeamCity 4.5 but it failed..

I am getting follwing error during upgrade from TeamCity 4 to TeamCity 4.5 on solaris 10 sparc with postgresql 8.4.

[2010-03-25 13:45:58,962]   INFO -   jetbrains.buildServer.SERVER - Starting TeamCity server
[2010-03-25 13:46:05,554]   INFO - dServer.serverSide.ServerPaths - TeamCity data path was read from TEAMCITY_DATA_PATH
[2010-03-25 13:46:05,555]   INFO - dServer.serverSide.ServerPaths - TeamCity data directory:/export/home/oas/.BuildServer
[2010-03-25 13:46:06,601]   INFO - erver.serverSide.impl.DBFacade - Connection pool configured (org.postgresql.Driver, maximum number of connections: 50)
[2010-03-25 13:46:06,601]   INFO - erver.serverSide.impl.DBFacade - Connection pool URL: jdbc:postgresql://localhost/teamcity
[2010-03-25 13:46:09,581]   INFO -   jetbrains.buildServer.SERVER - Loading roles from the configuration file: /export/home/oas/.BuildServer/config/roles-config.xml
[2010-03-25 13:46:11,272]  ERROR -   jetbrains.buildServer.SERVER - Failed to initialize TeamCity server, due to error (enable debug to see the whole stacktrace):
org.postgresql.util.PSQLException: ERROR: relation "usergroup_notification_events" does not exist
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actionManager' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Cannot resolve reference to bean 'buildServer' while setting bean property 'server'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildServer' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Cannot resolve reference to bean 'userModel' while setting bean property 'userModelEx'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userModel' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Cannot resolve reference to bean 'hiddenProjectManager' while setting bean property 'projectManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hiddenProjectManager' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Cannot resolve reference to bean 'copyProjectHelper' while setting bean property 'copyProjectHelper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'copyProjectHelper' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Cannot resolve reference to bean 'notificationRulesManager' while setting bean property 'notificationRulesManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'notificationRulesManager' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [jetbrains.buildServer.notification.impl.NotificationRulesManagerImpl]: Constructor threw exception; nested exception is org.springframework.jdbc.BadSqlGrammarException: ConnectionCallback; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "usergroup_notification_events" does not exist
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dbSettings' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serverPaths' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dbSettings' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serverPaths' defined in URL [jar:file:/export/home/oas/TeamCity/webapps/ROOT/WEB-INF/lib/server.jar!/META-INF/buildServerSpring.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean

1 comment

Hi Serdar,

sorry for delay, is this trouble still actual?
If yes, could you please provide us with the 'teamcity-server.log' file(s) covered the upgrading from 4.0 to 4.5? (it seems to me the uprgade has finished UNsuccessfully).

Thanks,

Leonid

0

Please sign in to leave a comment.