Cant access after changing base URL
Asked by odrehmann:

I changed base URL for Jira.

Jira is user database server for confluence. Confluence does not take user account credentials any longer.

We did try to reset Confluence to recovery_admin via edit of `bin/setenv.sh `

We still can not login, using recovery_admin with the password written in setenv.

Before we had not bee able to login in at confluence, we changed base URL of Confluence to same as for JIRA.

Both, Jira and Confluence are running in docker instances.

We need to know how user mgmt of Jira can be signed to Confluence successfully, once we have been able to get access to the Confluence.

Version of Confluence: 5.10.4

So, fist thing to solve: how login to confluence locally as Jira user mgmt link is not working?


Answers:
author: Stephen Crandell
body: You will need a Confluence admin that is in the Internal Confluence directory. Do you still have the user that was used when the Confluence instance was created?

comments: author: Oliver Drehmann (Antarus)
body: No, unfortunately not. It was set by my admin who left company and cant recall. I have access to the jira user mgmt as being admin. I can still log in with my user holding admin rights on jira but not confluence as the link to the user mgmt is broken. I also have admin rights on root level.


author: Stephen Crandell
body: [@Oliver Drehmann (Antarus)](/t5/user/viewprofilepage/user-id/1169311) Not sure there is much more you can do without a user that is stored in the Confluence Internal Directory. You have to get an internal user, not one that is pulled from the jira user directory link. If you have access to the DB, you can get the internal Confluence admin and maybe reset the password for that user (not recommended without research or reaching out to Atlassian on how to get the Confluence internal admin password.


author: Oliver Drehmann (Antarus)
body: Yes, this was the perfect hint: We changed the sequence of databases being accessed by confluence, making the local db number one before the lira one. Then we manipulated the db adding new users manually. was really tricky. Problem was on top that the IP of the docker instance was different after each start, making it difficult to connect.

Anyway...after many tries we managed to create a new local admin for confluence, allowing to reestablish the connect to lira user database.

Now its running again.

There should be a easier way to handle such lost link between confluence and jira ....

Many thanks and kind regards

Oliver


author: Stephen Crandell
body: [@Oliver Drehmann (Antarus)](/t5/user/viewprofilepage/user-id/1169311) No Problem, glad I could help. So you added new local users to the Confluence internal directory and gave them admin rights? This way you could access Confluence admin activities with one of them and address the Jira user directory issue?

Don't lose the new local user admin :)


author: Oliver Drehmann (Antarus)
body: Exact!

The problem is that you can not use the local admin for confluence as soon you have broken link to lira user database. You will need to manually change the db access sequence to reactivate the local admin. So far out experience ....


author: Stephen Crandell
body: AH! So you had the Jira user Directory as the first directory in user directory order. Gotcha! Yeah, it is good practice to have the local user directory as the 1st directory in the directory order.


author: Stephen Crandell
body: [@Oliver Drehmann (Antarus)](/t5/user/viewprofilepage/user-id/1169311) Please don't forget to accept my answer if it works out for you


author: Oliver Drehmann (Antarus)
body: ???


Tags: base-url

confluence-server

jira

login

server