fixing the segment store

Avatar

Avatar
Validate 1
Level 1
akank_23
Level 1

Like

1 like

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
akank_23
Level 1

Like

1 like

Total Posts

24 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
akank_23
Level 1

05-07-2021

Hi All,

 

Our site is showing 503 error and checking the logs it shows segment store is corrupted.

On fixing the segment store and running the checkpoints it is showing this error 

 

[root@**** publish]# java -Xmx6000m -jar oak-run-1.2.2.jar checkpoints /data/apps/aem/publish/crx-quickstart/repository/segmentstore rm-unreferenced
Apache Jackrabbit Oak 1.2.2
Checkpoints /data/apps/aem/publish/crx-quickstart/repository/segmentstore
11:15:14.144 [main] ERROR o.a.j.o.p.segment.SegmentTracker - Segment not found: 00000000-0000-0000-0000-000000000000. Creation date delta is 2 ms.
Segment 00000000-0000-0000-0000-000000000000 not found
 
any pointers may help 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

573 likes

Total Posts

728 posts

Correct reply

240 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

06-07-2021

Hi @akank_23,

Can you confirm if oak-run version used is same as that of your instance. Please share your AEM and Oak version(as available in the instance)

 

If you are following the steps mentioned in the this article - https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16542.html

and if you have backup of your instance's segmentstore,

  • I suggest to restore the same and follow steps 1 - 5 alone. 
  • If you have repo.lock file, delete that as well after step 5 -> try to restart the instance at this stage and see if it works. 

If you still face issues, please share the sequential steps followed and stack error trace.