Forums

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

Jira upgrade error on linux

MAJ February 12, 2022

I'm trying to upgrade Jira Data Center with a single node version 8.2.3 to 8.13.x  I'm running the linux .bin installer for 8.13.x and when I input the existing software install location. I get the following:
The directory you have selected is not a valid Jira Software installation directory.
Finishing installation ...

I've worked with Jira for years and never seen this type of error. 

Can anyone help me with this???

3 answers

1 accepted

2 votes
Answer accepted
MAJ February 13, 2022

Thanks every I think I've figured it out. 

In the past I would stop the application, do my back ups then run the application's installer. now JDC has the ability to "put jira into upgrade mode" in order to upgrade JDC the application must be running. 

I ran the .bin installer while the application is running and I'm seeing the correct results: 

Existing installation directory:
[/opt/Jira Software]
/opt/apps/atlassian/jira/

Back up Jira home directory
The upgrade process will automatically back up your Jira installation
directory. You can also choose to back up your existing Jira home directory.
Both directories are backed up as zip archive files in their respective
parent directory locations.

We strongly recommend choosing this option in the unlikely event that you
experience problems with the upgrade and may require these backups to
restore your existing Jira installation.

If you have many attachments in your Jira home directory, the zip archive of
this directory may consume a significant amount of disk space.
Back up Jira home directory?
Yes [y], No [n, Enter]

Thanks again!

0 votes
Gonchik Tsymzhitov
Community Champion
February 12, 2022

Hi! 

could you run the next command please? 

ps aux | grep java

Then please check permissions.

MAJ February 13, 2022

the result is: /opt/apps/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/apps/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms16384m -Xmx16384m -XX:Initi

 

basically: /opt/apps/atlassian/jira... 

but when I put that in I get the fore-mentioned error. 

Like Gonchik Tsymzhitov likes this
0 votes
Pramodh M
Community Champion
February 12, 2022

Hi @MAJ 

Can you enter the absolute path and check once?

By default it's /opt/atlassian/jira

To check the installation directory of Jira - Check the script where it's running from by searching the process (ps -ef | grep jira)

You could change the terminal you are working from and check if it solves the problem

Let me know if it goes well

Thanks

MAJ February 13, 2022

ps -ef | grep jira: 

/opt/apps/atlassian/jira/ 

which is where I know it's installed 

but when I attempted to run the .bin installer I get he fore-mentioned error. 

Suggest an answer

Log in or Sign up to answer