Forums

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

Jira free license - reinstall issues

Nupur Jain July 23, 2021

Hi all

I am non IT user trying my luck with testing. Hence Jira was advised as a starting point in Udemy.

I installed the free license and now 1 month has expired. I uninstalled previous version, and installed the new version. However, now I am facing an error, where it reads the following possibilities:

"Database: JIRA couldn't connect to your database

JIRA failed to establish a connection to your database.
This could be because:

  • Your database isn't running
  • The configuration of your dbconfig.xml file is incorrect (user, password, or database URL etc.)
  • There is a network issue between JIRA and your database (e.g. firewall, database doesn't allow remote access etc.)

There are several other solutions you can try, review our documentation and see what works for you."

How should I proceed? 

I checked some of the forum posts, but probably IT inadequacy, I was not able to resolve the issue.

Any insights would be very much appreciated.

Thank you and regards

Nupur Jain 

 

 

2 answers

1 accepted

0 votes
Answer accepted
Nupur Jain July 24, 2021

After taking some help from an IT friend, who uninstalled the existing version, then removed registry entries and installing a fresh Jira instance, it seems the issue with the localhost seems to have resolved. 

Thank you Nic for your responses. Appreciate your deep insights.

Will look forward to troubling the community a bit more.

Best regards

Nupur 

0 votes
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.
July 23, 2021

This simply means whatever database you set up was ok during installation, but is now no longer available to Jira.  Either the database service has stopped, it's not available on your network any more, or you've reconfigured Jira to look at the wrong thing.

Without knowing exactly how you did this new installation, there's not a lot more we can tell you.

Comparing what you've done with https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-938846823.html may help, if you can't work out how to fix the database connection.

Nupur Jain July 23, 2021

Thank you Nic. I looked at the documentation and have completed this step:

2. Run the installer

  1. Run the installer. We recommend using a Windows administrator account.
  2. Follow the prompts to install Jira. You'll be asked for the following info:
     
    1. Destination directory – this is where Jira will be installed. - OK
    2. Home directory – this is where Jira data like logs, search indexes and files will be stored. - OK
    3. TCP ports – these are the HTTP connector port and control port Jira will run on. Stick with the default unless you're running another application on the same port. - OK
    4. Install as service – this option is only available if you ran the installer as administrator. - Not sure, if I did this or not, how can I check this?
  3.  Jira will start up in your browser once installation is complete. - Not happening, Tomcat server does not reach the log level, as it used to do a month ago.

 

If sharing a screenshot of the tomcat server helps, then I can add those.

 

Still looking for insights.

 

Thank you

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.
July 23, 2021

I wouldn't worry about the install as a service, that's not going to break much beyond "start as the server boots"

You're going to need to read the application logs to find out what it is trying to do and where it is failing.  Start with a look at <jira home>/logs/atlassian-jira.log

Suggest an answer

Log in or Sign up to answer