After moving Jira, I get an error

I built a new VM, installed JIRA from scratch, then archived and copied over the database, the /opt/atlassian/JIRA directory and the /var/atlassion/applicaiton-data/JIRA directory. 

This worked last time I did it. This time, I get these errors the first time I try to access the page... Any idea what I can look to fix? All permissions were preserved when moving the files, but perhaps one got messed up? I am not sure where to look. 

2016-04-17 21:52:53,653 localhost-startStop-1 ERROR      [atlassian.jira.startup.ComponentContainerLauncher] An Error occurred during ComponentContainerLauncher servlet context initialisation - com.atlassian.instrumentation.DefaultInstrumentRegistry.pullCacheCollector(Ljava/lang/String;Lcom/atlassian/instrumentation/caches/CacheCollector$Sizer;)Lcom/atlassian/instrumentation/caches/CacheCollector;.

2016-04-17 21:52:53,659 localhost-startStop-1 ERROR      [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA due to Java Error.

2016-04-17 21:52:53,661 localhost-startStop-1 ERROR      [ContainerBase.[Catalina].[localhost].[/]] Exception sending context initialized event to listener instance of class com.atlassian.jira.startup.LauncherContextListener

2016-04-17 21:52:53,739 localhost-startStop-1 ERROR      [ContainerBase.[Catalina].[localhost].[/]] Exception sending context destroyed event to listener instance of class com.atlassian.jira.startup.LauncherContextListener

 
 

2 answers

0 vote

I suspect copying the /opt/atlassian/JIRA directory might have damaged the "installed from scratch" installation.

I would try a fresh install, check that works ok, then restore the database into the target, and copy the home directory again, but NOT the installation. 

Thanks! I had only copied the opt stuff for database config, but the new upgrade (6.4 > 7.1) automatically found and configured my database. I only needed to put the driver jar in lib and voila! 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 18
Join discussion

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