Solution
@Nic Brough -Adaptavist- pointed out, that the proxy setup should come after installation of JIRA.
I had some issues with this way back in my beginning with JIRA so I did not use this approach at first.
Now I ended up in doing so and discovered no issues at all. It works all fine now!
-------------------------
I have the following environemnt:
I have tried the following installation documents in the following order:
I tried to start JIRA:
sudo -u jira /jira/bin/start-jira.sh -fg
I received a bunch of warnings and errors and the process got finally crashed.
The full error log can be reviewed here: https://pastebin.com/WDz0n2tw
I would like to point out some parts of the log but I hit some database field character limit, Atlassian Community throws some error without any highlight. This is my 20th try to submitting this issue. :(
Here is my server.xml:
<?xml version="1.0" encoding="utf-8"?>
<Server port="5900" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<Service name="Catalina">
<!-- Nginx Proxy Connector -->
<Connector port="5901"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="org.apache.coyote.http11.Http11Protocol"
useBodyEncodingForURI="true"
redirectPort="5902"
acceptCount="100"
disableUploadTimeout="true"
bindOnInit="false"
proxyName="jira.example.com" proxyPort="80"/>
<!-- Nginx Proxy Connector with https -->
<Connector port="5902"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="org.apache.coyote.http11.Http11Protocol"
useBodyEncodingForURI="true"
acceptCount="100"
disableUploadTimeout="true"
bindOnInit="false"
proxyName="code.soeren-kornetzki.de" proxyPort="443"
SSLEnabled="true" scheme="https" secure="true"
sslEnabledProtocol="TLSv1.2" clientAuth="false" sslProtocol="TLSv1.2"
keyAlias="mycert" keystoreType="JKS" keystoreFile="/jira/keystore" keystorePass="changeit"/>
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransactiofactory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
<JarScanner scanManifest="false"/>
</Context>
</Host>
<Valve className="org.apache.catalina.valves.AccessLogValve" pattern="%a %{jira.request.id}r %{jira.request.username}r %t "%m %U%q %H" %s %b %D "%{Referer}i" "%{User-Agent}i" "%{jira.request.assession.id}r""/>
</Engine>
</Service>
</Server>
How to install JIRA Software server 7.4.1 for a nginx proxy with SSL setup?
PS: Pasting in the Code block still removes all the indention! :(
To Atlassian: Stop cutting off your support and force payed users to use Atlassian Community while it is beta quality at tops. So many bugs which - for me - makes it unusable.
Edit2: After changing the protocol to "org.apache.coyote.http11.Http11NioProtocol" I got the other issue "Not implemented for JIRA bootstrap time": https://pastebin.com/4x9Ke3AG
Generally, I'll recommend starting JIRA and checking that it responds locally before starting to set up the proxies. But I don't think that would have told you much this time (it would have worked)
I think the problem is that you've missed the notes on the protocol - have another look at the red warning panel at the top of the link in your step 3 - it applies to 7.3 and 7.4
And I hit the other issue: https://pastebin.com/4x9Ke3AG
"Not implemented for JIRA bootstrap time"
But you are right. I missed it this time. But I try to install JIRA for 3 days 8 hours a day now. I ran this process for at least 50 times.
Edit: The issue with installing JIRA without proxy is that once installed without proxy it will never work 100% after migration to proxy setup. At least back then with JIRA 7.0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eh? I've installed JIRA many many times without a proxy and then put it behind one. Given that these installations are all working fine behind their respective proxies, that statement is demonstrably wrong.
Ok, so I've installed it a lot over the last 15 years, and run into the same problems because I still miss stuff, but I've never had to install it more than a couple of times in one place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist-. I will try your approach of installing without a proxy and migrating to the proxy setup.
I did not give that a try at first since I had no luck at all with this solution in 3 years. But since you got managed it I must have failed epicly ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- It works without any issues. Thank you for pointing out your process again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.