It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Service Desk Service missing after upgrade to 8.4.1

  1.  Jira Core upgrade from 7.7 to 8.4.1 was successful
  2. was able to login in to Jira 8.4.1 as localhost not as url
  3. Jira admin page reported server.xml file error.server.xml file edited
  4. Jira service stopped. then would not start. 1607 the process has terminated unexpectedly
  5. Server restarted. Jira service missing from Services. 503 error Jira is unavailable

How should we regain access to the Jira application without loss of data and downtime.

  • Re install Jira 8.4.1 from installer ?
  • Install Jira 4.4 from ZIP ?
  • Install Jira 4.4 from installer ?
  • install Jira windows service ?

1 answer

1 accepted

0 votes
Answer accepted
Daniel Eads Atlassian Team Sep 23, 2019

Hey Dwayne,

I understand you're having trouble getting Jira started after an upgrade from 7.7.x to 8.4.1 on Windows. I'd be happy to help you on the path to get the upgrade sorted out.

First, let's take a look at the Windows service. Re-running the installer is the easiest way to try and get the service re-installed; just be sure that the "Install Jira as a Service" box is checked as the installer completes.

If that doesn't seem to do the trick, we also have an article describing how to manually install the Service in Windows.

Next; the application not starting. It's possible that simply re-running the installer will solve whatever issue you're seeing at startup. But if it does not, it sounds as if there were modified files on your system ("Jira admin page reported server.xml file error.server.xml file edited"). The server.xml file is where you'd configure what ports/addresses Jira will listen on. The installer may not have merged changes from your old configuration successfully. You may need to modify this file to get Jira to listen on the address/port you're expecting to use it on.

One likely cause is that special arguments that are included in server.xml in later versions of Jira didn't get merged in to your file. We've got an article describing this problem here, and I've copied the resolution steps for your convenience: 

  1. Go to <Jira-installation-directory>/conf, and edit the server.xml file.
  2. Find all connectors your application is using. Just search for Connector in the file, or look at the example below. You're interested only in connectors whose protocol is set to HTTP and HTTPS (not AJP).
  3. Add relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;" to the connector properties in server.xml. For example:

    <Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>
  4. Restart Jira.

Give those steps a try and let me know if that sorts everything out.

Cheers,
Daniel

Hey Daniel, 

thank for the reply  I did opt to for reinstall and that put the service back and I was able to access the application as localhost.

new challenge is modifying the server.xml file to achieve external access. after the last change 

This is the error I get now.JiraStartUpProblem.JPG

Daniel Eads Atlassian Team Sep 23, 2019

Hi Dwayne,

I'd recommend using a reverse proxy such as Apache or nginx in front of your Jira instance, and exposing the reverse proxy to the internet. This will give you some flexibility in the configuration of what you're serving externally. It's also easier to terminate SSL/TLS at a reverse proxy than at Jira's application server directly.

Given you're on Windows, I would recommend Apache (unless you have a lot of strong experience in either nginx or IIS). We've got a guide here that will help you through the particulars of configuring Jira with Apache. Or if you're ready to jump straight into HTTPS (I would actually recommend this for external access), we've got a separate guide for SSL/TLS configuration with Apache.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

273 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you