Forums

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

How can I login to JIRA after importing?

JConstantine September 25, 2019

I've imported the .xml backup file and now I can't login.
I tried to login as sysadmin but that didn't work.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2019

Is the account you are using a valid account from the source Jira that you took the backup from?

Is your Jira trying to use an external directory?

JConstantine September 25, 2019

Well...I created the second instance of JIRA on the same server using my license key, then I changed ports and everything was working. Then exported .xml file from my main JIRA instance and imported it to the second one. After that I'm not allowed to login into my second JIRA instance.

I also tried using cmd:

java -jar h2-1.4.187.jar

then in db editor I wrote the script:

select id,directory_name,directory_position from cwd_directory;

the id was equal to 1 so I updated it to 0:

update cwd_directory set directory_position=0 where id=1

select id,directory_name,directory_position from cwd_directory where directory_position=0;

that code works for my main JIRA instance and does not for the second one.
It gives me an error like: cwd_directory does not exist.

So I'm not quite sure what should I do next?

Suggest an answer

Log in or Sign up to answer