Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-81

Space migration fails due to Confluence version

    XMLWordPrintable

Details

    • 11
    • Severity 3 - Minor

    Description

      Issue Summary

      Importing a space fails with message: Error Step failed, message: Import to cloud failed. Message: low_version_errorWe can't import your file because it's from an old server version. Please use the Cloud Migration Asssistant Cloud Migration Assistant for Confluence or upgrade your server version to 6.14 or later before retrying.

      Environment

      Confluence 6.13.0 and lower.

      Steps to Reproduce

      This is difficult to create a page with the invalid character. It is usually due to older versions of Confluence being upgraded. To cause this error a direct database SQL update on the content table is required. This is not recommended in production systems.

      Expected Results

      Space gets migrated.

      Actual Results

      The space migration fails with the message above.

      com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 character 0xffff at char #132018, byte #159349)
      	at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:708)
      	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
      	at com.ctc.wstx.evt.WstxEventReader.nextEvent(WstxEventReader.java:196)
      com.atlassian.migration.agent.service.stepexecutor.space.SpaceExportPostProcessor.postprocessEntities(SpaceExportPostProcessor.java:261)
      com.atlassian.migration.agent.service.stepexecutor.space.SpaceExportPostProcessor.postprocess(SpaceExportPostProcessor.java:110)
      com.atlassian.migration.agent.service.stepexecutor.space.SpaceExportExecutor.doExport(SpaceExportExecutor.java:158)
      com.atlassian.migration.agent.service.stepexecutor.space.SpaceExportExecutor.lambda$runJob$2(SpaceExportExecutor.java:133)
      com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.lambda$runStep$1(StepSchedulerService.java:179)
      com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.lambda$runStep$4(StepSchedulerService.java:199)
      com.atlassian.confluence.util.logging.LoggingContext.executeWithContext(LoggingContext.java:146)
      com.atlassian.migration.agent.logging.LoggingContextBuilder.execute(LoggingContextBuilder.java:116)
      com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.runStep(StepSchedulerService.java:197)
      com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.runStep(StepSchedulerService.java:179)
      com.atlassian.migration.agent.service.stepexecutor.space.SpaceExportExecutor.runJob(SpaceExportExecutor.java:133)
      com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:120)
      com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:91)
      com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
      com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
      com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:91)
      	at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
      com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
      	at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
      com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443)
      com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410)
      com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388)
      com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285)
      com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282)
      com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
      com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
      com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.CharConversionException: Invalid UTF-8 character 0xffff at char #132018, byte #159349)
      	at com.ctc.wstx.io.UTF8Reader.reportInvalid(UTF8Reader.java:335)
      	at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:249)
      	at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
      com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
      	at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:992)
      	at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1034)
      com.ctc.wstx.sr.BasicStreamReader.readCDataSecondary(BasicStreamReader.java:4324)
      com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3681)
      	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1023)
      

      Attachments

        Issue Links

          Activity

            People

              bwalker2 Byron Walker
              dbrito Daniel Brito [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: