Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can I add or reset the admin user password utilizing the command line? Edited

Dear all,

I managed to install confluence server (+ Postgres DB) but logging in using the admin credentials worked just once.

For reasons I do not know, the admin credentials are not accepted any longer without having  changed anything to the installation. I can't log in to conflunce - accordingly I cannot set up any other regular (non-admin) user as well. 

So I wonder whether there is a chance to add/reset or re-create the admin (or any other)  user just by utilizing the comand line (DOS-Box/Powershell)?

Or is there a chance, to directly add or change the user related content of the database tables? 

If so, can you please provide a Syntax-Sample?

Any hint is highly appreciated.

Looking forward to your answers.

Thank You. K.rgds. Jörg.




 

1 answer

0 votes

See https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html

You could poke a new password into the database with SQL from a command line too, but you'll need to stop Confluence before doing it anyway, so you might as well just go with the admin recovery in the doc.

Thank you Nic for quick response.

Meanwhile I managed to reset my password following the article you suggested.

K.rgds. Jörg.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence Cloud

Get to know the Confluence team!

Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to!  Meet some of the ...

236 views 0 10
Read article

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