Forums

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

All of my JIRA data has been deleted after a restart

Peter Davidson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2019

So over the holidays my dedicated server that was running PC was shut down. Upon starting it back up I noticed JIRA wasn't running so I ran the cron script to initialise it, and I end up being greeted with the JIRA installation screen. I check the JIRA home folder and it looks like everything has been deleted. Why? I don't even have any viable backups because for some reason they stopped being generated over a year ago, which was when I first created the server.

1 answer

0 votes
Alexey Matveev
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.
January 8, 2019

Hello,

Have a look at the dbconfig.xml in the jira_home directory and make sure it has the correct connection to the database.

Peter Davidson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2019

It did in fact point to h2db, so my only guess is that because the PC was forcibly shut down it corrupted the DB file?

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.
January 8, 2019

That is one of the more common reasons for the h2 database catastrophically failing.  But Tomcat wouldn't scrub anything, your data should all still be there.

I'd scan the file system for .zip files that might be backups, you might be able to rebuild a Jira system if you can find one.

Michael Wan January 8, 2019

To add to that, JIRA db backup service would save the xml backup file in the $JIRAHOME/export directory. I do not recall if it is turn on by default, but worth to look for it.
If found, the file can be used to re-import the data back to JIRA: https://confluence.atlassian.com/adminjiraserver/restoring-data-from-an-xml-backup-938847707.html

Suggest an answer

Log in or Sign up to answer