Confluence docker setup problems
Asked by admin:

I am running an confluence docker on my local macOS with the Trial DB option. It is a flesh installation.

I cannot enter the edit page when I click the "Create" button.![Screenshot 2019-05-02 at 11.09.52 AM.png](/t5/image/serverpage/image-id/53255iFECA6E251D17BFDA/image-size/large?v=v2&px=999 "Screenshot 2019-05-02 at 11.09.52 AM.png")

REFERENCE:

docker image atlassian/confluence-server  
<https://hub.docker.com/r/atlassian/confluence-server/>

image: atlassian/confluence-server:6.15-ubuntu-18.04-adoptopenjdk8

version: '3.5'services: confluence-serv: image: atlassian/confluence-server:6.15-ubuntu-18.04-adoptopenjdk8 environment: - CATALINA_CONNECTOR_PROXYNAME=${VIRTUAL_HOST} - CATALINA_CONNECTOR_PROXYPORT=8090 - CATALINA_CONNECTOR_SCHEME=http - CATALINA_CONNECTOR_SECURE=false - CATALINA_CONTEXT_PATH=confluence restart: always ports: - "8090:8090" - "8091:8091" volumes: - ${HOME_PATH}:/var/atlassian/application-data/confluence

![Screenshot 2019-05-02 at 11.55.17 AM.png](/t5/image/serverpage/image-id/53256i9C5648D3D49B4FE8/image-size/large?v=v2&px=999 "Screenshot 2019-05-02 at 11.55.17 AM.png")


Answers:
author: sara
body: Hi,

From first impression.

1.The page loading is failing because synchrony service is failing.You can turn off collaborative editing(admin section confluence) and page creation/saving will work.

2.It might be failing because you have to set the synchrony base url path in setenv.sh.

comments: author: admin
body: I found collaborative editing is under good status but you are right. The page creation/saving is working after turn off the editing mode. Thank you.

![Screenshot 2019-05-02 at 1.58.52 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/53266i05FF1219250BA5B6/image-size/large?v=v2&px=999 "Screenshot 2019-05-02 at 1.58.52 PM.png")


author: admin
body: I have one more question. The Collaborative editing cannot be disabled at the console UI under HTTPS.

Can I deactivate it by changing some conf file?


author: sara
body: Hey wayne,

You can disable this by change mode and turn off.

Warning:Tuning off CE will delete all stale drafts and this will take time(keeps on loading).Also depends on version of confluence

<https://jira.atlassian.com/browse/CONFSERVER-55745>

<https://jira.atlassian.com/browse/CONFSERVER-57697>


author: admin
body: Thank you.  
I changed to a new domain name and disable the CE at the UI under HTTP.


author: sara
body: Hey wayne,

have you set up confluence DC in docker setup.

If yes how you achieved it?


author: admin
body: Unfortunately, it is not success yet. Using confluence DC in docker setup is perfectly fine with HTTP request. However, when I turn on the HTTPS, there are lots of problems to solve.

The first one is collaborative editing, which can be solved by turning off the collaborative editing. Cloud we said that it is solved....

The second one is POST request to rest api which is not solved yet. This affects the image insert and saving draft. Edit, Create and Save post works well without solving this.

My structure is using nginx-proxy container as the nginx gateway, it uses the upstream to communicate with confluence container with customized conf.

There are many choice for the nginx-proxy. I am currently using this one. <https://github.com/jwilder/nginx-proxy>


author: sara
body: Ok.I was successful in setting up one container in one host.But my intention is to setup multiple confluence DC containers in different hosts.Looking a way for it .Any thoughts?


author: admin
body: I just used the official image which completes everything for me.

`Definitely, I am not there yet.` `I have checked this guide.`

<https://confluence.atlassian.com/doc/installing-confluence-data-center-203603.html>

`It requires the files on` `<installation directory>/confluence/WEB-INF/classes/confluence-init.properties where installation directory is `/opt/atlassian/confluence  
Though, I have tried to mount this path to host which is not success...


Tags: confluence-server

server