我正在执行JIRA ->云迁移,并且在导入过程中不断收到一条奇怪的错误消息:"Error importing:{0}"。

我使用以下方法制作了JIRA服务器(v7.5)备份zip:
系统>导入和导出>备份系统
我还将我的“数据”文件夹手动添加到存档中,如下所示:
JIRA-backup-zip-file
├── activeobjects.xml
├── entities.xml
├── data
│ ├── attachments
│ └── avatars
└── logos(资料来源:https://confluence.atlassian.com/adminjiracloud/importing-issues-776636788.html)
最后,我使用以下方法将此备份导入到JIRA云:
系统>导入和导出>恢复系统
我仍然在为JIRA和JIRA使用试用版本。还有其他人经历过类似的事情吗?我做错了什么?
发布于 2017-10-10 15:05:24
我也有同样的问题,我试图恢复没有附件,但错误仍然存在。
编辑
我送了张票给他,他告诉我:
在检查日志时,由于此异常错误,导入失败:
eventtype="micros_jira*" env="prod*" "ext.jira.tenant.id"="66c2183b-e7b4-48df-a29c-9945b0ea5b05" NOT (message="*provisioning*" OR message="*product*") logger=com.atlassian.jira.bc.dataimport.CloudImportTaskRunner* OR logger=com.atlassian.jira.bc.dataimport* OR logger=com.atlassian.jira.internal.rest.ProvisioningResource* (level="WARN" OR level="ERROR") message="Exception importing entity: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:ClusteredJob][cronExpression,0 0 7/12 * * ?][jobId,com.atlassian.jira.service.JiraService:10001][jobRunnerKey,com.atlassian.jira.service.DefaultServiceManager][id,10000][schedType,C][version,428][parameters,[B@21a97660][nextRun,1507680000000] (SQL Exception while executing the following:INSERT INTO public.clusteredjob (ID, JOB_ID, JOB_RUNNER_KEY, SCHED_TYPE, INTERVAL_MILLIS, FIRST_RUN, CRON_EXPRESSION, TIME_ZONE, NEXT_RUN, VERSION, PARAMETERS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint \"pk_clusteredjob\"
Detail: Key (id)=(10000) already exists.))"为了纠正这一点,请解压缩您的JIRA备份并编辑entities.xml文件并更改以下行:
<ClusteredJob id="10000" 到较高的未使用ID,如
ClusteredJob id="99999" 保存entites.xml文件并重新压缩所有文件。然后,您应该能够导入。
这里的bug概述了这一点:
https://stackoverflow.com/questions/46646778
复制相似问题