Error on start migration Confluence server to Cloud
Asked by henrique.oliveira:

I can't migrate my Confluence Server to Confluence Cloud

```
https://virtuem.atlassian.net | taskName: Migrate users and groups | taskId: 74591060-150c-4684-91d1-2a1ef0088214
com.atlassian.migration.agent.service.stepexecutor.StepExecutionException: Failed to add user to groups
at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.doProgressCheck(UsersMigrationExecutor.java:174)
at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.lambda$runJob$1(UsersMigrationExecutor.java:144)
at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.lambda$runStep$4(StepSchedulerService.java:199)
at com.atlassian.confluence.util.logging.LoggingContext.executeWithContext(LoggingContext.java:147)
at com.atlassian.migration.agent.logging.LoggingContextBuilder.execute(LoggingContextBuilder.java:109)
at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.runStep(StepSchedulerService.java:197)
at com.atlassian.migration.agent.service.stepexecutor.StepSchedulerService.runScheduledStep(StepSchedulerService.java:193)
at com.atlassian.migration.agent.service.stepexecutor.user.UsersMigrationExecutor.runJob(UsersMigrationExecutor.java:143)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:88)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:88)
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285)
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
at java.lang.Thread.run(Thread.java:748)
```


Answers:
author: Ismael Jimoh
body: Hi\&nbsp;\&nbsp;  
Where do your users and groups come from (Internal or AD)?  
If the later please migrate them to internal directory first before attempting your migration.  
Cheers.

comments: author: henrique.oliveira
body: Hi [@Ismael Jimoh](/t5/user/viewprofilepage/user-id/1214168) I'm use Confluence internal directory


author: Ismael Jimoh
body: Can you help with the following:

1. What process are you at when you get the error?
2. How are you migrating Server to Cloud?
3. A full stack of the error you get as this seems to be a snippet of the error.

If this contains sensitive data then please raise a ticket with Atlassian Cloud support.

Cheers.


Tags: cloud-migration

confluence-server

server