Hello,
I'm getting the "Failed to Delete" error when I try to delete any of my Assets. I'm signed in as an Admin with all of the correct privileges. Given that I have recently migrated our content to DITA, I have recently uploaded a significant amount of DITA topics, maps, and associated graphics, we think this could be some kind of indexing error ...?
We are in AEM6.5.
The error logs show the following:
(A)
19.10.2023 18:10:48.666 *WARN* [65.121.242.8 [1697739047670] POST /bin/wcmcommand HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 100000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and contains(*, '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai') and isdescendantnode(a, '/content/dam') order by [jcr:created] desc option(index tag [visualSimilaritySearch]) /* xpath: /jcr:root/content/dam//element(*, dam:Asset)[(jcr:content/@contentFragment = 'true' and jcr:contains(., '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai'))] order by @6655266:created descending option (index tag visualSimilaritySearch) */ fullText="/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai", path=/content/dam//*, property=[:indexTag=[visualSimilaritySearch], jcr:content/contentFragment=[true]]); consider creating an index or changing the query
19.10.2023 18:10:48.674 *WARN* [65.121.242.8 [1697739047670] POST /bin/wcmcommand HTTP/1.1] org.apache.jackrabbit.oak.query.FilterIterators The query read or traversed more than 100000 nodes.
org.apache.jackrabbit.oak.query.RuntimeNodeTraversalException: The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped.
(B)
19.10.2023 18:35:01.177 *INFO* [65.121.242.8 [1697740501176] POST /bin/fmdita/query/references HTTP/1.1] com.adobe.fmdita.query.controller.ReferenceQueryController Received request to get safe delete report
19.10.2023 18:35:01.233 *WARN* [65.121.242.8 [1697740501230] POST /bin/wcmcommand HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.lucene.LucenePropertyIndex This index is deprecated: /oak:index/lucene; it is used for query Filter(query=select [jcr:path], [jcr:score], * from [nt:base] as a where contains(*, '"/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai"') /* xpath: //*[jcr:contains(., '"/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai"')] */ fullText="/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai", path=*). Please change the query or the index definitions.
19.10.2023 18:35:01.252 *WARN* [65.121.242.8 [1697740501230] POST /bin/wcmcommand HTTP/1.1] org.apache.jackrabbit.oak.query.QueryImpl Traversal query (query without index): select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and contains(*, '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai') and isdescendantnode(a, '/content/dam') order by [jcr:created] desc option(index tag [visualSimilaritySearch]) /* xpath: /jcr:root/content/dam//element(*, dam:Asset)[(jcr:content/@contentFragment = 'true' and jcr:contains(., '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai'))] order by @6655266:created descending option (index tag visualSimilaritySearch) */; consider creating an index
19.10.2023 18:35:01.262 *WARN* [65.121.242.8 [1697740501230] POST /bin/wcmcommand HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 1000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/contentFragment] = 'true' and contains(*, '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai') and isdescendantnode(a, '/content/dam') order by [jcr:created] desc option(index tag [visualSimilaritySearch]) /* xpath: /jcr:root/content/dam//element(*, dam:Asset)[(jcr:content/@contentFragment = 'true' and jcr:contains(., '/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai'))] order by @6655266:created descending option (index tag visualSimilaritySearch) */ fullText="/content/dam/common-to-all-product-families/graphics/ref-guide-cover-pages/brand/english/product.ai", path=/content/dam//*, property=[:indexTag=[visualSimilaritySearch], jcr:content/contentFragment=[true]]); consider creating an index or changing the query