Unable to publish a document in AEM Cloud. | Community
Skip to main content
Level 2
June 25, 2024

Unable to publish a document in AEM Cloud.

  • June 25, 2024
  • 3 replies
  • 805 views

Trying to publish a PDF document, but it is stuck in the publishing queue with error:

 

 

pubAgentName=publish, userId=replication-service, paths=[/content/dam/pdfs/12345.pdf], deepPaths=[], metadata={}) at offset=342247676 because of 'javax.jcr.version.VersionException: OakVersion0000: Node at / has no primary type.', the importer will retry later

 

 

I check the node and can't find anything wrong. However, this document doesn't have any version history in /jcr:system/jcr:versionStore/.... This document does have version history in it's timeline audit log. Question is when it tries to publish something in the queue, is it doing validation in the version history before it is allowed to publish.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

MukeshYadav_
Community Advisor
Community Advisor
June 25, 2024

Hi, just cross check the primaryType and also if the logged in user(In case its via code- service/user) have enough permission (acl).

 

Thanks

Anudeep_Garnepudi
Community Advisor
Community Advisor
June 26, 2024

@jimmychaucap 

Check if this PDF (/content/dam/pdfs/12345.pdf) has jcr:content node or not.

AG
kautuk_sahni
Community Manager
Community Manager
July 16, 2024

@jimmychaucap Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni