Hello All,
I am trying to upgrade my nexus instance from 3.26.1-02 to 3.70.1-02. I follow symbolic link method so after stopping the service, I did the below steps
wget /tmp/ https://download.sonatype.com/nexus/3/nexus-3.70.1-02-java8-unix.tar.gz
cd /opt/
tar xvzf /tmp/nexus-3.70.1-02-java8-unix.tar.gz
then go into nexus-3.70.1-02 directory replaced the respective nexus.vmoptions, nexus.rc and jetty.xml file to update the keystore password from the older. Once the service is started everything is working fine. But when checked in the nexus.log a bunch of logs getting created as below. Is this an issue to be resolved. Kindly help me on this.
2024-08-04 03:50:32,783+0000 WARN [quartz-10-thread-6] *SYSTEM org.sonatype.nexus.repository.storage.BucketDeleter - Error deleting blob default@a7acbfbc-41b8-48f1-875d-b3ca66f1f91a, skipping
org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: a7acbfbc-41b8-48f1-875d-b3ca66f1f91a, java.io.IOException: Invalid argument, Cause: Invalid argument
at org.sonatype.nexus.blobstore.file.FileBlobStore.doDelete(FileBlobStore.java:563)
at org.sonatype.nexus.blobstore.BlobStoreSupport.delete(BlobStoreSupport.java:146)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:287)
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
at org.sonatype.nexus.repository.storage.BucketDeleter.deleteBlob(BucketDeleter.java:180)
at org.sonatype.nexus.repository.storage.BucketDeleter.commitBatch(BucketDeleter.java:159)
at org.sonatype.nexus.repository.storage.BucketDeleter.lambda$0(BucketDeleter.java:93)
at org.sonatype.nexus.orient.transaction.OrientOperations.lambda$2(OrientOperations.java:62)
at org.sonatype.nexus.transaction.OperationPoint.lambda$0(OperationPoint.java:53)
at org.sonatype.nexus.transaction.OperationPoint.proceed(OperationPoint.java:64)
at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:58)
at org.sonatype.nexus.transaction.Operations.proceedWithTransaction(Operations.java:237)
at org.sonatype.nexus.transaction.Operations.transactional(Operations.java:228)
at org.sonatype.nexus.transaction.Operations.run(Operations.java:180)
at org.sonatype.nexus.orient.transaction.OrientOperations.run(OrientOperations.java:62)
at org.sonatype.nexus.repository.storage.BucketDeleter.deleteBucket(BucketDeleter.java:81)
at org.sonatype.nexus.repository.storage.internal.StorageFacetManagerImpl.deleteBucket(StorageFacetManagerImpl.java:136)
at org.sonatype.nexus.repository.storage.internal.StorageFacetManagerImpl.lambda$0(StorageFacetManagerImpl.java:106)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.LongPipeline.reduce(LongPipeline.java:461)
at java.util.stream.LongPipeline.sum(LongPipeline.java:419)
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593)
at org.sonatype.nexus.repository.storage.internal.StorageFacetManagerImpl.performDeletions(StorageFacetManagerImpl.java:117)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:287)
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
at org.sonatype.nexus.repository.storage.internal.StorageFacetCleanupTask.execute(StorageFacetCleanupTask.java:52)
at org.sonatype.nexus.repository.storage.internal.StorageFacetCleanupTask.execute(StorageFacetCleanupTask.java:1)
at org.sonatype.nexus.scheduling.TaskSupport.call(TaskSupport.java:105)
at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:143)
at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:106)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.sonatype.nexus.quartz.internal.QuartzThreadPool.lambda$0(QuartzThreadPool.java:145)
at org.sonatype.nexus.thread.internal.MDCAwareRunnable.run(MDCAwareRunnable.java:40)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.io.IOException: Invalid argument
at java.io.RandomAccessFile.setLength(Native Method)
at com.squareup.tape.QueueFile.setLength(QueueFile.java:406)
at com.squareup.tape.QueueFile.expandIfNecessary(QueueFile.java:375)
at com.squareup.tape.QueueFile.add(QueueFile.java:305)
at com.squareup.tape.QueueFile.add(QueueFile.java:287)
at org.sonatype.nexus.blobstore.file.internal.orient.OrientFileBlobDeletionIndex.createRecord(OrientFileBlobDeletionIndex.java:102)
at org.sonatype.nexus.blobstore.file.FileBlobStore.doDelete(FileBlobStore.java:557)
… 46 common frames omitted
2024-08-04 03:50:32,788+0000 WARN [quartz-10-thread-6] *SYSTEM org.sonatype.nexus.repository.storage.BucketDeleter - Error deleting blob default@31648669-ae00-48a9-b77c-b9cb1925255d, skipping
org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: 31648669-ae00-48a9-b77c-b9cb1925255d, java.io.IOException: Invalid argument, Cause: Invalid argument
at org.sonatype.nexus.blobstore.file.FileBlobStore.doDelete(FileBlobStore.java:563)
at org.sonatype.nexus.blobstore.BlobStoreSupport.delete(BlobStoreSupport.java:146)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:287)
at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
at org.sonatype.nexus.repository.storage.BucketDeleter.deleteBlob(BucketDeleter.java:180)
at org.sonatype.nexus.repository.storage.BucketDeleter.commitBatch(BucketDeleter.java:159)
at org.sonatype.nexus.repository.storage.BucketDeleter.lambda$0(BucketDeleter.java:93)
at org.sonatype.nexus.orient.transaction.OrientOperations.lambda$2(OrientOperations.java:62)
at org.sonatype.nexus.transaction.OperationPoint.lambda$0(OperationPoint.java:53)
at org.sonatype.nexus.transaction.OperationPoint.proceed(OperationPoint.java:64)
at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:58)
at org.sonatype.nexus.transaction.Operations.proceedWithTransaction(Operations.java:237)
at org.sonatype.nexus.transaction.Operations.transactional(Operations.java:228)
at org.sonatype.nexus.transaction.Operations.run(Operations.java:180)
at org.sonatype.nexus.orient.transaction.OrientOperations.run(OrientOperations.java:62)
at org.sonatype.nexus.repository.storage.BucketDeleter.deleteBucket(BucketDeleter.java:81)
at org.sonatype.nexus.repository.storage.internal.StorageFacetManagerImpl.deleteBucket(StorageFacetManagerImpl.java:136)
at org.sonatype.nexus.repository.storage.internal.StorageFacetManagerImpl.lambda$0(StorageFacetManagerImpl.java:106)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
at java.util.ArrayList$Arclient_loop: send disconnect: Broken pipe