JIRA backup service error Edited

Hi All,

 

I'm seeing this errors in my logs

ERROR ServiceRunner Backup Service [service.services.export.ExportService] An exception while running the export service "Backup Service": Could not find column 'APPLICATION_KEYS' in previously parsed query!
java.lang.IllegalStateException: Could not find column 'APPLICATION_KEYS' in previously parsed query!

 

 ERROR ServiceRunner    Backup Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Backup Service'. null

 

JIRA service failed to backup and moving all the backups to the corrupted folder. Any suggestions on this.

 This is the service we have set up in jira.

Name/Class: Backup Service
                      com.atlassian.jira.service.services.export.ExportService 

Properties: USE_DEFAULT_DIRECTORY: true

Delay(mins): 720

JIRA server 5.1.6 with Oracle 11g.

 

TIA!!

2 answers

1 accepted

0 vote

Hi Ash,

There is a knowledge base article that may help with this titled Database operation in JIRA fails with "Could not find column <column_name> in previously parsed query" and it lists some possible causes:

Causes

  • Two JIRA instances are connecting to the same database, but individual database schemas. Each individual JIRA instance requires its own database on the database server. See more on our documentation for steps on connecting JIRA to Microsoft SQL Server:
  • If using Oracle database, granting additional permission (such as dba or 'SELECT ANY TABLE') to the user that JIRA uses to connect with the database could cause the same problem as well.
  • Also in Oracle, please check if the user JIRA is configured to connect the database has permissions as described here and also access permission to the tablespace.
  • This could also be caused by two database schemas being referenced in the same database. If this is the case, please follow the steps in this KB article to alter the schema directly in the database.

Please try the steps in Database operation in JIRA fails with "Could not find column <column_name> in previously parsed query and let me know if that helps.  If it does not, let us know and we'll go from there.

Cheers,

Branden

@Branden McElveen thanks for your reply right now there are two schemas running on our database server.

One schema has JIRA 5.1.6 and another schema has JIRA 7.3.8 running on the Oracle 11g server.

Recently we upgraded our JIRA dev to 7.3.8.

@Branden McElveen yesterday after posting this question after few minutes our JIRA went down with these errors.

Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1

ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM

ORA-02002: error while writing to audit trail

ORA-00604: error occurred at recursive SQL level 1

ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM

 

So our database administrator truncated SYS.AUD table and restarted JIRA that worked fine.

But we still have the same issue with the backup service error. Renaming schema name is the solution for it?

 

Thank you.

Thank for the information @Branden McElveen  deleted our JIRA dev schema

as recommended by  Atlassian. That started our Jira backup service.

 

Each JIRA instance must have its own database on the database server. Running multiple JIRA instances against the same database, although using individual schemas will not work.

https://confluence.atlassian.com/jirakb/database-operation-in-jira-fails-with-could-not-find-column-column_name-in-previously-parsed-query-315326688.html

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted yesterday in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

38 views 0 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you