Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 Software on Docker: HTTP Status 404 – Not Found

I have deployed a fresh Jira Software on my server with a HAProxy & Postgres but I am getting the 404 error:

MMCDNNc

Please note that:

  • Docker: the container launches with tons of warnings and some errors (see full container log 7000+ lines http://controlc.com/38dc1656). It still says at the end that everything was fine: 

Jira 8.15.0 build: 815001 started. You can now access Jira through your web browser. Plugins and caches are being initialised.

  • HAProxy: I am not seeing any issue here. Jira is reachable and the error seem to be coming from within the container. Still, see HAProxy config below.

 

  • Postgres: No issue here either since I can see tables created in the DB

 

Config:

  • Docker: I use Portainer to deploy the last version of the image using the below config
services:
jira:
image: atlassian/jira-software:8.15
volumes:
- /data/jira:/var/atlassian/application-data/jira
environment:
- ATL_DB_DRIVER=org.postgresql.Driver
- ATL_DB_TYPE=postgres72
- ATL_JDBC_URL=jdbc:postgresql://postgresdb:5432/jiradb?sslmode=require
- ATL_JDBC_USER=jira
- ATL_JDBC_PASSWORD=topSecretPsw
- ATL_TOMCAT_SCHEME=https
- ATL_TOMCAT_SECURE=true
- ATL_TOMCAT_PORT=8100
- ATL_PROXY_NAME=jira.mydomain.com
- ATL_PROXY_PORT=443
- ATL_TOMCAT_CONTEXTPATH=/jira
  •  HAProxy:
defaults
mode http
log global
option httplog
option dontlognull
timeout connect 5s
timeout client 50s
timeout server 50s

frontend https-in
bind *:80
bind *:443 ssl crt /usr/local/etc/certs/mydomain.com.pem

redirect scheme https code 301 if !{ ssl_fc }

http-response add-header Strict-Transport-Security "max-age=16000000; includeSubDomains; preload;"
http-response add-header X-Frame-Options SAMEORIGIN

acl jira hdr(host) -i jira.mydomain.com
use_backend jira-be if jira

backend jira-be
option forwardfor
http-request add-header X-Forwarded-Proto https
server jira jira_jira:8100 check resolvers docker init-addr libc,none

 

Can you please help pointing me out to what is wrong (see log) as all my attempts including searching here ended up unsuccessful.

Thank you in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

431 views 19 22
Read article

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