Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

AEM 6.3 upgrade failure on 6.1 SP1 publisher

Avatar

Level 3

Bundles are active,welcome,siteadmin page loads fine but nothing is written inside /apps. getting the below exception while starting the upgraded 6.3 instance.

 

 

23.05.2017 12:16:26.456 *WARN* [FelixStartLevel] org.apache.sling.servlets.post [org.apache.sling.servlets.post.impl.SlingPostServlet(847)] Could not get service from ref [org.apache.sling.servlets.post.PostOperation, com.adobe.cq.social.scf.SocialOperationInfo]
23.05.2017 12:16:26.456 *WARN* [FelixStartLevel] org.apache.sling.servlets.post [org.apache.sling.servlets.post.impl.SlingPostServlet(847)] DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference [org.apache.sling.servlets.post.PostOperation, com.adobe.cq.social.scf.SocialOperationInfo] for reference postOperation
23.05.2017 12:16:26.457 *INFO* [FelixStartLevel] org.apache.sling.event Service [6149, [org.apache.sling.discovery.PropertyProvider]] ServiceEvent REGISTERED
23.05.2017 12:16:28.172 *ERROR* [discovery.connectors.common.runner.9f294cc6-d577-49c2-85d9-3c289e24878f.connectorPinger] org.apache.sling.discovery.base.connectors.announcement.AnnouncementRegistryImpl checkExpiredAnnouncements: got PersistenceException when checking for expired announcements of slingId=9f294cc6-d577-49c2-85d9-3c289e24878f: org.apache.sling.api.resource.PersistenceException: Unable to create node at /var
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:377)
        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.discovery.commons.providers.util.ResourceHelper.getOrCreateResource(ResourceHelper.java:45)
        at org.apache.sling.discovery.base.connectors.announcement.AnnouncementRegistryImpl.checkExpiredAnnouncements(AnnouncementRegistryImpl.java:508)
        at org.apache.sling.discovery.base.commons.BaseViewChecker.doCheckView(BaseViewChecker.java:221)
        at org.apache.sling.discovery.oak.pinger.OakViewChecker.doCheckView(OakViewChecker.java:304)
        at org.apache.sling.discovery.base.commons.BaseViewChecker.heartbeatAndCheckView(BaseViewChecker.java:163)
        at org.apache.sling.discovery.base.commons.BaseViewChecker.run(BaseViewChecker.java:146)
        at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.safelyRun(PeriodicBackgroundJob.java:86)
        at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.run(PeriodicBackgroundJob.java:77)
        at java.lang.Thread.run(Thread.java:745)
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)
        ... 30 common frames omitted

2 Replies

Avatar

Level 9

Hi,

Sounds like communities system user missing the permission to write into /var which is required for distribution to work.  Set the permission accordingly.  

Thanks,

Avatar

Level 3

Thanks, I don't see much community users, I could see only community moderator group, remaining users and groups are missing on the upgraded instance.