we have a containerized Nexus Repository ManagerOSS 3.48.0-0 which is running on centos 7 base image and our data’s are stored on mount which is totally 700+GB.
our client want to move nexus to dedicated server which Rocky Linux 8 , I have tried to migrate but when ever i tried to start the nexus service it is saying that
“Cannot load database configuration. The database seems corrupted”
all the data transfer was done to new machine using rsync
[rsync -avz --progress sonatype-work ip:/nexus]
I have followed below doc to migration process , can anybody help or suggestion to fix this issue
nex
2023-06-08 03:11:19,188+0000 ERROR [ForkJoinPool.commonPool-worker-2] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception `7BB1F7DC` in storage `plocal:/nexus/sonatype-work/nexus3/db/security`: 2.2.37 (build a7541e7ceeabf592dd9a7b2928b6c023cbc73193, branch 2.2.x)
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/nexus/sonatype-work/nexus3/db/security' with mode=rw
DB name="security"
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:323)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:259)
at org.sonatype.nexus.orient.DatabaseManagerSupport.connect(DatabaseManagerSupport.java:178)
at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:312)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:289)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: com.orientechnologies.orient.core.exception.OSerializationException: Cannot load database configuration. The database seems corrupted
DB name="security"
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:169)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
... 14 common frames omitted
Caused by: java.io.EOFException: null
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:438)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:416)
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.readData(OStorageConfigurationSegment.java:287)
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:135)