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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,040 views 7 18
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