Restore from backup, cannot access admin

For our small team we tried a cloud-hosted Jira instance (hosted by Atlassian).

Because we all liked it, we now installed a self-hosted version.
The setup works, test emails were sent, everything seemed fine.
To not loose our old issues, I've saved a backup from the cloud-hosted and imported it into our self-hosted instance.

Now I cannot log in to our instance anymore, since the password of the user account is different.
The password used for my Atlassian account does not work, and I cannot send myself a reminder, since the restore seemed to have nuked the SMTP settings...

I have full SSH access to the Linux server running Jira, how can I get back to work?
I.e. retrieve/reset the password of the admin user?

2 answers

1 vote

Cloud accounts don't get carried down, other than as a minimal skeleton without passwords etc.

Try logging in as sysadmin with a password of sysadmin

Thanks, that was not entirely obvious.
I was able to log in with the *sysadmin* combination.

It's well buried in the doc for "migrate cloud for server", middle of the page, with no particular emphasis!

I've seen [how to retrieve the admin password][(, but entering the listed command in `psql` in the command line just gives me errors.

Maybe I'm also doing it wrong, but I've *never* worked with a PostgreSQL database before.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 05, 2018 in Jira Software

Jack Graves: Real Ale enthusiast with a knack for Jira Software implementation

@Jack Graves [AC] first caught our eye with his incredible breakdown of what, in his opinion, can make or break a Jira software implementation. (Read his thoughts on this thread)! In this follow...

96,836 views 4 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