Installing JIRA Agile gives Error message "JIRA Agile is currently unavailable. This might be because an upgrade task has failed to run or has not not yet completed"

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Symptoms

The following error message "JIRA Agile is currently unavailable. This might be because an upgrade task has failed to run or has not not yet completed" appears after installing JIRA Agile

(Auto-migrated image: description temporarily unavailable)

and the following found in atlassian-jira.log

1 2 3 4 5 6 7 8 9 10 2014-11-26 08:54:10,508 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully. 2014-11-26 08:54:11,320 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Product Name is MySQL 2014-11-26 08:54:11,320 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Product Version is 5.6.21-log 2014-11-26 08:54:11,320 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Driver Name is MySQL Connector Java 2014-11-26 08:54:11,320 localhost-startStop-1 INFO [core.entity.jdbc.DatabaseUtil] Database Driver Version is mysql-connector-java-5.1.34 ( Revision: jess.balint@oracle.com-20141014163213-wqbwpf1ok2kvo1om ) 2014-11-26 08:54:11,367 localhost-startStop-1 WARN [core.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database 2014-11-26 08:54:11,383 localhost-startStop-1 ERROR [core.entity.jdbc.DatabaseUtil] Could not create table "jiraaction" 2014-11-26 08:54:11,383 localhost-startStop-1 ERROR [core.entity.jdbc.DatabaseUtil] SQL Exception while executing the following: CREATE TABLE jiraaction (ID DECIMAL(18,0) NOT NULL, issueid DECIMAL(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel DECIMAL(18,0), actionbody LONGTEXT, CREATED DATETIME, UPDATEAUTHOR VARCHAR(255), UPDATED DATETIME, actionnum DECIMAL(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID)) Error was: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jiraaction' already exists

Diagnosis

  • The users should have the permission toSELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER,INDEX. To check whether you have granted these permission, you can run the following query

    1  SHOW GRANTS FOR 'username'@'hostname';
  • The database should be using the recommended collation. You can refer to the documentation What Database Collation X Encoding Should be Used in Jira to see which database collation you should be using

Cause

This error happens because the database gets corrupted, either by not having all permissions to access the database, or because of the collation.

Solution

Resolution

The resolution would be to create a new database with collation and ensure that the user has all permission granted for the database.

  1. Create a database in your mysql with the following query:

    1 create database database_name character set utf8 collate utf8_bin;

  2. Ensure that user has JIRA User Does Not Have Permission to Access the Database

  3. Restore the data from the JIRA database into the new database created here.

  4. Update the dbconfig.xml file in JIRA HOME directory to point to the new database instead of the older database.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.