problem with restarting Jira after upgrading 6.4.10 to 7.1.6


yesterday we've experienced a curious behaviour after upgrading our production JIRA to v.7.1.6. We've used rapid upgrade method and everything went smoothly until final JIRA restart. We've finished updating all the plugins and re-indexing JIRA and finally we've wanted to restart JIRA one last time to be sure that it works as expected - it was a good decision because it wasn't working as expected wink

After the restart JIRA couldn't start properly (well it started but no further than some "initialising operations", so nobody could access the system through the GUI) - there was no error in logs nor any explanation what was going on. The only thing that the system was doing was massive amount of operations on the database. Most of it was something like this INSERT:

INSERT INTO fieldlayoutitem (ID, FIELDLAYOUT, FIELDIDENTIFIER, DESCRIPTION, VERTICALPOSITION, ISHIDDEN, ISREQUIRED, RENDERERTYPE) VALUES (268502, 10703, 'customfield_11204', '', null, 'true', 'false', 'atlassian-wiki-renderer')

We let it work like that for about 3 hours but nothing changed in that time so we rolled back to the previous version from backup because our maintenance window was closing to an end.

Does anybody encountered such behaviour? For me it is strange that JIRA started successfully after upgrade and worked OK but after updating plugins and re-indexing it couldn't restart.

I know that it looks like a problem with one of the plugins but we haven't encountered it in our test instance so it was an unpleasant surprise for us :/



1 answer

We've replicated the problem in test instance and it seems that it has nothing to do with plugins, because with all plugins disabled, JIRA in our environment needs 12 hours of database operations to finally start up (during first restart after upgrade). Strange is that it performs those operations veeeeery slowly - only one active connection to the database and only 4-5 writes/sec (while normally working it is about 300-400 writes/sec).

Is it a normal behaviour when upgrading JIRA to version 7.x.x ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,081 views 0 8
Read article

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