Encountered an error while restoring the SQL backup during JIRA migration to another server
Asked by Amir Hosseini:

Hi Everyone,

We are in the process of migrating from one JIRA server to another. The new JIRA installation is completed on a Linux machine, with JIRA version 9.4.1(Data Center), and the database is PostgreSQL.

<br />

Actually, we do not change anything only we restored the backup.  
However, we are facing an issue while restoring the SQL backup when trying to open the Jira web site, as indicated in the Jira log.  
The following error occurs:

2024-09-24 08:52:54,449+0330 PlatformInstrumentsLoggingService RUNNING ERROR \[atlassian-performance\] Unable to complete diagnostics data logging. com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: com.atlassian.extras.common.LicenseException: com.atlassian.extras.common.LicenseException: Failed to verify the license. at com.atlassian.cache.memory.DelegatingCachedReference.get(DelegatingCachedReference.java:92) at com.atlassian.cache.impl.metrics.InstrumentedCachedReference.get(InstrumentedCachedReference.java:58) at com.atlassian.jira.project.CachingProjectManager.getProjects(CachingProjectManager.java:116) at com.atlassian.jira.project.CachingProjectManager.getProjectObjects(CachingProjectManager.java:136) at com.atlassian.jira.bc.project.component.CachingProjectComponentStore.findAll(CachingProjectComponentStore.java:275) at com.atlassian.jira.bc.project.component.DefaultProjectComponentManager.getTotalComponentCount(DefaultProjectComponentManager.java:178) at com.atlassian.jira.instrumentation.external.InternalStatisticsExternalGauges.lambda$new$1(InternalStatisticsExternalGauges.java:78) at com.atlassian.instrumentation.ExternalGauge.getValue(ExternalGauge.java:50) at com.atlassian.jira.diagnostics.perflog.PlatformInstrumentsLoggingService$InstrumentDisplayBean.(PlatformInstrumentsLoggingService.java:55) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source) at com.atlassian.jira.diagnostics.perflog.PlatformInstrumentsLoggingService.runOnce(PlatformInstrumentsLoggingService.java:33) at com.atlassian.jira.diagnostics.perflog.AbstractDataLoggingService.runOneIteration(AbstractDataLoggingService.java:80) at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:232) at com.google.common.util.concurrent.Callables$4.run(Callables.java:121) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/348865i4D4CCBD210243057/image-size/large?v=v2&px=999 "Capture.JPG")


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Hi [@Amir Hosseini](/t5/user/viewprofilepage/user-id/5592686)

The part of that error that stands out to me is "Failed to verify the license". I'd verify that the new server is licensed for both the base product and all the add-ons, then retry the restore.


Tags: backup

data-center

jira-data-center

migration

postgres

sql