Hi,
im trying to connect Jira and Confluence. On Confluence Configuration page, basicaly at Dragons Stage 3 - Install Confluence -> Step 3 -> The 'User Management Setup' , i got this error message while entering my jira base url.
I have some problem to connect between jira and confeluence :(
I am facing similar problem with connecting to Jira on Confluence setup. Connection to Jira takes place at http://confluence.localhost/setup/connecttojira.action. This is the message I get:
Connection refused. Check if an instance of Jira 4.3 or later is running on the given url.
The aforementioned error on the page is very ambiguous and it does not tell me anything useful. I am using these versions:
I suspect the problem caused due to the fact that a PostgreSQL database called "confluencedb" has No relations (completely empty). Does it has to be populated at this stage? I concluded so, because a similar database for Jira called "jiradb" is populated with tables right after the docker-compose finishes creating it. I provided the yml file below.
Another hint comes from the atlassian-confluence.log file and one of many error messages looks like this:
WARN [SiteSummaryCalculator:thread-1] [status.service.systeminfo.UsageInfo] getCountForQuery Unable to execute usage info query: SELECT COUNT(*) FROM users - ERROR: relation "users" does
Position: 22
-- referer: http://confluence.localhost/setup/setupdbtype-start.action | url: /setup/setupdbtype.action | traceId: 0024b35253227cb4 | userName: anonymous | action: setupdbtype
org.postgresql.util.PSQLException: ERROR: relation "users" does not exist
Also Configure Application Links page on Jira was tried to connect to Confluence by adding an IP address, but it does not work and gives an error:
Unable to reach the remote application
We couldn't resolve the hostname at http://confluence.localhost. There may be a DNS configuration problem, or the Application URL for the remote application may be incorrect or may have changed recently.
Please, suggest any ideas, since I run out of any now.
docker-compose.yml
version: '3'
services:
nginx:
container_name: root_nginx_1
restart: always
depends_on:
- jira
- confluence
- postgresql
image: nginx:mainline-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/:/etc/nginx/
networks:
- jiranet
jira:
container_name: root_jira_1
restart: always
depends_on:
- postgresql
image: blacklabelops/jira
networks:
- jiranet
volumes:
- jiradata:/var/atlassian/jira
ports:
- "8080:8080"
environment:
- 'JIRA_DATABASE_URL=postgresql://jira@postgresql/jiradb'
- 'JIRA_DB_PASSWORD=mypasswd'
- 'SETENV_JVM_MINIMUM_MEMORY=8g'
- 'SETENV_JVM_MAXIMUM_MEMORY=8g'
- 'JIRA_PROXY_NAME=jira.localhost'
- 'JIRA_PROXY_PORT=80'
- 'JIRA_PROXY_SCHEME=http'
- 'POSTGRES_DB=jiradb'
labels:
com.blacklabelops.description: "Atlassian Jira"
com.blacklabelops.service: "jira"
confluence:
container_name: root_confluence_1
restart: always
depends_on:
- postgresql
image: blacklabelops/confluence
networks:
- jiranet
ports:
- "8090:8090"
volumes:
- confluencedata:/var/atlassian/confluence
environment:
- 'CATALINA_OPTS= -Xms2g -Xmx5g -Dsynchrony.memory.max=4g ${CATALINA_OPTS}'
- 'CONFLUENCE_PROXY_NAME=confluence.localhost'
- 'CONFLUENCE_PROXY_PORT=80'
- 'CONFLUENCE_PROXY_SCHEME=http'
- 'CONFLUENCE_DELAYED_START='
- 'POSTGRES_DB=confluencedb'
labels:
com.blacklabelops.description: "Atlassian Confluence"
com.blakclabelops.service: "confluence"
postgresql:
container_name: root_postgresql_1
restart: always
image: blacklabelops/postgres
networks:
- jiranet
volumes:
- postgresqldata:/var/lib/postgresql/data
environment:
- 'POSTGRES_USER=jira'
- 'POSTGRES_PASSWORD=mypasswd'
- 'POSTGRES_DB=jiradb'
- 'POSTGRES_ENCODING=UTF8'
- 'POSTGRES_COLLATE=C'
- 'POSTGRES_COLLATE_TYPE=C'
labels:
com.blacklabelops.description: "PostgreSQL Database Server"
com.blacklabelops.service: "postgresql"
volumes:
confluencedata:
external: false
jiradata:
external: false
postgresqldata:
external: false
networks:
jiranet:
driver: bridge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know exactly where the problem lies, but for some reason the setup does not like https. If you use http instead of https in the JIRA Base URL, it more than likely will work. If that is true, then open a support ticket with atlassian on how to get that using https.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also in the process of migrating JIRA/Confluence from a windows box to a dedicated Linux box.
Under windows JIRA has been used to authenticate the users for both JIRA and Confluence.
I am trying to install the latest version of JIRA and Confluence on my Linux box and get the links established between JIRA and confluence. Once all is working I want to do an XML import of my old data from Windows side to the new Linux server.
I am stuck at confluence setup stage with the "
tcp 0 0 :::8080 :::* LISTEN 11102/java <== JIRA HTTP
tcp 0 0 :::8084 :::* LISTEN 11102/java <== JIRA HTTPS
tcp 0 0 :::8090 :::* LISTEN 11144/java <== Confluence HTTP
tcp 0 0 :::8094 :::* LISTEN 11144/java <== Conflunce HTTPS
Any help is much appreciate. I should also mention that we are evaluating this setup now and i have to present this to a group.
Thanks,
Mth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again,
did you mean that i should finish the confluence installation first, then integrate Jira?
Since my problem is that Confluence can't read Jira URL. I still have to confront with the same problem.
Cheers,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivan,
By finishing Confluecne installation, I'm hoping we could get a better ERROR when Confluence is fully installed. Regarding SSL, please refer to this documentation for SSL application integration:
https://confluence.atlassian.com/display/DOC/Connecting+to+LDAP+or+JIRA+or+Other+Services+via+SSL
Also, I would recommend you to contact Atlassian support through https://support.atlassian.comso we could investigate your issue by reviewing your complete logs and other information confidentially.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivan,
Signed certificate is not necessary. Self signed should be fine. Since you are still in installation process, I recommend you to use local users and group first and try to integrate with JIRA after the installation phase is done.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivan,
It's a bit tough to investigate without the logs, but from the above information you might want to double check the following stuff:
Hope it help.
Cheers,
Septa Cahyadiputra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Septa,
thanks for your quick answer.
How do i check this or that i certainly did it right?
Both application are available. Im on thw Confluence installation phase. How can i presume this?
There is already ipv4 and ipv6 localhost as an input. Should i change to the server Ip-Adress?
On the Conluence logs i found this [http-bio-8090-exec-5] [confluence.setup.actions.ConnectToJiraAction] addJiraConnectionFailedError Failure due to exception: Failed to create application link from JIRA server at http://localhost:8080/jirato this Confluence server at http://localhost:8090/confluence?. Please read the troubleshooting guide.
-- referer: http://localhost:8090/confluence/setup/connecttojira.action| url: /confluence/setup/connecttojira.action | userName: anonymous | action: connecttojira
If i put the my real Jira url (https.//atlassian.***.com/jira) in the jira base url it said.
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.