We installed SP8(AEM 6.4.8) on Prod servers. Since then we were not able to update the assets (pdf file) to dynamic media. After troubleshooting we found that assets are getting uploaded to scene7 but their metadata is still showing as uploadStarted instead of Publishcompleted. Because of this, assets are always shown as processing in the card view. Also no other properties e.g. scene7 asset url, file, domain company id etc. And are not getting updated to these asset’s on metadata node. This was working fine earlier without Service Pack 8 Installation. Currently also, it is working fine on those servers in lower environments where we have installed SP8.
Can you please help me on this issue.
Solved! Go to Solution.
Views
Replies
Total Likes
Resolution Description: -
After fixing the issue, we have also tested all the DAM Assets e.g., images (. jpg, Png), pdfs, video (.mp4) upload and they are working fine as expected.
Hi @RamMandala : what is the size of pdf you tried uploading ?
is the issue only with large size pdf assets or is it with all mimetypes (jpegs/png's) and all sizes?
I would recommend checking your workflow instances and logs and see for any issues . You can check and compare OOTB scene7 instance workflow models and see all hander advances are checked.
Try uploading same pdf on all lower/higher instance and see if issue is with the asset or with DM configuration.
Thank you @digarg for reply.
We are uploaded 100KB to 5 MB pdf files not huge files. This issue for only PDF files not for images.
we tested same files in lower environments like dev, test, pre-prod it is working fine. but issue in prod.
I found in error log below error.
26.09.2022 13:34:48.219*ERROR* [194.50.160.200 [166419208823404] GET /mnt/overlay/dam/gui/coral/content/commons/sidepanels/renditions.html/content/dam/project/downloads/Santabd.pdf HTTP/1.1] com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource Unable to read property!
javax.jcr.PathNotFoundException: jcr:content/metadata/dam:scene7File not found on /content/dam/project/downloads/Santabd.pdf
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$11.perform(NodeImpl.java:636) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$11.perform(NodeImpl.java:629) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.getProperty(NodeImpl.java:629) [org.apache.jackrabbit.oak-jcr:1.8.20]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.readProperty(DMSmartCropResource.java:88) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.getFileName(DMSmartCropResource.java:62) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.isValid(DMSmartCropResource.java:73) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.datasource.SmartCropDataSource.colate(SmartCropDataSource.java:148) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.datasource.SmartCropDataSource.<init>(SmartCropDataSource.java:69) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.servlets.SmartCropDataSourceServlet.doGet(SmartCropDataSourceServlet.java:97) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
@RamMandala In order to enable the PDF upload to Dynamic Media for AEM, please got to this path in CRXDE:
/conf/global/settings/cloudconfigs/dmscene7/jcr:content/mimeTypes/application_pdf
Enabled=true
Save All
Note: PDF isn't allowed to be served via DM. I recommend opening a support ticket with Adobe and getting a confirmation.
@RamMandala @diksha_mishra : For me PDF upload to DM works seamlessly without making any explicit change in crxde. (testing on 6.5)
https://github.com/AdobeDocs/experience-manager-64.en/blob/main/help/assets/assets-formats.md
Configuration in crxde :
Enabled = true
pdfprocess=Rasterize&resolution=150&colorspace=Auto&pdfbrochure=true&keywords=true&links=true
Can you find the uploaded pdf in DM , use search and see if PDFis in DM.If exists in DM, is It
published and the Dynamic url's generated in DM like below?
what do you see in workflow instances status in AEM?
Any errors in AEM logs?
Can you also recheck scene7 configuration and make sure you are uploading in correct folder.
26.09.2022 13:34:48.219*ERROR* [194.50.160.200 [166419208823404] GET /mnt/overlay/dam/gui/coral/content/commons/sidepanels/renditions.html/content/dam/project/downloads/Santabd.pdf HTTP/1.1] com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource Unable to read property!
javax.jcr.PathNotFoundException: jcr:content/metadata/dam:scene7File not found on /content/dam/project/downloads/Santabd.pdf
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$11.perform(NodeImpl.java:636) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$11.perform(NodeImpl.java:629) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:207) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:112) [org.apache.jackrabbit.oak-jcr:1.8.20]
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.getProperty(NodeImpl.java:629) [org.apache.jackrabbit.oak-jcr:1.8.20]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.readProperty(DMSmartCropResource.java:88) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.getFileName(DMSmartCropResource.java:62) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.smartcrop.DMSmartCropResource.isValid(DMSmartCropResource.java:73) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.datasource.SmartCropDataSource.colate(SmartCropDataSource.java:148) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.datasource.SmartCropDataSource.<init>(SmartCropDataSource.java:69) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at com.day.cq.dam.s7dam.common.servlets.SmartCropDataSourceServlet.doGet(SmartCropDataSourceServlet.java:97) [com.day.cq.dam.cq-dam-s7dam:5.11.188]
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266) [org.apache.sling.api:2.20.0]
Can you try uploading pdf in a folder with smart cropping disabled and se eif issue persists.
Actually smart cropping is Using for images. not pdfs, for that above dam:scene7File not found on /content/dam/project/downloads/Santabd.pdf in dynamic media classic that file is not shown because of
dam:scene7FileStatus
|
String
|
UploadStart
|
And after publishing
is this a password protected/ encrypted pdf by any chance ? you can try to check and compare pdf options general settings - >application set up -> upload option - > pdf options tab on non-prod DM account where you are able to upload same pdf successfully.
but will recommend to raise a DM support ticket . This may be a known issue with PDF at DM side..
Can you please help me any one still having issue. not resolved this issue.
Resolution Description: -
After fixing the issue, we have also tested all the DAM Assets e.g., images (. jpg, Png), pdfs, video (.mp4) upload and they are working fine as expected.
Views
Likes
Replies
Views
Likes
Replies