Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to log in to Confluence, Jira works just fine

joshua kugler
Contributor
August 14, 2012

I am trying to clone an existing Confluence/Jira environment to do upgrade testing (this is Confluence 3.3 and Jira 4.2.4). The Confluence install uses the Jira DB for user authn/authz.

The cloned Jira environment is functional, and I can log in. The cloned Confluence environment is functional, but I cannot log in. It tells me "Sorry, your username and password are incorrect. Please try again." Multiple failures begin giving me a captcha I have to fill out. The config files are identical.

I've turned logging WAY up at /admin/viewlog4j.action, but nothing new is appearing in atlassian-confluence.log. I also turned on SQL logging, but not seeing anything in the log, or any new log files.

I am really at a loss.

4 answers

1 accepted

0 votes
Answer accepted
joshua kugler
Contributor
August 15, 2012

I have been sync'ing just the data directories and databases.

After much fiddling and debugging with the help of JavaAtom on #atlassian, I did a fully rsync of the entire directories. That is, I rsync'ed the entire confluence and jira directories from production (/opt/local/_____) to the cloned server.

This worked, and auth worked on Confluence in the cloned environment. JavaAtom mentioned that maybe I didn't have the JNDI datasource in place in the cloned Confluence.

0 votes
Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2012

Nothing new appearing in the log? Just want to double check this: have you changed the home directory location in the confluence-init.properties file in cloned installation folder?

0 votes
TylerA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2012

Delete the Trusted Application links (may need to remove the entires in the "trustedapp" table on both ends) and recreate them. Currenlty Confluence doesn't trust JIRA (or vice versa) because the authentication "fingerprints" have changed (much like a SSH or SSL fingerprint for a website or server).

How did you initially set up authentication?

joshua kugler
Contributor
August 14, 2012

I deleted the trusted apps, and configured new ones with the URLs of the cloned instances.

Still no worky. The Auth config on the Confluence config has a URL directly to the MySQL database. I don't know if actually does API calls for auth.

0 votes
joshua kugler
Contributor
August 14, 2012

Also: added com.atlassian.user and com.atlassian.confluence.user to the list of logging Classes, and set them to ALL.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events