Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

No users in Server after Cloud to Server migration

Martin Henning April 17, 2021

I'm migrating from Cloud to Server. I have followed the Confluence setup wizard and imported the Cloud backup (zip file) upon Server start, i.e. importing at initialize time and not into an existing site.

When presented with the log in screen, what Username and Password should be used?

I have tried my Atlassian Cloud credentials (email and password), but receive the error:

Sorry, your username and/or password are incorrect. Please try again.

I have tried the "forgot my password" option, but receive the error:

Sorry, you can't retrieve your password as no email service has been configured. Please contact your administrators for assistance.

 

2 answers

1 accepted

0 votes
Answer accepted
Martin Henning April 24, 2021

Okay, so this has taken me a week to find a solution that can be implemented in docker, hence adding it here for others.

The Step 5: Recover sys admin permissions page does cover what is needed, but not how to do it with docker.

Rather than build my own edited image, this is the solution I came up with:

  • Copied the setenv.sh file out of the standard container to the host
  • Edited my copy of the file to add the required entry
  • Mounted the edited file as a volume in place of the file in the container, e.g. 
    ${PWD}/setenv.recovery.sh:/opt/atlassian/confluence/bin/setenv.sh
  • Started the container and logged in as recovery_admin
  • Completed the User Management steps
  • Finally, restarted the container without the edited file

There is likely a better solution out there, but this worked for me.
Maybe even Atlassian support could respond and offer a better solution?

2 votes
Martin Henning April 17, 2021

Okay, I think I have found it, Step 5: Recover sys admin permissions 

Now to work out how to do this in a docker container

Martin Henning April 23, 2021

I still can't get this to work with the official docker container.

It looks like I should be able to add the system property to START_CONFLUENCE_JAVA_OPTS and it would be picked up and added in setenv.sh, but I'm not having any luck.

It is starting to feel like I'll have is to create my own Dockerfile and image. Has anyone found a solution using the official image?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.4.8
TAGS
AUG Leaders

Atlassian Community Events