Forums

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

can't login as adin - jira server

ORAN MATZA October 24, 2021

Hello

 

The admin admin local (H2DB) user is not logged in (I get "

Sorry, your username and password are incorrect - please try again." message)

Any hints ?

1 answer

0 votes
Brant Schroeder
Community Champion
October 24, 2021
ORAN MATZA October 24, 2021

I will read it.

Thanks a lot for now

ORAN MATZA October 25, 2021

I read it but I don't get it.

 

Admin is not a user, in the User Managment->Users page

http://myjira:8080/secure/admin/user/UserBrowser.jspa

 

so how can I edit this user and change its password ?

how do I give "JIRA System Administrators" to someone ?

 

Thanks

Oran

Brant Schroeder
Community Champion
October 25, 2021

@ORAN MATZA that account should be baked in and if you follow the process as described in the directions you would log in as the admin account to give another account admin rights in your instance.

ORAN MATZA October 25, 2021

@Brant Schroeder I followed the instructions, and entered as recovery_admin but admin account still wasn't in the list.

I guess you suggest to open a new user (which will be taken from the number of licenses I have) or to give some other user a JIRA System Administrators premissions (which I don't know how to do it and I will be happy if you direct me to. will you ?).

 

But where is the admin account disappear ?

 

I took a backup server from last Wefnesday, and I enter with the 'admin' user and with the password I remember and it logs in. (and it is not in the list of users)

So what do I miss here ?

Brant Schroeder
Community Champion
October 25, 2021

@ORAN MATZA If you are following the directions and adding the recovery arguments to the startup then you will be able to log in using the username: recovery_admin and the password that you provide in the startup.  

Use recovery mode to restore access

Recovery mode works by creating a virtual user directory with a temporary admin account. You set the password for this admin account when applying the system property.  Users can continue to log in and access Jira while it is in recovery mode.

To recover administrator user rights:

  1. Stop all Jira nodes.
  2. Add the following parameter to each available node according to the steps from the Setting properties and options on startup KB article, based on the method that's being used to start Jira:

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

    This is generally applied in the setenv.sh or setenv.bat file (depending on your operating system type) in the <jira_install>/bin directory. 

  3. Start your Jira nodes.  You may need to start them manually with the start-jira.sh or start-jira.bin scripts in the <jira_install>/bin directory. 
  4. Log in to Jira with the username recovery_admin and the temporary password you specified in the system property. 
  5. Reset the password for your existing admin account, or create a new account and add it to the appropriate administrator group. 
  6. Confirm that you can successfully log in with your new account.
  7. Stop your Jira nodes. 
  8. Remove the -Datlassian.recovery.password parameter from each available node
  9. Start your Jira nodes again normally.
ORAN MATZA October 26, 2021

Hi Brian

I don't get it.

1) I have already users that have system admin rights.

so why I need to enter the recovery mode ??

2) isn't it the same, to have the original user admin and to have user that I created with system admin rights ?

 

3) As I told you before I took a backup server from last Wefnesday, and I enter with the 'admin' user and with the password I remember and it logs in. (and it is not in the list of users)

so this is some kind of "internal" account that doesn't count in my licenes quota.

Am I right ?

 

4) now I have 24 users, out of 25 allowed.

  do you mean that I go to recovery mode, create admin user, and go back to "normal" mode and I will have admin in the list (or not in the list) and still I will have 24 users ?

(not 25)

 

Hope I am more understood now

 

Thanks

 Oran

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events