Search code examples
artifactory

404 after upgrading Artifactory Pro


My current version of Artifactory Pro 6.5.2. I can upgrade incrementally from 6.5.2 to 6.5.9 to 6.0.0. If I try to upgrade beyond 6.0.0, I receive a 404 error when attempting to access Artifactory.

HTTP Status 404 – Not Found
Type Status Report

Message /artifactory/webapp/

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/8.5.32

I see the following errors in /var/opt/jfrog/artifactory/logs/catalina/catalina.out

Failed to ensure db table 'master_key_status' exists

Error creating bean with name 'accessJdbcHelperImpl': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Could not initialize database: Not supported

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/access]]

The database I'm using is MySQL

mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1

Has any encountered a similar issue when upgrading Artficatory Pro?

Thanks


Solution

  • Just marking down the answer.

    The issue was with the JDBC driver version of the Maria DB.

    One more update done by you was adding the timezone value.