Dam folder is not working

Avatar

Avatar

varuns46785756

Avatar

varuns46785756

varuns46785756

12-06-2019

Hi All,

One of my folder in dam is not  opening on Production author. I have one parent folder "glovebox-kit" and inside have lost of children folders( 2001,2002 ,2003...) .When I am clicking on parent folder only its showing the children folders but when I am clicking on children folder its not opening and keep trying to open.I am using AEM 6.3.

In console I am getting this error:

1771293_pastedImage_1.png

1771294_pastedImage_2.png

Replies

Avatar

Avatar

varuns46785756

Avatar

varuns46785756

varuns46785756

12-06-2019

Hi All,

Updating the issue: Just checked and one of the child folder is corrupted and now I am trying to delete the same folder but its not allowing me to delete.

Is there any sql2 query to delete the folder by crxde because manually I am not able to delete the folder in crx/de or dam.

Please suggest how can I delete forcefully the child folder.

thanks

Avatar

Avatar

anubhas68994354

Employee

Avatar

anubhas68994354

Employee

anubhas68994354
Employee

13-06-2019

Hi Varun,

Are you getting segment not found exceptions ? Or any other errors related to corruption ?

If yes , you can use below document to fix inconsistency in the repository -

Fix Inconsistencies in the repository when SegmentNotFound Issue is reported in AEM 6.x

Regards,

Anubha

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

13-06-2019

Try to run Datastore consistency check:

How to run a datastore consistency check via oak-run

for old AEM you can use AEM/CQ5 : How to perform Datastore Consistency Check in AEM

The output should give you a clue what is missing.

Avatar

Avatar

aemmarc

Employee

Avatar

aemmarc

Employee

aemmarc
Employee

13-06-2019

If you REALLY want to programatically delete the node an option would be to stop the AEM instance and use the OakRun JAR in Console mode in the following way.

java -jar oak-run-*.jar console /path/to/oak/repository --read-write

Which will bring up a console

1771646_pastedImage_4.png

Where you can load this rmNode script

:load https://gist.githubusercontent.com/stillalex/43c49af065e3dd1fd5bf/raw/ae8d7ad8887be5237e77f1bbeda88a... https://gist.githubusercontent.com/stillalex/43c49af065e3dd1fd5bf/raw/ae8d7ad8887be5237e77f1bbeda88a...

1771647_pastedImage_9.png

Then you just pass in the path you want to delete.

rmNode(session, "/path/to/node")

eg :

rmNode(session, "/content/dam/projects/us/owners/glovebox-manual/2013")

Avatar

Avatar

varuns46785756

Avatar

varuns46785756

varuns46785756

17-06-2019

thanks Every one