Expand my Community achievements bar.

Error during installation of ACs common package in macbook

Avatar

Level 3

Hi team,

 

I have done local AEM setup in my  Apple macbook pro. But while installing "acs-aem-commons-content-5.0.6.zip" i am getting below error:-

java.io.IOException: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record c3a6d4636d04143ef7122dc3f8ffe5bfc7058b66349d6096beb85691acdf9774 does not exist
    at org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob$1.read(BlobStoreBlob.java:57)
    at java.base/java.io.InputStream.read(InputStream.java:271)
    at java.base/java.io.InputStream.read(InputStream.java:205)
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314)
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246)
    at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.getPackage(JcrPackageImpl.java:330)
    at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.getPackage(JcrPackageImpl.java:277)
    at org.apache.jackrabbit.vault.packaging.registry.impl.JcrRegisteredPackage.(JcrRegisteredPackage.java:47)
	at org.apache.jackrabbit.vault.packaging.registry.impl.JcrPackageRegistry.open(JcrPackageRegistry.java:255)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.installDependencies(JcrPackageImpl.java:768)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:383)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:360)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:530)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:360)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:354)
	at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:382)
	at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:224)
	at com.day.crx.packaging.impl.PackageManagerServlet.doPost(PackageManagerServlet.java:173)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:126)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86)
	at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:73)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:152)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1000)
	at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:69)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at com.adobe.granite.auth.ims.impl.IMSClusterExchangeTokenPreprocessor.doFilter(IMSClusterExchangeTokenPreprocessor.java:281)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:326)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1010)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:94)
	at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record c3a6d4636d04143ef7122dc3f8ffe5bfc7058b66349d6096beb85691acdf9774 does not exist
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:874)
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getInputStream(DataStoreBlobStore.java:448)
	at org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob.getNewStream(BlobStoreBlob.java:50)
	at org.apache.jackrabbit.oak.segment.SegmentBlob.getNewStream(SegmentBlob.java:263)
	at org.apache.jackrabbit.oak.segment.SegmentBlob.getNewStream(SegmentBlob.java:84)
	at org.apache.jackrabbit.oak.plugins.value.jcr.BinaryImpl.getStream(BinaryImpl.java:59)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.getPackage(JcrPackageImpl.java:329)
	... 73 more
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Record c3a6d4636d04143ef7122dc3f8ffe5bfc7058b66349d6096beb85691acdf9774 does not exist
	at org.apache.jackrabbit.core.data.AbstractDataStore.getRecord(AbstractDataStore.java:59)
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getDataRecord(DataStoreBlobStore.java:883)
	at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:868)

 Can anyone please help to resolve this issue.

10 Replies

Avatar

Community Advisor

Can you provide AEM version in which you are facing this issue?

Avatar

Level 3

Hi @rawvarun 

Firstly it was 6.5.5 when it got installed in my machine, then i tried to install the package mentioned above. I got the same error. Then someone suggested to install latest SP package . So, i installed SP15. Then again tried to install the ACS Common package but same error i am getting.

Avatar

Community Advisor

@skumari  Your instance seems to be corrupted.

Can you possibly check, if anyone else in your team is also facing this issue?

 

Else, you can spawn a new instance and try installing the package again


Aanchal Sikka

Avatar

Level 3

Hi @aanchal-sikka 

Actually in  my team all are using Window machine where no body faced this kind of issue.

Avatar

Community Advisor

Hi @skumari Once you setup AEM, please check if all bundles are active and AEM looks in healthy state. Try opening any we-retail pages. I hope you are setting up AEM with all required permission in the beginning. 

Once AEM looks stable, please install any package created from different env just to validate instead of installing ACS Commons. Error you have shared does not seem to be specific to ACS Commons package installation.

Avatar

Level 3

Hi @Sachin_Arora_ 

I have installed the Fresh AEM(6.5.5) , bundle showing all active. But when edited one of we-retail page , got the same error which getting for package installation. Please suggest now what to do to resolve the error.

Avatar

Community Advisor

@skumari I think in that case AEM is corrupted. AEM creates a folder inside crx-quickstart where it stores blobs and segment store by default. Probably the user you are using does not have full privileges and due to that AEM is not able to create blobs inside crx-quickstart. 

Check permissions before running AEM jar for very first time. 

You can refer this link if it helps : https://aemgeeks.com/aem-tutorials/aem-local-setup-in-mac-or-windows/

 

Avatar

Community Advisor

@skumari Please update if your local issue got resolved and what was the fix. It will help others as well.

Avatar

Level 3

Hi @Sachin_Arora_ 

Basically it is required to have AEM 6.5.0 as the base AEM version. Don't know the exact cause why it was not working when using AEM 6.5.5 as base version but it resolved after this only .

After this we have installed below packages

  • accesscontroltool-package-2.8.0
  • acs-aem-commons-content-5.0.6
  • aem-service-pkg-6.5.13