Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

User Sync Unable to create node at /var

jetate
Level 4
Level 4

I've followed the instructions for setting up User Sync on a pub farm, and I'm getting what looks like a failed attempt on Author to pull. The user is listed as communities-user-admin but this isn't the user that I set up under the Secret Transport Provider. Is this possible why i'm having an issue?

Also, on the error log for the publish instance I see "Unable to create node at /var" which is where the packages that author is looking for should go? So are my publishers having trouble creating the package that Author needs to pull to replicate the users?

I'm really confused, and the most information I'm seeing out there is that is works for some people, someone got it set up on a local instance, and a lot of unanswered questions.

Author log --

31.05.2018 16:07:29.440 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.trigger.impl.ScheduledDistributionTrigger agent org.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52: scheduling PULL distribution of

31.05.2018 16:07:29.442 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] REQUEST-START DSTRQ157: PULL paths=[], user=communities-user-admin

31.05.2018 16:07:29.442 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] pulling from http://publisher-1.iab-fdxdio.int:4503/libs/sling/distribution/services/exporters/socialpubsync-reve...

31.05.2018 16:07:29.455 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] pulling from http://publisher-2.iab-fdxdio.int:4503/libs/sling/distribution/services/exporters/socialpubsync-reve...

31.05.2018 16:07:29.461 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] pulling from http://publisher-3.iab-fdxdio.int:4503/libs/sling/distribution/services/exporters/socialpubsync-reve...

31.05.2018 16:07:29.467 *DEBUG* [sling-default-209-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.TriggerAgentRequestHandler@5387de52] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] REQUEST-STARTED DSTRQ157: PULL paths=[], success=false, state=DROPPED, exportTime=25ms, noPackages=0, size=0B, noQueues=0

31.05.2018 16:07:31.573 *DEBUG* [sling-default-210-Registered Service.3606] org.apache.sling.event.impl.jobs.queues.QueueManager Queue manager maintenance: Starting #209

31.05.2018 16:07:31.573 *DEBUG* [sling-default-210-Registered Service.3606] org.apache.sling.event.impl.jobs.queues.QueueManager Queue manager maintenance: Finished #209

Publish error --

31.05.2018 16:07:52.454 *ERROR* [sling-default-60-Registered Service.3324] org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup Failed to get the list of packages

org.apache.sling.distribution.common.DistributionException: Failed to get the package list

at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageBuilder.getPackages(ResourceDistributionPackageBuilder.java:248)

at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup.run(ResourceDistributionPackageCleanup.java:61)

at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:347)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: org.apache.sling.api.resource.PersistenceException: Unable to create node at /var

at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.create(JcrResourceProvider.java:460)

at org.apache.sling.resourceresolver.impl.providers.stateful.AuthenticatedResourceProvider.create(AuthenticatedResourceProvider.java:182)

at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.create(ResourceResolverControl.java:378)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.java:1159)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:656)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:644)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:644)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:644)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:644)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:644)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:593)

at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:561)

at org.apache.sling.distribution.packaging.impl.DistributionPackageUtils.getPackagesRoot(DistributionPackageUtils.java:282)

at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageBuilder.getPackages(ResourceDistributionPackageBuilder.java:245)

... 6 common frames omitted

Caused by: javax.jcr.AccessDeniedException: Access denied.

at org.apache.jackrabbit.oak.jcr.security.AccessManager.checkPermissions(AccessManager.java:71)

at org.apache.jackrabbit.oak.jcr.session.NodeImpl$5.perform(NodeImpl.java:295)

at org.apache.jackrabbit.oak.jcr.session.NodeImpl$5.perform(NodeImpl.java:264)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:208)

at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112)

at org.apache.jackrabbit.oak.jcr.session.NodeImpl.addNode(NodeImpl.java:264)

at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.create(JcrResourceProvider.java:429)

... 29 common frames omitted

11 Replies