Forums

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

Jira running but web not showing

UKSecurityEngineering January 22, 2019

I rebooted my server yesterday for a hardware update. Upon reboot, I restarted Jira. I get the usual messages  running the start-jira.sh.  There are no errors that appear on the start up script.   I have gone through the logs, and there is no errors that I can see.  I typically am getting nothing on the web page.  Occasionally i am getting "JIRA had problems starting up" page, stating it can't locate my JIRA home directory. But usually it is just blank, white page.

Java is running. My confluence instance came back up with no problems.  So i'm trying to figure out why Jira is not coming back up when restarted.  I'll go back through the logs but I honestly didn't see anything out of the ordinary or anything labelled as error or warning. My version does seem to have a bit of abug with Java. but i have run my check-java.sh and exported the appropriate file for jdk.  I would love some other things to try to get this working.

 

Disclosure: the person who installed this originally did not do it correctly. If i can get this back up and working, I will have a migration to a better installation VERY SOON to avoid this type of issue in the future.

 

2 answers

1 accepted

0 votes
Answer accepted
UKSecurityEngineering February 1, 2019

Hello!

I found the problem. A line was changed in the server.xml file awhile back. I have changed it back to what was originally.

 <Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">

what was I found. I changed it back to what it was originally:

 <Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">

 

I restarted Jira. and it came back up.  Not sure who  made that change.

 

Thank you for all your assistance in trying to help me figure out what was going on!  Sorry for the delay. Some other things got prioritied and I came back to this yesterday. I thought I would update you with what I found and hopefully it will help someone else who may come up with a similar problem!

Priya Dharsini
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!
October 2, 2019

Hi,

 

For me Atlassian JIRA tool is running as server but in browser it is not coming.how to rectify the problem.

0 votes
Shankar Asam {Appfire}
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.
January 22, 2019

Hi,

Are your JIRA and Confluence installed on a single server? Do you think its a firewall issue? Or an IP table turned on after reboot (in case different server). Can you check netstat command to see if java process exists for JIRA?

How did you access JIRA? Directly IP:port / URL:port or do you have any apache or NGINX front-ended? If so, check if there are running after the reboot.

If you are using Linux, you can SSH to the server and run Curl command to see if the site comes up just fine.

 

Thanks

Shankar

UKSecurityEngineering January 22, 2019

Yes, they are currently both on the same server. I know this is not ideal and it will change in the future when other projects and tasks are not taking precidence.  Firewall is open. There java process for the 8080 port for Jira open, established.  I did test last night with changing the port for java, as 8005 is being used by another process. 

I access jira normally through browser, usually firefox. http://10.10.10.50:8080.  Confluence is on port 8090.

I run the start-jira.sh command via the commandline when restarting it. I don't currently have a process for it to start upon reboot.

I haven't used curl for Jira before. Would i just do  curl GET http://localhost:8080   or something like that?

UKSecurityEngineering January 22, 2019

I was revisiting logs. I did see these messages in atlassian-jira.log  Not sure if it's helpful.

 

2019-01-21 15:16:26,248 JIRA-Bootstrap ERROR      [c.a.jira.health.HealthChecks] We can't locate your JIRA home directory
2019-01-21 15:16:26,248 JIRA-Bootstrap ERROR      [c.a.jira.health.HealthChecks] Your JIRA home directory has important information on how JIRA works, so you need to make sure it's set up correctly.
    Review our documentation for more information on setting your JIRA home.
2019-01-21 15:16:26,347 JIRA-Bootstrap INFO      [c.a.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2019-01-21 15:16:26,347 JIRA-Bootstrap FATAL      [c.a.jira.startup.JiraStartupLogger] Startup check failed. JIRA will be locked.

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.
January 22, 2019

>We can't locate your JIRA home directory

That usually renders a Jira unusable.  You'll need to investigate why it can't find the directory!

Start with a look in <jira install>/atlassian-jira/WEB-INF/classes/jira-application.properties - this contains the pointer to the directory your Jira is trying to use.

Check that the directory exists and is owned by the user who runs the Jira service, plus all the contents.

UKSecurityEngineering January 22, 2019

Here's the stupid point: there's two versions on my server.  7.8.1  and 7.9.2

The older version has the home set. When i run the start-jira.sh on the older version, i get a blank screen. The older one is the version I have been running.  As I think that was the original one installed. Not sure where the 7.9 one came from. Like i said, i didn't set this up.

The 7.9 version: did not have the jira home set. I have set it but now getting missing database driver! haha.  So I am not sure if it's worth fixing THAT one or fixing the older version to not display a blank page.

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.
January 22, 2019

Ok, I'd pick one and concentrate on it.  It sounds like the 7.9 is a worse state than the 7.8, so I'd ignore it for now.  Make sure it is shut down, then I would

  • check that the server is not set up to automatically start the 7.9 system
  • clean out the 7.8 log directory (just for clean logs)
  • check that the 7.8 installation and data (home) directories are all correctly permissioned - owned by the Jira user and with it having full access
  • Start the 7.8 install and see what the logs and ui do
Like Shankar Asam {Appfire} likes this
UKSecurityEngineering January 23, 2019

I have moved 7.9 to another location to minimize confusion.  So I am back to my blank webpage when start-jira.sh

Friend suggested checking DB. Mariadb is in use for my Jira instance. (like i said, I did not set this up). I'm using Postgres for my confluence (just for reference).   Is there a suggested way to check the DB? or restarting the DB, then restarting Jira?

Shankar Asam {Appfire}
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.
January 23, 2019

Usually, if there is an issue with the database then you will see those errors in the atlassian-log file. Please check the logs for any errors or provide us here.

You can test the database connectivity by running a simple test,

#telnet <dbserver> 3306

You can also check the dbconfig.xml file inside JIRA_home directory to verify the DB related configuration.

-Shankar

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.
January 23, 2019

Ah.  Mariadb is not supported, and known to cause all sorts of problems.

This might not be rescuable unless you've got a backup from the last time it was running ok.  Start with a check of <jira home>/export - are there any recent .zip files in there?

UKSecurityEngineering January 23, 2019

There are recent .zip files. Even from today.

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.
January 23, 2019

Ok, that's good.  What you can do with those is take a new Jira installation (or clean out your existing one, which will prompt it to re-set-up), get it running against a supported database, then tell it to import the xml you found, which, hopefully, is your entire system.

UKSecurityEngineering January 24, 2019

I will look into doing that. I will need to double check that the Database is ok and backed up.

Suggest an answer

Log in or Sign up to answer