Expand my Community achievements bar.

Not able to upgrade my Local AEM from 6.5.15 to 6.5.18

Avatar

Level 3

I am updating my local AEM from 6.5.15 to 6.5.18. I have taken the service pack from one my my server which is having the higher version and installed in my local AEM, then i have restarted my local AEM.

After restart when i checked my AEM version it is still showing the older one.  Although in package manager the service package is installed correctly.

skumari_0-1711625019747.png

Also i am getting some error in error.log file.

28.03.2024 16:41:53.399 *ERROR* [sling-oak-4-org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate-fulltext-async] org.apache.jackrabbit.oak.segment.SegmentNotFoundExceptionListener Segment not found: 30484613-0b86-4230-a952-c2d4fa695ca6. SegmentId age=978289ms
org.apache.jackrabbit.oak.segment.SegmentNotFoundException: Segment 30484613-0b86-4230-a952-c2d4fa695ca6 not found
	at org.apache.jackrabbit.oak.segment.file.AbstractFileStore.readSegmentUncached(AbstractFileStore.java:288) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.file.FileStore.lambda$readSegment$10(FileStore.java:505) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.SegmentCache$NonEmptyCache.lambda$getSegment$0(SegmentCache.java:163) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3932) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at org.apache.jackrabbit.oak.segment.SegmentCache$NonEmptyCache.getSegment(SegmentCache.java:160) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.file.FileStore.readSegment(FileStore.java:505) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.SegmentId.getSegment(SegmentId.java:153) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.Record.getSegment(Record.java:71) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.MapRecord.getKeys(MapRecord.java:311) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.MapRecord$1.iterator(MapRecord.java:334) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at com.google.common.collect.Iterables$3.transform(Iterables.java:509) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.collect.Iterables$3.transform(Iterables.java:506) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.collect.Iterators$5.hasNext(Iterators.java:543) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542) [com.adobe.granite.osgi.wrapper.guava:15.0.0.0002]
	at org.apache.jackrabbit.oak.segment.scheduler.LockBasedScheduler$CPCreator.call(LockBasedScheduler.java:425) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.scheduler.LockBasedScheduler.checkpoint(LockBasedScheduler.java:334) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.segment.SegmentNodeStore.checkpoint(SegmentNodeStore.java:270) [org.apache.jackrabbit.oak-segment-tar:1.22.13]
	at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.runWhenPermitted(AsyncIndexUpdate.java:552) [org.apache.jackrabbit.oak-core:1.22.13]
	at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:432) [org.apache.jackrabbit.oak-core:1.22.13]
	at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:349) [org.apache.sling.commons.scheduler:2.7.12]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [org.apache.sling.commons.scheduler:2.7.12]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

Can anyone please help to resolve this error as i am facing this from long time.

1 Reply

Avatar

Community Advisor

@skumari 

 

Please refer to this KB Article: https://helpx.adobe.com/in/experience-manager/kb/SegmentNotFoundException.html to fix the issue.

 

Alternatively, you can set-up a new instance and install SP-18 directly.

If you need to install SP-18 after SP-15 (for testing purposes), then please assure:

  • AEM with SP-15 is healthy. No segmentnotfound logs
  • Install SP18. The UI might say its complete, but cross-check logs. DO NOT restart AEM or your system before the logs stabilize

Aanchal Sikka