Forum Discussion

BooHyunJang's avatar
BooHyunJang
Occasional Contributor
4 years ago

Collaborator "Version Upgrade ISSUE"

Hello!!

 

Current version is

ccollab_server_11_3_11301

 

ccollab_server_13_6_13600

Upgrade in progress, 

There is an error log as below

 

Cannot run task because database state is: NEEDS_UPGRADE: Sending users activity metrics to the statistic collection system
2021-05-18 15:16:49,464 ERROR http-nio-8075-exec-40 com.smartbear.ccollab.datamodel.remotesystem.github.polling.GitHubPollingService -
Cannot start GitHub Polling integration service because the database isn't in state READY: Collaborator Enterprise requires a database upgrade to continue.
2021-05-18 15:16:49,466 INFO http-nio-8075-exec-40 com.smartbear.ccollab.rpc.RpcGwtServlet$GwtInvocationHandler - Error invoking

com.smartbear.ccollab.service.api.v7001.ServiceException:
A critical error occurred while upgrading the database: com.smartbear.ccollab.database.CollaboratorDatabaseException: com.smartbear.ccollab.database.CollaboratorDatabaseException: com.smartbear.ccollab.database.CollaboratorDatabaseException:
Exception occurred executing query. Please contact customer support.

 

OS : Linux collabdev 3.10.0-1160.el7.x86_64 #1 SMP Tue Aug 18 14:50:17 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

 

JAVA Version : java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

 

JDBC : ojdbc8.jar

 

ROOT.xml > Oracle DBconnection

<Resource driverClassName="oracle.jdbc.driver.OracleDriver"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
maxIdle="80" maxTotal="250" maxWaitMillis="10000"
name="/jdbc/collabserver" password="collabpass" scope="Sharable" testOnBorrow="true" type="javax.sql.DataSource"
url="jdbc:oracle:thin:@166.125.112.110:1521/ALTDEV" username="collab" validationQuery="SELECT 1 FROM DUAL"/> 

 

Please tell me how to solve it.

Thank U.!!!

  • This is the key part:

     

    Cannot run task because database state is: NEEDS_UPGRADE

     

    Collaborator is waiting for you to use the browser, log in to Collaborator as an administrator, and click on the button to start the database upgrade.