crowd: unable to login after migrating to new server

We are in the process of migrating crowd to another server instance and as part of the migration process we backup crowd app and db, installed crowd on new server then replaced contents of data directory from previous install from the backup (note we are also upgrading versions from 2.12.x to 3.1.1) and also restored from mysql db dump.

We bring up the app and it comes up but when you enter the username and password of the crowdadmin account and click "Log in" button. The page just refreshes (without actually logging the user in) and nothing really happens. The weird thing is there are no ERRORS in the atlassian-crowd.log. Its not logging the login attempt at all. 

This issue is causing our migration process to be in a limbo. Please help!

3 answers

1 accepted

This widget could not be displayed.

I was able to resolve this issue by following the instructions here https://confluence.atlassian.com/crowdkb/logging-in-to-crowd-keeps-failing-and-gets-redirected-back-to-the-login-page-296096569.html 

Hope this helps others facing same problem.

Marcin Kempa Atlassian Team Jan 24, 2018

Thank you for posting this answer back!

I am glad that you were able to resolve this issue!

This widget could not be displayed.
Marcin Kempa Atlassian Team Jan 21, 2018

Hi @Lokesh Pathak

Without logs or HAR file from the browser it might be hard to resolve this issue. However, you've mentioned that you are migrating to another server and after starting up Crowd, when you navigate to login screen when you provide credentials, there is  no error but after page reload you are still on the login screen. This may mean that there is a problem with your session cookie. As you migrated the server, there is a chance that previously your server was in a subdomain of the domain you are currently running Crowd. You might still have some cookies from the time you logged in to previous instance of Crowd.

That being said, I would suggest to clear all the cookies before you try to log in to the new, migrated, Crowd instance.

 

Hope that helps,

Marcin Kempa

Hi Marcin,

 

Thanks for your response. I have tried incognito mode (which obviously doesn't stores any cookies) and still unable to login. Do I need to make any changes to any file on the file system to remove the cookies (I hope not)?

As I said earlier log file has no errors and hence doesn't helps in debugging this problem.

This widget could not be displayed.

I have also facing the same issue . is there any solution to this issue . i am in crowd version 2.12

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 27, 2018 in Crowd

The Crowd team is looking for feedback on Server & Data Center customers' identity strategies!

Do you own more than one Server or Data Center product? Do you have challenges provisioning users across your Atlassian products? Are you spending a lot of time integrating each Atlassian product wit...

1,455 views 6 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you