Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,496
Community Members
 
Community Events
165
Community Groups

Migration - unable to connect to cloud

Edited

Confluence Server version: 7.13.5 (Docker)

I am stuck in the step 'Prepare your apps' where I need to connect my cloud site in the migration process. I am following the next steps:

  1. Go to 'General configuration' > 'Migration assistent' on the Confluence Server instance
  2. Complete the step 'Assess your apps'
  3. Start the step 'Prepare your apps'
  4. Click the button 'Choose cloud site'
  5. In the dialog 'Choose your cloud destination' click 'Continue' to redirect to the Atlassian migration website
    1. Migrate from: xxx.mydomain.tld
    2. Migrate to: yyy.atlassian.net
    3. Check option 'Allow Atlassian to access migrations data'
    4. Click button 'Confirm'
  6. (Atlassian website redirects to my Confluence Server)
  7. The first page of the 'Prepare your apps' step is shown again (/admin/migration.action?&#apps/connect-to-cloud?cloudId=), but with no options to choose from (see image below)

connect-to-cloud.PNG

The same thing occurs when I try to skip the step 'Prepare your apps' and proceed with the step 'Migrate your data', since it requires the same information.

I suspect that this has something to do with my setup. I am running Confluence using Docker and I use a Nginx as reverse proxy to make the Confluence instance available through a subdomain without base path (e.g., https://confluence.mydomain.tld). For the Docker container, I use the following command:

docker run --rm \
-v $CONFLUENCE_DATA:/var/atlassian/application-data/confluence \
-v /etc/timezone:/etc/timezone:ro \
--name="confluence" \
-e JVM_MINIMUM_MEMORY=$CONFLUENCE_MEM \
-e JVM_MAXIMUM_MEMORY=$CONFLUENCE_MEM \
-e CATALINA_CONNECTOR_PROXYNAME=$CONFLUENCE_HOST \
-e CATALINA_CONNECTOR_PROXYPORT=443 \
-e CATALINA_CONNECTOR_SCHEME=https \
-e CATALINA_CONNECTOR_SECURE=true \
-p 127.0.0.1:8090:8090 \
-p 127.0.0.1:8091:8091 \
atlassian/confluence-server:$CONFLUENCE_VERSION

The proxy config in Nginx was configured based on https://confluence.atlassian.com/doc/running-confluence-behind-nginx-with-ssl-858772080.html and looks as follows:

server {
listen 443 ssl http2;

root /var/www/html/confluence.mydomain.tld;
index index.html index.htm;
server_name confluence.mydomain.tld;

# Security options
ssl_certificate /etc/letsencrypt/live/confluence.mydomain.tld/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/confluence.mydomain.tld/privkey.pem;
include "/etc/nginx/conf.d/ssl-options.conf";

access_log /var/log/nginx/confluence.mydomain.tld/access.log;
error_log /var/log/nginx/confluence.mydomain.tld/error.log;

location /synchrony {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}

location / {
client_max_body_size 100m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8090;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
}
}

 

Is there something that I am doing wrong?

1 answer

0 votes
Shannon S Atlassian Team May 10, 2022

Hello Robin,

Good afternoon, and thank you for raising this on Atlassian Community. I understand you're having difficulty migrating from Confluence Server on a Docker container to Cloud.

First, you'll want to ensure that the IPs and domains that Cloud requires are accessible by your network. You may need to add these to your allowlist. Refer to IP addresses and domains for Atlassian Cloud products for that list.

Secondly, you will need to verify the incoming and outgoing connections to find the root cause. Verify your Docker node can reach Atlassian Cloud URLs using https://bitbucket.org/atlassianlabs/httpclienttest/src/master/ or 

If you continue to have any difficulty, I can raise a ticket on your behalf with the Confluence Server team, so keep me updated!
Take care,
Shannon | Atlassian Community Support

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

67 views 0 0
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