Import fails with Error occurred while running the task message

XMLWordPrintable

    • Severity 3 - Minor

      Problem Description

      When running import, it hits into the error below when the import hit 21%:

      Steps to replicate

      1. Generate a backup from a Jira cloud instance
      2. Attempt to import to another JIRA Cloud instance

      Expected Result

      Import complete, as the backup data was generated from JIRA Cloud to another JIRA Cloud

      Actual Result

      Import failed as the error message on the problem description

      Checking the logs, you see the error message:

      msg:	 Import task failed: [Error occurred while running the task. Please contact support.]	
          	 stack:	 cloud.atlassian.provisioning.exception.PermanentProvisioningFailureException: Import task failed: [Error occurred while running the task. Please contact support.]
      	at com.atlassian.jira.internal.rest.CloudBackupManager.startImport(CloudBackupManager.java:91)
      	at com.atlassian.jira.internal.rest.ImportResource.lambda$importArchive$1(ImportResource.java:75)
      	at com.atlassian.jira.internal.rest.AbstractCloudProvisionerResource.lambda$withTenantedWorkContext$0(AbstractCloudProvisionerResource.java:68)
      	at com.atlassian.jira.internal.filter.InternalResource.withWorkContext(InternalResource.java:100)
      	at com.atlassian.jira.internal.rest.AbstractCloudProvisionerResource.withTenantedWorkContext(AbstractCloudProvisionerResource.java:66)
      	at com.atlassian.jira.internal.rest.ImportResource.importArchive(ImportResource.java:74)
      	at com.atlassian.jira.internal.rest.ImportResource.lambda$post$0(ImportResource.java:65)
      	at com.atlassian.jira.internal.rest.AsyncCloudTaskRunner$AsyncCloudProvisionerHelper.wrapTask(AsyncCloudTaskRunner.java:146)
      	at com.atlassian.jira.internal.rest.AsyncCloudTaskRunner$AsyncCloudProvisionerHelper.lambda$runAsync$0(AsyncCloudTaskRunner.java:129)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      
        	}	
        	 ext:	{	[+]	
        	}	
        	 host:	 ip-10-124-186-127.useast.atl-inf.io	
        	 hostname:	 4021ce91fd13	
        	 level:	 ERROR	
        	 logger:	 com.atlassian.jira.internal.rest.ProvisioningResource.privacy-safe	
        	 m:	{	[+]	
        	}	
        	 message:	 Non recoverable error occurred during cloudImport.		
      

      The error seems to be related to the fact that Jira running into an error getting provisioning date:

          	 level:	 ERROR	
        	 logger:	 com.atlassian.jira.config.featureflag.context.BaseFeatureFlagContextSupplier.privacy-safe	
        	 m:	{	[+]	
        	}	
        	 message:	 Error getting provisioning date	
      
       msg:	 Unable to load values for CacheKey[entityName=jira.properties,entityId=1]	
          	 stack:	 com.opensymphony.module.propertyset.PropertyImplementationException: Unable to load values for CacheKey[entityName=jira.properties,entityId=1]
      	at com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore.propEx(CachingOfBizPropertyEntryStore.java:320)
      Caused by: com.querydsl.core.QueryException: Caught PSQLException for select "O_S_PROPERTY_ENTRY"."property_key", "O_S_PROPERTY_ENTRY"."propertytype"
      from "public"."propertyentry" "O_S_PROPERTY_ENTRY"
      where "O_S_PROPERTY_ENTRY"."entity_name" = ? and "O_S_PROPERTY_ENTRY"."entity_id" = ?
      order by "O_S_PROPERTY_ENTRY"."id" desc
      Caused by: org.postgresql.util.PSQLException: ERROR: relation "public.propertyentry" does not exist
        Position: 86
      	at com.sun.proxy.$Proxy4803.executeQuery(Unknown Source)
      	at com.querydsl.sql.AbstractSQLQuery.fetch(AbstractSQLQuery.java:446)
      	... 44 more	
      

      Workaround

      No workaround yet

            Assignee:
            Unassigned
            Reporter:
            Charles Meireles
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: