Reindex in AEM6.0 | Community
Skip to main content
Level 6
October 16, 2015
Solved

Reindex in AEM6.0

  • October 16, 2015
  • 31 replies
  • 6029 views

Hi All,

If we view properties of images  through asset tab , it is taking more time .

In logs we can able to see the below issue continuously

 

02.07.2015 11:10:26.367 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 17000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:26.589 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 18000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:26.815 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 19000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:27.035 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 20000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:27.257 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 21000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:27.478 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 22000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:27.703 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 23000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query
02.07.2015 11:10:27.921 *WARN* [1.23.17.158 [1435849806530] GET /libs/dam/gui/content/assets/metadataeditor.html/content/dam/core-assets/e-papers/test-folder-for-epapers/ken2.png HTTP/1.1] org.apache.jackrabbit.oak.spi.query.Cursors$TraversingCursor Traversed 24000 nodes with filter Filter(query=select [jcr:path], [jcr:score], * from [cq:Tag] as a where isdescendantnode(a, '/etc/tags/default') /* xpath: /jcr:root/etc/tags/default//element(*, cq:Tag) */, path=/etc/tags/default//*); consider creating an index or changing the query

 

Please let me know how to do this indexing, For this which indexing is fine . Lucene or property index.

Also please let me know how to execute from oak:index node.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

Hi,

if you unable to rerun the upgrade, performing all the cleanup tasks and applicable kwon issue fixes on a copy of your original 5.x AEM instance. Then I suggest you contact daycare to help with the current issue.

Regards,

Opkar

31 replies

Adobe Employee
October 16, 2015

It could be there is an old Job that is referencing the workflow instance in the error. Daycare will be able to help with this.

Gokul2011Author
Level 6
October 16, 2015

Hi,

Migrated crx2 to oak repository and performed steps provided by adobe. it took 55 hours to complete.

Once java process stopped  , i moved segment and datastore to new /repository/ folder and started the instance, We are getting below error

error.log:16.07.2015 12:11:55.924 *ERROR* [qtp262977498-67] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:11:55.924 *ERROR* [qtp262977498-67] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
error.log:16.07.2015 12:12:37.383 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:12:37.383 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
error.log:16.07.2015 12:12:37.671 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:12:37.671 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
error.log:16.07.2015 12:12:37.885 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:12:37.885 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
error.log:16.07.2015 12:12:38.229 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:12:38.229 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
error.log:16.07.2015 12:12:38.556 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
error.log:16.07.2015 12:12:38.556 *ERROR* [qtp262977498-69] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

 

Please let me know if any post activity to perform..

 

Adobe Employee
October 16, 2015

You don't have to enable DEBUG, the exception will be in the standard settings for error.log

Adobe Employee
October 16, 2015

The errors you posted: 

error.log:16.07.2015 12:11:55.924 *ERROR* [qtp262977498-67] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.

Are from error.log, so you need to search in that log file. There will be exceptions present as your AEM instance is starting, the above log message is the result of exceptions occurring during startup.

Regards,

Opkar

Gokul2011Author
Level 6
October 16, 2015

Great. I thought to check logs during migration

I will enable logger for error into "DEBUG" mode and grep all logs and post ASAP.

Gokul2011Author
Level 6
October 16, 2015

HI All,

Does the hotfix 5521 for metadata editor fast loading package will works on top of CRX2 with AEM6 SP1.?

Sham_HC
Level 10
October 16, 2015

Install the recommended service pack and hotfix from https://helpx.adobe.com/experience-manager/kb/aem6-available-hotfixes.html

Gokul2011Author
Level 6
October 16, 2015

Yes we will take backup of live before performing.

Once done , we will migrate to OAK version and install SP1 and Sp2 

Adobe Employee
October 16, 2015

The time for migration is dependent on your repository, as each repository is different, so it is hard to give an estimate. The best approach would be to use a backup of your live environment and run the upgrade on it, this would give an accurate figure for how long it would take for your system.

Ideally you need to invest time in preparing for the the upgrade process, you also need to investigate what changes need to be made in your application code in order for it to work with AEM 6.x

Gokul2011Author
Level 6
October 16, 2015

Yes but not sure if any custom code issue occurs during Sp2 installation?

More over i have few querries.

Currently in LIVE environment we have upgrade from Cq5.6.1 to AEM 6.0 SP1 and the images and videos in repository is approximately 2 Tb.

Can you please provide approximate time to migrate from crx2 to OAK using migration tool?