Forums

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

Error during upgrade

Magnus
Contributor
April 9, 2018

I am trying to upgrade Jira from 7.3.2 to 7.8.2 on a Windows Server 2012 64-bit server. I always run the installer as an administrator. During the installer I got an error, "could not delete C:\Program Files\Atlassian\JIRA\jre\lib\charsets.jar".  No one is in the server but me, and I'm pretty sure nothing is using this file. I clicked retry a few times, but that did not resolve the error. So I clicked cancel.

I tried to run the installer again, upgrade an existing Jira installation, but now it claims my existing Jira directory is not a valid Jira Core installation directory.

What should I do? Please help!

1 answer

1 accepted

1 vote
Answer accepted
Sloan
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.
April 9, 2018

Hi Magnus

Cheers
Niklas

Magnus
Contributor
April 9, 2018

Thank you for responding.

I have confirmed Jira is stopped.
I have confirmed charsets.jar is not protected.
I have confirmed no other application is using Jira in Process Explorer.

How do I get passed the issue of the installer thinking my current Jira is not a valid Jira Core installation directory?

Sloan
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.
April 9, 2018

Hi Magnus, what does the installer say exactly? Can you copy the message? Thanks

Magnus
Contributor
April 9, 2018

I figured it out. The Jira installer deletes all the contents of the Jira installation directory and then copies in the new version files.  I was getting an error during the deletion of the current Jira installation directory.  Almost all the files were deleted.  This is why I was getting the error that the installation directory is invalid.

When you encounter an error or quick the installer, you need to restore your backup of your Jira installation directory before running the Jira installer again.

My original issue of files being in use during the installation was due to the Jira windows service being stuck in a state of stopping, but not stopped.  I had to manually taskkill it and then run the Jira installer again.

Hope this helps someone else.

Like # people like this
Sloan
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.
April 9, 2018

Good! Thanks for sharing. :)

mdonabidian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2020

Had the same issue where I didn't realise the service was not stopped completely and was stuck in the stopping phase. glad to have stumbled upon your post.

thank you,

Jack D. Leach June 5, 2021

Ran into the same issue with the service stuck in stopping instead of stopped.  Used sysinternals process explorer and found that the tomcat executable was still running... killed it, refreshed services window (jira service now gone), and retry on the installer message, all good from there.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events