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.
Hello,
Have a look at the dbconfig.xml in the jira_home directory and make sure it has the correct connection to the database.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.