AEM 6.3: created groups and users are not found in search after server restart | Community
Skip to main content
Level 2
July 4, 2019

AEM 6.3: created groups and users are not found in search after server restart

  • July 4, 2019
  • 1 reply
  • 9805 views

Hello,

when I create a new group or user in /system/useradmin everything is fine as long as the server keeps running.

When I only log out and back in again, still everything works fine.

But as soon as I stop the instance and start it up again, the users and groups are still there but are not found in the search anymore.

I always have to click through the pages until I find them, which is really annoying.

I tried reindexing the authorisables, because I found that hint in the forum but it didn't solve the issue.

Does anybody have encountered this issue before and knows a solution?

Thanks in advance for your help!

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

1 reply

anujg3325839
Adobe Employee
Adobe Employee
July 4, 2019

Did you try to click on Hide users or Hide group and do the search?

Does the touch UI also show the same behavior? Do you see any kind of traversal warning message in error logs?

UweJäAuthor
Level 2
July 4, 2019

I clicked hide users and Hide groups several times.

Same behaviour on touch UI.

There are traversal errors but not regarding users or groups but rather certain pages.

For example

04.07.2019 08:23:47.055 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing Traversed #10000 /de/department-landing-info/Communication/germany/public/events/2017/54-jahre-ebm-in-mulfingen

Edit:

Now I probably found the problem in the error.log

04.07.2019 09:07:35.445 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 0 time

04.07.2019 09:07:35.451 *WARN* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.TrackingCorruptIndexHandler Ignoring corrupt index [/oak:index/authorizables] which has been marked as corrupt [since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 1 time]. This index MUST be reindexed for indexing to work properly

04.07.2019 09:07:40.443 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 1 time

04.07.2019 09:07:45.444 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 2 time

04.07.2019 09:07:50.444 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 3 time

04.07.2019 09:07:55.444 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 4 time

04.07.2019 09:08:00.444 *INFO* [async-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate Marking [/oak:index/authorizables] as corrupt. The index is failing since Do Jul 04 08:37:30 MESZ 2019 ,4 indexing cycles, failed 361 times, skipped 5 time

But I have absolutely no clue how to fix that.

Nirmal_Jose
Adobe Employee
Adobe Employee
July 5, 2019

Unfortunately oak-run gives me an error:

08:07:22 - Error occurred while performing index tasks

org.apache.jackrabbit.oak.segment.file.InvalidFileStoreVersionException: Using a too recent version of oak-segment-tar

        at org.apache.jackrabbit.oak.segment.file.ManifestChecker.checkStoreVersion(ManifestChecker.java:81) ~[oak-run-1.8.2.jar:1.8.2]

I tried using oak-run-1.6.6 instead but this version doesn't know the options "reindex" and "index-paths".

Couldn't find any documentation.


You should be using the same version of oak run as per the Oak version of your instance. You can find the version in the home page of crxde