Expand my Community achievements bar.

SOLVED

Incorrect scene7Filestatus post publishing the asset.

Avatar

Level 3

Hi Team,

Please find the issue explanation as below.

 

scene7FileStatus - On our production environment, Few assets falls under the incorrect scene7FileStatus everyday.

We are trying to find root cause but unable the re-produce issue on lower environment.

 

Steps :

1] Upload the asset.

2] Enrich the metadata

3] Publish the asset to publish environment.

4] Asset also upload to scene7 bucket as we have configured it , so upon activation it's uploaded to it.

5] Issue : Scene7FileStatus should be convert to PublishComplete from PublishIncomplete. 

 

But for few assets it's not converting to PublishComplete, on republishing the asset it's went to right status, but we are trying to find cause for the issue while it's publishing for first time, it's not fall in right status for few asset everyday.

 

Please advise. We are using AEM 6.5.2.

 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

There could be many reasons why an asset gets stuck in PublishIncomplete. I suggest opening a support ticket with us along with complete error logs and if possible adding debugger logs[0] capturing specific calls to the dm cloud for further investigation. Also, I would recommend upgrading the instance to the latest service pack as we've fixed quite a number of bugs/issues related to the processing of assets in SP4 and above.

[0] 

• com.day.cq.dam.scene7 = communication between AEM and Scene7.

• com.day.cq.dam.scene7.impl.Scene7APIClientImpl = keep track of uploads
• com.adobe.cq.dam.ips = keep track of uploads

View solution in original post

12 Replies

Avatar

Correct answer by
Level 4

Hi,

There could be many reasons why an asset gets stuck in PublishIncomplete. I suggest opening a support ticket with us along with complete error logs and if possible adding debugger logs[0] capturing specific calls to the dm cloud for further investigation. Also, I would recommend upgrading the instance to the latest service pack as we've fixed quite a number of bugs/issues related to the processing of assets in SP4 and above.

[0] 

• com.day.cq.dam.scene7 = communication between AEM and Scene7.

• com.day.cq.dam.scene7.impl.Scene7APIClientImpl = keep track of uploads
• com.adobe.cq.dam.ips = keep track of uploads

Avatar

Level 3

Thank you for your swift response vikas. sure, We will propose to upgrade the instance to latest service pack.

 

Before that you mentioned no of reason asset stuck in incorrect state. May i know few reasons? 

 

Also you mentioned fix processes related fix in latest service pack. Is there anyone change around this?

Avatar

Level 4
There were some issues related to bulk processing of assets, sometimes metadata from scene7 was not updated for the assets, etc. You can also check the Publish Asset settings selected in the dm cloud config, if its set to upon activation that means assets would be replicated to dm cloud but won't be activated until to manually publish them. Try changing the setting to Immediately to make them publish at the time of uploading.

Avatar

Level 3

Yes, it set it as upon activation only as per the business requirement. 

Here the issue is asset successfully publish in scene7 bucket and we can see green tick also. 

But when we check asset metadata where we can see scene7Filestatus is not showing as PublishComplete.

It's still showing PublishIncomplete status.

 

So thinking if there is a way to detect issue when scene7 sending this pubilshcomplete status and AEM is somehow not able to capture for few asset.


Please advise.

Avatar

Level 4
This could be a bug as pointed earlier and as suggested kindly update the instance to the latest service pack and check if it helps. If the issue persists even after the upgrade, I recommend opening. a support ticket with a complete set of error logs for further investigation.

Avatar

Level 2

Hi Vikas,

Hope you are well! We can see below error in logs, is this something which cause this issue?

(dam/scene7/asset/activation)] com.day.cq.dam.scene7.impl.listener.Scene7ActivationJobConsumer Repository exception during Scene7 asset activation

 

We already proposed the service pack upgrade, however, when we check with  adobe scene7 team, they mentioned there were no sync between AEM and scene7 related fixes in service pack 6.5.6.

 

Please advise. Thanks!

Avatar

Level 3
Hi vikas, we have business requirement to keep it upon activation and we can't change it to immediately. In order to capture scene7 events let me try to set the DEBUG mode on calls you mentioned, will that capture scene7filestatus writing back to aem event?

Avatar

Level 2

We are using AEM 6.5.6 with Dynamic-media and also facing same issue, need a way to reliably construct asset URL in author and publish instance.

 

Once an asset is published from author instance it gets published in Dynamic Media (DM) and AEM-publish instance.

  • How an author could gain confidence if he publish an asset is release to DM has completed successful or not?

in aem-publish environment seeing dam:scene7FileStatus as PublishIncomplete

  • In some cases the meta-data on aem publish instance seems to be broken for DM (e.g. dam:scene7Domain is set as preview1.assetsadobe.com) any reason why we are seeing “preview1.assetsadobe.com " on AEM publish instance.

Avatar

Level 2

We were facing in the same issue, with SP 10. Our solution was to run the workflow "Scene 7" for each asset again and the status changed from PublishIncomplete to PublishComplete.

Avatar

Level 2

Now we've found the reason, why this happen. The DAM-Resource gets published to the publisher instance, before the dam:scene7FileStatus turns from "PublishingInomplete" to "PublishingComplete" in the author-dam.

We have set the Scene7/Dynamic Media Config Publish Asset to "Upon Activation". I think this issue will be solved, if you choose "Immediately".