Jira Server to Cloud Migration - Migration errors

Ratko November 2, 2022

Hi,

I'm trying to migrate JIRA Standalone Server to Cloud and Jira Server to Cloud Migration Assistant report me those odd errors, but nothing as real error.
I'm trying to migrate one project only, with 3 active users.
It give me warn about user limit, again strange, because only 3 users are active on Standalone JIRA.
Those "We couldn’t check for ..." failed checks are also very odd, as not showed as errors :(

Also, "We found some errors while preparing your data for migration" but where I can see those errors?


I can't raise a ticket on Support as we're trying to spin up Free plan for start :)

Any idea? Thanks in advance.
capture_02112022_221102.jpgcapture_02112022_221106.jpg

5 answers

1 accepted

1 vote
Answer accepted
Ratko November 5, 2022

Final update :) 

- Had to enable the dark feature:
com.atlassian.jira.migration.skip.preflight.check.export.errors
- Able to run migration even Data preparaion check was grayed (and blocker)
- My project with 611 issues - transfered to cloud, can see all listed and project is created
- All users are migrated, all groups migrated

Thanks guys for your effort to help me :)

capture_05112022_234315-2.jpg

0 votes
Ratko November 5, 2022

So... update...
I've upgraded Jira on our server to latest version - 9.3.1 and tried again.
Same problem reported - for Data preparation only.

In logs - I've found this lines repeats a lot during migration check

2022-11-05 22:43:13,663+0100 pool-36-thread-2 INFO ratko 1363x206x1 9z3pp 178.149.209.74,127.0.0.1 /rest/migration/latest/check/plan/f5a51c6b-5896-43e8-b14d-3375fd3c664d [c.a.j.m.preflight.reports.PreMigrationReportsService] Unable to generate pre-migration reports. Report export outcome is missing from preflight check for executionId : 0161a72cd7294393006d299544cdf987a72d30fb
2022-11-05 22:43:13,663+0100 pool-36-thread-1 WARN ratko 1363x206x1 9z3pp 178.149.209.74,127.0.0.1 /rest/migration/latest/check/plan/f5a51c6b-5896-43e8-b14d-3375fd3c664d [c.a.j.migration.preflight.AsyncCheckExecutor] Preflight Check ProjectErrorReport failed.
com.querydsl.core.QueryException: Caught MySQLSyntaxErrorException for select `AO_D9132D_ISSUE_SOURCE`.`ID`, `AO_D9132D_ISSUE_SOURCE`.`CONVERSION_FACTOR`, `AO_D9132D_ISSUE_SOURCE`.`PLAN_ID`, `AO_D9132D_ISSUE_SOURCE`.`SOURCE_TYPE`, `AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE` from `AO_D9132D_ISSUE_SOURCE` `AO_D9132D_ISSUE_SOURCE` where `AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE` is null or length(`AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE`) = 0 or `AO_D9132D_ISSUE_SOURCE`.`SOURCE_TYPE` = 'Project' and not `AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE` in (select cast(`PROJECT`.`ID` as char) from `project` `PROJECT`) or `AO_D9132D_ISSUE_SOURCE`.`SOURCE_TYPE` = 'Filter' and not `AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE` in (select cast(`SEARCHREQUEST`.`ID` as char) from `searchrequest` `SEARCHREQUEST`) or `AO_D9132D_ISSUE_SOURCE`.`SOURCE_TYPE` = 'Board' and not `AO_D9132D_ISSUE_SOURCE`.`SOURCE_VALUE` in ('2', '3', '4', '5')

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jira.AO_D9132D_ISSUE_SOURCE' doesn't exist

I've did a search, and turns out that table (jira.AO_D9132D_ISSUE_SOURCE) belong to Portfolio plans addon, but we don't have that plugin installed? Could be it was installed years ago.
What is strange - why migration check attempting to read tables which belong to not installed plugin/addon?

Ratko November 5, 2022

And also, I tried to find it on Addon market, but that plugin doesn't exist - at least I couldn't find it :( 

Portfolio plans
Plugin key: com.atlassian.jpo
Developer: Atlassian
Version: 3.0.0

Ratko November 5, 2022

If I just could recreate that table, maybe migration check will pass then :( 

Ratko November 5, 2022

And after all - turns out there is actually BUGs in this Migration Assistant :( 
This one looks very similar to one I have.
https://jira.atlassian.com/browse/MIG-1178

0 votes
Ratko November 3, 2022

So, as suggested by @Benjamin and @Trudy Claspill I've cleaned up users on JIRA Server, and now there is only 9 remain (3 active, 6 inactive) - that cleanup was pain as user can not be deleted until he have comments on issues, so I had to update comments authors directly in database.
And new migration now report only Data Preparation problem with again 'Unexpected error...' :D 
However, even I have 9 users only in total, again there is Warn icon for Users and groups section :) Is that some bug?
So, wait product owner to get me new trial SEN so I can try with active non-expired license on JIRA Server.

capture_03112022_090709.jpg

Ratko November 3, 2022

So... 
Received new Free Trial license, activated on server, attempted Migration - and nothing new...
Same as above image - still complain about users (total 9), and still "Unexpected error" for data preparation.

And still - not possible to contact support directly, as our cloud instance is on free plan :(

I'm open for suggestions @Trudy Claspill @Benjamin if you have any :)

Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 3, 2022

@Ratko ,

Not much options since not on any paid plans or services. 

What you can do at this point is try to export and import by CSV. It does have limitations.

Review the documentation below:

https://support.atlassian.com/migration/docs/cloud-migration-methods-for-jira/

 

-Ben

Ratko November 3, 2022

Hm, CSV import is last resort, but checking that exported file manual is overkill after as per above article.
No matter of free/paid plan I'd expect such serious application to at least show me what is error during migration checks so I can try to fix it.
We ran a standalone for a years... but now migrating it mostly for archiving/history purposes.
How could I suggest my boss to go to paid cloud plan when such a elementary process like export/import between basically same applications fails at start :) 

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

There is a downward pointing arrow to the right of each message. Click that to see if any additional information is available.

Ratko November 2, 2022

Nope, every single of them shows this same message about unexpected error...

capture_03112022_000100.jpg

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

Do you have the latest version of the migration assistant installed?

What is the version of Jira on the source system?

Do you have a non-expired license on your source system?

If you are working with a licensed version that is within the parameters of supported versions for the version of the Migration Assistant you are using, I would suggest that you contact Atlassian Support directly.

https://support.atlassian.com/contact/#/

Ratko November 2, 2022

- Migration Assistant is latest (1.74)

- JIRA Software v8.22.6

- Licence on source expired 2 weeks ago, we started to switch to Cloud.

Tried to raise ticket on Support, but not allow me, as we have Free JIRA Cloud plan atm. So support point me to try Community :( 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

You need to run the migration on a source system where the license is not expired.

You can get a free 60-day trial license to install on your source system. Refer to

https://support.atlassian.com/migration/docs/migrate-to-cloud-with-an-expired-server-license/

Like Ratko likes this
Ratko November 3, 2022

Thanks Trudy, will try that :)

0 votes
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

Hi @Ratko ,

 

Migrated several times from server to cloud but with Paid plans and I haven't ran into these issues. It could possibly be that you are on a free plan and that's the reason for this issue.

 

Do note that the migration tool doesn't just migrate Active users. It also migrate inactive users. In order to make sure you are below the limit, the Inactive should be deleted till you are below the user cap of 10(I think??)

 

-Ben

Ratko November 2, 2022

Hm, but that is only warning for users, it not stop me to run migration. I'll remove users after import on Cloud.
Other undefined check results are problem here. See gray icons on screenshots.

Ratko November 2, 2022

Also, I've selected only users assigned to project, and there is less than 10 users (both active and inactive)

Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

you can remove the users after migration but it might be the issue for not being able to run the rest of user checks.

Do you also have the same error for the data preparation?

 

-Ben

Ratko November 2, 2022

Yes, same 'Unexpected error...'

Ratko November 2, 2022

I'll try to remove inactive users, only some users I can not remove, as they have comments on old issues. For assigned and reporter fields, I can update in bulk but those comments - have no idea what to do with to unfreeze users for delete. It is overkill to search all issues and remove their comments (plus some of those comments can be needed)

Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

@Ratko - Would go with @Trudy Claspill suggestion as your next step about the expired license. Just to eliminate that issue as a possible source of error and then come back to the users if still an issue.

Like Ratko likes this
Ratko November 3, 2022

Thanks Benjamin, sure will go that way.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events