Highlighted

AEM 6.1 to 6.2 migration issue

vishwasu2092848

06-10-2017

We are facing below issues while migrating from 6.1 to 6.2:

User-accounts:

We used "ACS common packager" for migrating users from 6.1 to 6.2, we have got user-permissions partially on 6.2 instance. For example, allison has access to "data, etc, content" in 6.1 while after migration allison has access to "etc, content" in 6.2 instance

Workflows:

We created a package of models and launchers from 6.1 instance for workflows and deployed it on 6.2 instance. The package was installed successfully on 6.2 instance but whenever i am trying to start a workflow i am getting error "Could not start workflow". Please find logs regarding it in log file.

06.10.2017 05:21:01.961 *WARN* [168.133.61.135 [1507281661956] POST /etc/workflow/instances HTTP/1.1] com.adobe.granite.workflow.core.jcr.WorkflowModelManager Workflow model does not exist: /etc/workflow/models/XYZ-workflow/jcr:content/model

06.10.2017 05:21:02.817 *ERROR* [168.133.61.135 [1507281661956] POST /etc/workflow/instances HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.event.EventPublishUtil.publishWorkflowStartedEvent(EventPublishUtil.java:157)

at com.adobe.granite.workflow.core.WorkflowSessionImpl.startWorkflow(WorkflowSessionImpl.java:1380)

at com.adobe.granite.workflow.console.servlet.InstancesServlet.doPost(InstancesServlet.java:93)

at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)

at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:345)

at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:376)

at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:546)

at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)

at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:362)

at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:177)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)

Replies