Monday, June 17, 2019

Possible reason is missing Repository service. Check AuthenticationSupport dependencies

Leave a Comment

If you received any error like this 
Symptoms : After restart, users were not able to login in author and it seems admin password in Console started taking admin:admin default. All login attempts giving error like:
Try Step1:
1. Stop your instance.

2.go to > crx-quickstart\repository\index and delete index folder.
3. Restart the instance

If step 1 not works then jump on to Step 2:


After deleting index if its not recoverable then there are some issue with your tar balls.

Goto crx ( /crx-quickstart/repository/segmentstore) folder and delete after best revision number content from journal.log also delete repo.lock and restart server or follow below step 


OR

The best way to recover using oak-run

==> java -jar /tmp/oak-run-*.jar checkpoints /crx-quickstart/repository/segmentstore

==> java -Dtar.memoryMapped=true -Xms8g -Xmx8g -jar /tmp/oak-run-*.jar  check -d1 -p /crx-quickstart/repository/segmentstore 

==> [main] INFO  o.a.j.o.p.s.f.t.ConsistencyChecker – Found latest good revision 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684

==> 4)revert the repository to this revision by editing ./crx-quickstart/repository/segmentstore/journal.log and deleting all lines after the line containing the latest good revision.
I.e. after 12b60e9c-ecb9-45ae-a863-2ba1f467bb53:261684 The bad one (which is bd57b402-6579-4f00-a9b7-24b30a954db0:261492)

5)Save journal.log file.
6) Delete the file ‘repo.lock’ and restart server.
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment