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

Unable to login to Confluence after migrating it to a different server

Hi all, I have migrated the JIRASoftware and Confluence from one server to another server, after the migration, I can no longer log into to Confluence but my jira login still works, I googled online and found a solution below, but it did not work for me.

https://community.atlassian.com/t5/Confluence-questions/Cannot-log-into-Confluence-after-moving-servers/qaq-p/84901

I also tried to use forgot password method, it sent me the URL which does not work for me at all.

Any help?

1 answer

1 accepted

1 vote
Answer accepted

hello @jing wang 

if your confluence was linked to an LDAP kind of system, it is normal.

You should try to use the recovery admin:
https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html 

This should work

hi @robert_Mugabuhamye , I'm not using an LDAP kind of system.

I also tried the recovery admin method, it does not work for me.

In my case, I can log back in to JIRA with no issue, but login to Confluence, it returned me incorrect password, I tried the forgot passage, with the link, I can open it only from the local host (as the url is http://localhost:8090/xxxxx instead of http://{hostname}:8090/xxxx. ), after I entered the new password. I got following error page returned.  Do you have any other clues what I should do to fix this issue?  Thank you!

 

Oops - an error has occurred

logoSystem Error

A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

  1. a description of your problem and what you were doing at the time it occurred
  2. a copy of the error and system information found below
  3. a copy of the application logs (if possible).

Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

hello @jing wang .

what do you mean by the recovery does not work? it is supposed to work and there should be no reason why.
are you on a Linux system? windows? on windows, do you start your confluence as a service? with the .bat. ? 
This will help narrow down how to configure your recovery admin.

I"m on a Windows server, my confluence is configured as a service. I followed the restore password document, I used cmd prompt to run the .bat file to start confluence service, when I tried to use recovery_admin user to login, I was not able to login. I still got the "Please re-enter your login details and type in the word below." message, am i missing anything? btw, my confluence version is 6.7.1. @robert_Mugabuhamye 

@jing wang if you confluence is starting as a service, you have to set your recovery password in the JVM start-up arguments. 

On this link, you can follow the section "windows service" and set the params for confluence: 

-Datlassian.recovery.password=<your-password>

restart confluence by restarting the service and you should be good to go

@robert_Mugabuhamye  thank you so much for your help! I was able to login using the recovery_admin account and updated the base URL from {localhost} to {hostname}. Is there anything else I need to update? as after that, I tried to my user credential to login, I still got the "Please re-enter your login details and type in the word below" and the reset password still took me to the "Opps - an error has occurred" page.

Oops - an error has occurred

logoSystem Error

hi @robert_Mugabuhamye , I logged in as recovery_admin and used this account to reset my user password, the reset was not successfully, it gave me the following error, any insight what else should be corrected?

The following error(s) occurred:

  • Failed to change user password. Check your server logs for more information.

@jing wang My guess is your users are not managed in confluence but in Jira, that is why you can't set your password in confluence.

 

You can go in both "application links" sections of jira and confluence.

you should see the link that is configure for jira/confluence.
delete it in both apps and recreate it. you should be good 

@robert_MugabuhamyeI deleted the application link "application links" from both jira and conflurence and re-created it, but I still can't login as my user account. my account was admin on both servers, I can only login to jira but not the confluence.

Should I restart the confluence service while I still have my recovery_admin account active?

you should check in confluence: "users directory" the state of "Remote Jira Directory".
try to sync it, if it doens't work edit its params. Mainly application name/application password. 

application name and password should be set in your Jira instance: user management -> Jira server
https://confluence.atlassian.com/adminjiraserver/allowing-connections-to-jira-for-user-management-938847045.html

hi @robert_Mugabuhamye , I followed the doucment and synced the "users directory", but still can't login via my user account. I also updated the IP address for jira user server, it was old one before.

Hi @robert_Mugabuhamye I found that my user name is in confluence admin and user group but it's not in a member of confluence admin group on JIRA, after I added myself, I'm able to login to Confluence now, thank you so much for your help! I really appreciate it.

@jing wang 
glad that it worked.

I would recommend to creates a local admin that is in confluence local user directory before the next migration. before you do your data exports ;)

hi @robert_Mugabuhamye i have a side question, for some reason, I can see the spaces that were migrated to the new server from spaces drop down menu, however, when I click on All spaces, I do not see any spaces from space directory, do you have any idea why? Should I submit a new question for this?

never mind, I need to rebuild content indexing :)

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

396 views 11 11
Join discussion

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