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

AEM 6.3 Error installing dam package using packageMgr console.

Avatar

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
akashdeep_mishra
Level 1

18-08-2020

Hi, We are using AEM 6.3 and require to upload install prod dam assets and prod content pages into lower environment on a monthly basis. Is there a recommended/efficient (packaging only recent modified/created content) way of doing it. prod dam package size is 3.5 GB - 4GB.  It takes almost an hrs to upload the dam assets package. Installing this prod dam package gives below error for one of the lower instances, 

{"success":false,"msg":"javax.jcr.nodetype.ConstraintViolationException:         OakConstraint0021: /content/dam/myproj/promotional/some-pages/brand-logos/puma-logo.png/jcr:content/renditions/cq5dam.thumbnail.319.31        9.png/jcr:content[[oak:Resource]]: Mandatory property jcr:data not found in a new node"}  But the same prod dam package installs successfully on another lower environment. What could we do to fix this error. And what is the recommended way to  transfer prod assets from one environment to another and replicate.  @kautuk_sahni  @Jörg_Hoh 

Replies

Avatar

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
aemmarc
Employee

18-08-2020

jcr:data is the actual binary object. So no - it did not successfully install. 

 

You'd likely see a missing blob / datastore exception if something referenced this thumbnail rendition.

/content/dam/myproj/promotional/some-pages/brand-logos/puma-logo.png/jcr:content/renditions/cq5dam.thumbnail.319.319.png

 

Use crx2oak to migrate content between repositories.

 

Are you disabling workflow launchers before you install this enormous content package?

Conceivably the DAM Update Asset workflow is going to run on every asset you add which would add a tremendous amount of needless overhead -- especially given that you're packaging up thumbnail renditions which would automatically be created anyways. 

Avatar

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
akashdeep_mishra
Level 1

18-08-2020

Thanks @aemmarc  We did not get this error on another qa1aem6.3author instance. But we only got this error on qa2aem6.3author. And do we need to use crx2oak to migrate content between different instances of same aem versions aem 6.3.  I assumed only in case of repository difference like migrating content from cq5.6 to aem6.3 we would use crx2oak but in our case it is within prodaem6.3 and qaaem6.3. Yes the dam update asset workflow is disabled. And we see a valid jcr:data present in prod aem6.3 author so not sure what is the error. 

Avatar

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct Reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
aemmarc
Employee

18-08-2020

RE : we see a valid jcr:data

 

Click on "View" which will download the binary as a file.

Save it as "pic.png" and see if the image actually exists. I'd be interested to see if it's a 0-byte file.

 

 

 

 

Avatar

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
akashdeep_mishra
Level 1

Likes

2 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
akashdeep_mishra
Level 1

18-08-2020

Yes @aemmarc  The downloaded puma.pngjcr:data is a proper image. PFA for reference. And this is from prod.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,429 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,429 likes

Total Posts

3,300 posts

Correct Reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

19-08-2020

You can use migration tool to migrate content from one repository to another

https://jackrabbit.apache.org/oak/docs/migration.html