Hi Everyone,
We are seeing below issue while importing Mysql 5.6 XML backup to Postgres 9.6. in JIRA 7.12.3. We are using AWS RDS instances. Already used XML cleaner to clean backups before import.
---------------------------------------------------------------------------------------------
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:9.6.9
- minor version:6
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.4.1212
org.postgresql.util.PSQLException: ERROR: relation "public.AO_455C86_PASS_POLICY_PROP" does not exist
Position: 32
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:9.6.9
- minor version:6
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.4.1212
org.postgresql.util.PSQLException: ERROR: relation "public.AO_455C86_PASS_POLICY_PROP" does not exist
Position: 32
TIA!!
@Thomas Deiler Thanks for your reply XML back is on JIRA 7.12.3.
we are switching database in the new instance.
Since MySQL RDS is not supported by Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, then something went wrong when exporting the data. The XML dump is free of any DB flavour. It would make no sense to export DB details in an XML file. Otherwise you could just dump the DB without Jira.
Just to double check - when you reimport into the same DB type, does the error occure, too?
Another source of the error: Have you set up postgresql like recommended by Atlassian?
Why does the driver say its version 9.4.1212 and not 9.6.9? Are there parallel DB versions installed?
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to double check - when you reimport into the same DB type, does the error occure, too?
Re-Importing to the same XML to the same DB worked fine.
Another source of the error: Have you set up PostgreSQL like recommended by Atlassian?
We are using RDS Postgres and DB has been created instruction given by atlassian.
Why does the driver say its version 9.4.1212 and not 9.6.9? Are there parallel DB versions installed?
Using 9.4 JDBC is atlassian recommendation.
"Jira is tested and bundled with the 9.4 JDBC driver. You can also use the latest JDBC driver for your PostgreSQL version, though we can't guarantee it will work with your version of Jira."
Can you be more specific on this question,
"Are there parallel DB versions installed?"
TIA!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Ash,
it's possible to manually install more than one DB of the same type on one system. My thought was, that there are two different versions installed. But you exclueded this.
Then lets check your process for the migration (my assumtion):
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thomas Deiler Thank you so much for your responses.
Yes, we followed the same exact steps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you use the same JIRA_HOME as with the old DB?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we copied these two folders to our new server.
/var/atlassian/application-data/jira/data
/var/atlassian/application-data/jira/plugins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this:
so long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Thomas Deiler Thank you.Will try this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ash
Did the steps provided by @Thomas Deiler work for you?
I am facing almost the same issue as you, although with the relation "public.AO_7DEABF_EXEC_CLUSTER_MESSAGE".
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Contact IT did you try these steps ??
https://confluence.atlassian.com/jirakb/how-to-handle-4-byte-characters-in-xml-backup-899181755.html
There is an issue with xml cleaner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.