Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Jira installation before upgrade

Luca Andreatta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2018

Hi all,

Im upgrading Jira following this path 6.4.12 (actual version) > 7.0.11 > 7.12.1.

I wanted to clear the installation before goin on, but I didn't find an ufficial guide that explain how to do it.

It is safe if I delete this folders (after stopping jira, of course):

  • jira-home/caches/*
  • jira-home/export/*
  • jira-home/import/*
  • jira-home/log/*
  • jira-home/plugins/.bundled-plugins/*
  • jira-home/plugins/.osgi-plugins/*
  • jira-home/tmp/*

N.B. I don't need old exports or logs.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2018

There's no need to "clean" anything before an upgrade.  But for disk space, yes, you can clear some stuff out (and it's nice to get clean logs when upgrading too)

Do NOT remove any directories though, only look at the contents of them. 

There's no point in emptying the caches, plugin or temporary directories either, Jira/Tomcat will just waste time putting everything back.

I would only clear out the log, import and export directories (if you are using the built-in backups, keep the latest one from the export directory of course).

Luca Andreatta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2018

There is at least two point to clean also others folders:

  • caches: there is also the cache of a plugin that we are planning to discard and that will not remove his folder that is very huge (~8GB)
  • plugin: there are old version (2y old) of them that I don't need to have (jira_home/plugins/.osgi-plugins/transformed-plugins)

I think that Jira will recreate them in a clean way and I think that it could be a nice step to add in the official upgrade guide.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2018

Ok, that's sensible as well.  I would remove the unwanted plugin and its cached data before starting the upgrade though.

Luca Andreatta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2018

Ok, thanks for the reply.

My main concern was if there was something bad, but it seems ok from your responses.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events