Upgrade from 3.1.0-04 to 3.12.1-01 failed with error in database


#1

Hello everybody,

I tried to Upgrade our nexus from version 3.1.0-04 to 3.12.1-01. Its failed everytime with the following error, the main Quesion is, why he have issues to write to the accesslog/*? The Permissions are right for the user and he owns both directorys. If you need additional information, let me know.

...
2018-07-02 16:50:15,854+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - Activated
2018-07-02 16:50:15,965+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start RESTORE
2018-07-02 16:50:16,315+0000 INFO  [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Storage 'plocal:/opt/sonatype-work/nexus3/db/analytics' is opened under OrientDB distribution : 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
2018-07-02 16:50:16,327+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Storage 'plocal:/opt/sonatype-work/nexus3/db/config' is opened under OrientDB distribution : 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
2018-07-02 16:50:16,905+0000 INFO  [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Storage 'plocal:/opt/sonatype-work/nexus3/db/audit' is opened under OrientDB distribution : 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
2018-07-02 16:50:16,923+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Storage 'plocal:/opt/sonatype-work/nexus3/db/security' is opened under OrientDB distribution : 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
2018-07-02 16:50:17,056+0000 WARN  [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Main storage configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf is broken in storage accesslog, try to read from backup file /opt/sonatype-work/nexus3/db/accesslog/database.ocf2
2018-07-02 16:50:17,057+0000 ERROR [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Backup configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf2 does not exist
2018-07-02 16:50:17,084+0000 ERROR [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Exception `667C2A59` in storage `plocal:/opt/sonatype-work/nexus3/db/accesslog`: 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/sonatype-work/nexus3/db/accesslog' with mode=rw
	DB name="accesslog"
	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:143)
	at org.sonatype.nexus.orient.DatabaseInstanceImpl.doStart(DatabaseInstanceImpl.java:56)
	at org.sonatype.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:104)
	at org.sonatype.goodies.lifecycle.Lifecycles.start(Lifecycles.java:44)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:252)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:231)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog
	DB name="accesslog"
	at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:152)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
	... 18 common frames omitted
2018-07-02 16:50:17,085+0000 ERROR [ForkJoinPool.commonPool-worker-1]  *SYSTEM org.sonatype.nexus.orient.DatabaseInstanceImpl - Lifecycle operation start failed
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/sonatype-work/nexus3/db/accesslog' with mode=rw
	DB name="accesslog"
	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:143)
	at org.sonatype.nexus.orient.DatabaseInstanceImpl.doStart(DatabaseInstanceImpl.java:56)
	at org.sonatype.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:104)
	at org.sonatype.goodies.lifecycle.Lifecycles.start(Lifecycles.java:44)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:252)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:231)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog
	DB name="accesslog"
	at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:152)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
	... 18 common frames omitted
2018-07-02 16:50:17,132+0000 ERROR [FelixStartLevel]  *SYSTEM org.sonatype.nexus.orient.restore.RestoreServiceImpl - Failed transition: NEW -> STARTED
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/sonatype-work/nexus3/db/accesslog' with mode=rw
	DB name="accesslog"
	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:143)
	at org.sonatype.nexus.orient.DatabaseInstanceImpl.doStart(DatabaseInstanceImpl.java:56)
	at org.sonatype.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:104)
	at org.sonatype.goodies.lifecycle.Lifecycles.start(Lifecycles.java:44)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:252)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:231)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog
	DB name="accesslog"
	at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:152)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
	... 18 common frames omitted
2018-07-02 16:50:17,132+0000 ERROR [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Failed to start nexus
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/sonatype-work/nexus3/db/accesslog' with mode=rw
	DB name="accesslog"
	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:143)
	at org.sonatype.nexus.orient.DatabaseInstanceImpl.doStart(DatabaseInstanceImpl.java:56)
	at org.sonatype.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:104)
	at org.sonatype.goodies.lifecycle.Lifecycles.start(Lifecycles.java:44)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:252)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
	at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:231)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog
	DB name="accesslog"
	at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:152)
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
	... 18 common frames omitted
2018-07-02 16:50:17,134+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/opt/sonatype-work/nexus3/db/accesslog' with mode=rw
	DB name="accesslog"
2018-07-02 16:50:17,134+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:323)
2018-07-02 16:50:17,134+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:259)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.nexus.orient.DatabaseManagerSupport.connect(DatabaseManagerSupport.java:143)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.nexus.orient.DatabaseInstanceImpl.doStart(DatabaseInstanceImpl.java:56)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.goodies.lifecycle.LifecycleSupport.start(LifecycleSupport.java:104)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.goodies.lifecycle.Lifecycles.start(Lifecycles.java:44)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.nexus.orient.DatabaseManagerSupport.createInstance(DatabaseManagerSupport.java:252)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at org.sonatype.nexus.orient.DatabaseManagerSupport.instance(DatabaseManagerSupport.java:231)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
2018-07-02 16:50:17,135+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog
	DB name="accesslog"
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:152)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:267)
2018-07-02 16:50:17,136+0000 ERROR [FelixStartLevel]  *SYSTEM java.lang.Throwable - 	... 18 more
2018-07-02 16:50:17,559+0000 INFO  [ForkJoinPool.commonPool-worker-1]  *SYSTEM ROOT - Storage 'plocal:/opt/sonatype-work/nexus3/db/component' is opened under OrientDB distribution : 2.2.34 (build f340442755a31eabc91b87cb3ef99eda5cee6ebd, branch 2.2.x)
2018-07-02 16:50:17,563+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Uptime: 16 seconds and 68 milliseconds
2018-07-02 16:50:17,566+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Stop STORAGE
2018-07-02 16:50:17,567+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping 6 pools
2018-07-02 16:50:17,567+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: analytics
2018-07-02 16:50:17,567+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: security
2018-07-02 16:50:17,567+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: component
2018-07-02 16:50:17,567+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: audit
2018-07-02 16:50:17,568+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: config
2018-07-02 16:50:17,568+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping pool: accesslog
2018-07-02 16:50:17,568+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping 4 instances
2018-07-02 16:50:17,568+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping instance: analytics
2018-07-02 16:50:17,568+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping instance: security
2018-07-02 16:50:17,708+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping instance: audit
2018-07-02 16:50:17,708+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseManagerImpl - Stopping instance: config
2018-07-02 16:50:17,708+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - OrientDB Server is shutting down...
2018-07-02 16:50:17,708+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Shutting down protocols
2018-07-02 16:50:17,709+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Shutting down plugins:
2018-07-02 16:50:17,709+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - jmx
2018-07-02 16:50:17,709+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Shutting down databases:
2018-07-02 16:50:17,709+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - Orient Engine is shutting down...
2018-07-02 16:50:17,710+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: analytics...
2018-07-02 16:50:17,740+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: security...
2018-07-02 16:50:17,767+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: component...
2018-07-02 16:50:17,790+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: audit...
2018-07-02 16:50:17,803+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: config...
2018-07-02 16:50:17,830+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: OSystem...
2018-07-02 16:50:17,832+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - - shutdown storage: accesslog...
2018-07-02 16:50:18,208+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - OrientDB Engine shutdown complete
2018-07-02 16:50:18,212+0000 INFO  [FelixStartLevel]  *SYSTEM ROOT - OrientDB Server shutdown complete
2018-07-02 16:50:18,214+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - Shutdown
2018-07-02 16:50:18,215+0000 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Stop KERNEL

#2

Caused by: com.orientechnologies.orient.core.exception.OStorageException: Invalid format for configuration file /opt/sonatype-work/nexus3/db/accesslog/database.ocf for storageaccesslog

Looks like something is wrong with the access log database. That database just keeps track of IP addresses that have contacted Nexus, it’s not essential.

Can you try renaming " /opt/sonatype-work/nexus3/db/accesslog" to " /opt/sonatype-work/nexus3/db/accesslog.old"?


#3

Hi rseddon,
I am using nexus 3.14.0, after installing. I am unable to start it getting the same above error.
I tried the solution you provided. But on the path /opt/sonatype-work/nexus3/db
i dont have and file or folder in db directory.
Could you please suggest further

Thanks
Neetu


#4

below are the error i am getting
org.sonatype.nexus.bootstrap.ConfigurationBuilder - nexus-features=‘nexus-pro-feature’
2018-10-14 18:34:51,107+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - ssl.etc=’/usr/local/nexus-3.14.0-04/etc/ssl’
2018-10-14 18:34:51,107+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - Java: 1.8.0_181, Java HotSpot™ 64-Bit Server VM, Oracle Corporation, 25.181-b13
2018-10-14 18:34:51,108+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Linux, 4.15.0-1021-aws, amd64
2018-10-14 18:34:51,109+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: root, en, /root
2018-10-14 18:34:51,110+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /usr/local/nexus-3.14.0-04
2018-10-14 18:34:51,118+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /usr/local/sonatype-work/nexus3/tmp
2018-10-14 18:34:51,124+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting
2018-10-14 18:34:51,133+0000 INFO [FelixStartLevel] *SYSTEM org.eclipse.jetty.util.log - Logging initialized @5632ms to org.eclipse.jetty.util.log.Slf4jLog
2018-10-14 18:34:51,146+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/usr/local/nexus-3.14.0-04/etc/jetty/jetty.xml
2018-10-14 18:34:51,395+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/usr/local/nexus-3.14.0-04/etc/jetty/jetty-http.xml
2018-10-14 18:34:51,455+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Applying configuration: file:/usr/local/nexus-3.14.0-04/etc/jetty/jetty-requestlog.xml
2018-10-14 18:34:51,514+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting: org.eclipse.jetty.server.Server@3f29b1ea[9.4.11.v20180605]
2018-10-14 18:34:51,518+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.Server - jetty-9.4.11.v20180605; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_181-b13
2018-10-14 18:34:51,647+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
2018-10-14 18:34:51,652+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
2018-10-14 18:34:51,657+0000 INFO [jetty-main-1] *SYSTEM org.eclipse.jetty.server.session - node0 Scavenging every 600000ms
2018-10-14 18:34:51,667+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Initializing
2018-10-14 18:34:51,668+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Loading OSS Edition
2018-10-14 18:34:51,669+0000 INFO [jetty-main-1] *SYSTEM
2018-10-14 18:35:03,506+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.rest-jackson2 [160]
org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-audit-plugin [211]
2018-10-14 18:35:16,548+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.elasticsearch [210]
2018-10-14 18:35:16,607+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.elasticsearch [210]
2018-10-14 18:35:16,612+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.repository [227]
2018-10-14 18:35:17,377+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.repository [227]
2018-10-14 18:35:17,386+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_licensing_license-bundle_1.4.3_license-bundle-1.4.3.jar [268]
2018-10-14 18:35:17,623+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_licensing_license-bundle_1.4.3_license-bundle-1.4.3.jar [268]
2018-10-14 18:35:17,633+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.licensing-extension [240]
2018-10-14 18:35:17,734+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.licensing-extension [240]
2018-10-14 18:35:17,742+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_insight_scan_insight-scanner-model-io_2.8.1-01_insight-scanner-model-io-2.8.1-01.jar [266]
2018-10-14 18:35:17,791+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_insight_scan_insight-scanner-model-io_2.8.1-01_insight-scanner-model-io-2.8.1-01.jar [266]
2018-10-14 18:35:17,793+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_insight_scan_insight-scanner-core_2.8.1-01_insight-scanner-core-2.8.1-01.jar [265]
2018-10-14 18:35:17,843+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED wrap_file__usr_local_nexus-3.14.0-04_system_com_sonatype_insight_scan_insight-scanner-core_2.8.1-01_insight-scanner-core-2.8.1-01.jar [265]
2018-10-14 18:35:17,844+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-healthcheck-base [244]
2018-10-14 18:35:18,191+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-healthcheck-base [244]
2018-10-14 18:35:18,196+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-ahc-plugin [241]
2018-10-14 18:35:18,283+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-ahc-plugin [241]
2018-10-14 18:35:18,289+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.rest-client [264]
2018-10-14 18:35:18,336+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.rest-client [264]
2018-10-14 18:35:18,337+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-analytics-plugin [242]
2018-10-14 18:35:18,501+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-analytics-plugin [242]
2018-10-14 18:35:18,503+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-clm-oss-plugin [243]
2018-10-14 18:35:18,548+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-clm-oss-plugin [243]
2018-10-14 18:35:18,550+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-ldap-plugin [245]
2018-10-14 18:35:18,723+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-ldap-plugin [245]
2018-10-14 18:35:18,724+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-licensing-plugin [246]
2018-10-14 18:35:18,859+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-licensing-plugin [246]
2018-10-14 18:35:18,866+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-nuget [254]
2018-10-14 18:35:19,100+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-nuget [254]
2018-10-14 18:35:19,106+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-rubygems [255]
2018-10-14 18:35:19,252+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-rubygems [255]
2018-10-14 18:35:19,254+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-migration-plugin [247]
2018-10-14 18:35:19,733+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-migration-plugin [247]
2018-10-14 18:35:19,734+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-outreach-plugin [248]
2018-10-14 18:35:19,836+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-outreach-plugin [248]
2018-10-14 18:35:19,841+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-proui-plugin [249]
2018-10-14 18:35:19,900+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-proui-plugin [249]
2018-10-14 18:35:19,904+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-proximanova-plugin [250]
2018-10-14 18:35:19,945+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-proximanova-plugin [250]
2018-10-14 18:35:19,953+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-bower [251]
2018-10-14 18:35:20,089+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-bower [251]
2018-10-14 18:35:20,092+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-docker [252]
2018-10-14 18:35:20,587+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-docker [252]
2018-10-14 18:35:20,593+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-gitlfs [253]
2018-10-14 18:35:20,680+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-gitlfs [253]
2018-10-14 18:35:20,684+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-repository-yum [256]
2018-10-14 18:35:20,971+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-repository-yum [256]
2018-10-14 18:35:20,977+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-restore-nuget [257]
2018-10-14 18:35:21,013+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-restore-nuget [257]
2018-10-14 18:35:21,020+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-restore-yum [258]
2018-10-14 18:35:21,055+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-restore-yum [258]
2018-10-14 18:35:21,068+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING com.sonatype.nexus.plugins.nexus-rutauth-plugin [259]
2018-10-14 18:35:21,137+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED com.sonatype.nexus.plugins.nexus-rutauth-plugin [259]
2018-10-14 18:35:21,140+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusLifecycleManager - Start STORAGE
2018-10-14 18:35:22,314+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.node.LocalNodeAccess - Generating certificate
2018-10-14 18:35:23,557+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.node.LocalNodeAccess - ID: 74439BA8-7D3DD4C3-7C5F5D56-70236A34-E082EC4F
2018-10-14 18:35:23,564+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - OrientDB version: 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
2018-10-14 18:35:23,603+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - OrientDB Server v2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x) is starting up…
2018-10-14 18:35:23,614+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OServer - Databases directory: /usr/local/sonatype-work/nexus3/db
2018-10-14 18:35:23,976+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Configuration of usage of soft references inside of containers of results of SQL execution
2018-10-14 18:35:23,982+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Initial and maximum values of heap memory usage are equal, containers of results of SQL executors will use soft references by default
2018-10-14 18:35:23,983+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Auto configuration of disk cache size.
2018-10-14 18:35:24,131+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - 1031720960 B/983 MB/0 GB of physical memory were detected on machine
2018-10-14 18:35:24,147+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Soft memory limit for this process is set to -1 B/-1 MB/-1 GB
2018-10-14 18:35:24,147+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Hard memory limit for this process is set to -1 B/-1 MB/-1 GB
2018-10-14 18:35:24,153+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Path to ‘memory’ cgroup is ‘/user.slice’
2018-10-14 18:35:24,153+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Mounting path for memory cgroup controller is ‘/sys/fs/cgroup/memory’
2018-10-14 18:35:24,154+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - cgroup soft memory limit is 9223372036854771712 B/8796093022207 MB/8589934591 GB
2018-10-14 18:35:24,155+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - cgroup hard memory limit is 9223372036854771712 B/8796093022207 MB/8589934591 GB
2018-10-14 18:35:24,155+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.common.jna.ONative - Detected memory limit for current process is 1031720960 B/983 MB/0 GB
2018-10-14 18:35:24,157+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - Not enough physical memory available for DISKCACHE: 983MB (heap=1,160MB direct=2,048MB). Set lower Maximum Heap (-Xmx setting on JVM) and restart OrientDB. Now running with DISKCACHE=256MB
2018-10-14 18:35:24,160+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer - OrientDB config DISKCACHE=256MB (heap=1,160MB direct=2,048MB os=983MB)
2018-10-14 18:35:24,162+0000 WARN [FelixStartLevel] *SYSTEM com.orientechnologies.common.util.OMemory - The sum of the configured JVM maximum heap size (1216348160 bytes) and the OrientDB maximum cache size (268435456 bytes) is larger than the available physical memory size (com.orientechnologies.common.jna.ONative$MemoryLimitResult@4bf00f0b bytes). That may cause out of memory errors, please tune the configuration up. Use the -Xmx JVM option to lower the JVM maximum heap memory size or storage.diskCache.bufferSize OrientDB option to lower memory requirements of the cache.
2018-10-14 18:35:24,277+0000 INFO [FelixStartLevel] *SYSTEM com.orientechnologies.orient.server.OSystemDatabase - $ANSI{green {db=OSystem}} Creating the system database ‘OSystem’ for current server
2018-10-14 18:35:25,228+0000 ERROR [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception 68FBE484 in storage plocal:/usr/local/sonatype-work/nexus3/db/OSystem: 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database ‘OSystem’ due to limited free space on the disk (3876 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
DB name=“OSystem”
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkLowDiskSpaceRequestsAndReadOnlyConditions(OAbstractPaginatedStorage.java:5073)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.createRecord(OAbstractPaginatedStorage.java:1339)
at com.orientechnologies.orient.core.config.OStorageConfigurationImpl.create(OStorageConfigurationImpl.java:707)
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.create(OStorageConfigurationSegment.java:121)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:489)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:131)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:438)
at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:160)
at com.orientechnologies.orient.server.OSystemDatabase.(OSystemDatabase.java:44)
at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1309)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:367)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl.doStart(DatabaseServerImpl.java:186)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e.CGLIB$start$10()
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e$$FastClassByGuice$$5749582c.invoke()
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
at
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:438)
at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:160)
at com.orientechnologies.orient.server.OSystemDatabase.(OSystemDatabase.java:44)
at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1309)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:367)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl.doStart(DatabaseServerImpl.java:186)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e.CGLIB$start$10()
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e$$FastClassByGuice$$5749582c.invoke()
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e.start()
at org.sonatype.nexus.internal.orient.OrientBootstrap.doStart(OrientBootstrap.java:78)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd.CGLIB$start$4()
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd$$FastClassByGuice$$c04bff7f.invoke()
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd.start()
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:157)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:95)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:195)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1429)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
2018-10-14 18:35:25,232+0000 ERROR [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception 68FBE484 in storage plocal:/usr/local/sonatype-work/nexus3/db/OSystem: 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database ‘OSystem’ due to limited free space on the disk (3876 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
DB name=“OSystem”
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkLowDiskSpaceRequestsAndReadOnlyConditions(OAbstractPaginatedStorage.java:5073)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.createRecord(OAbstractPaginatedStorage.java:1339)
at com.orientechnologies.orient.core.config.OStorageConfigurationImpl.create(OStorageConfigurationImpl.java:707)
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.create(OStorageConfigurationSegment.java:121)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.create(OAbstractPaginatedStorage.java:489)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(OLocalPaginatedStorage.java:131)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:438)
at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:160)
at com.orientechnologies.orient.server.OSystemDatabase.(OSystemDatabase.java:44)
at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1309)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:367)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl.doStart(DatabaseServerImpl.java:186)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e.CGLIB$start$10()
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e$$FastClassByGuice$$5749582c.invoke()
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl$$EnhancerByGuice$$6d2a624e.start()
at org.sonatype.nexus.internal.orient.OrientBootstrap.doStart(OrientBootstrap.java:78)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd.CGLIB$start$4()
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd$$FastClassByGuice$$c04bff7f.invoke()
at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at org.sonatype.nexus.internal.orient.OrientBootstrap$$EnhancerByGuice$$221620cd.start()
at org.sonatype.nexus.extender.NexusLifecycleManager.startComponent(NexusLifecycleManager.java:157)
at org.sonatype.nexus.extender.NexusLifecycleManager.to(NexusLifecycleManager.java:95)
at org.sonatype.nexus.extender.NexusContextListener.frameworkEvent(NexusContextListener.java:195)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1429)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
2018-10-14 18:35:25,244+0000 ERROR [FelixStartLevel] *SYSTEM org.sonatype.nexus.internal.orient.DatabaseServerImpl - Failed transition: NEW -> STARTED
com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database ‘OSystem’
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:506)
at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:160)
at com.orientechnologies.orient.server.OSystemDatabase.(OSystemDatabase.java:44)
at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1309)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:367)
at org.sonatype.nexus.internal.orient.DatabaseServerImpl.doStart(DatabaseServerImpl.java:186)
at org.sonatype.nexus.common.stateguard.StateGuardLifecycleSupport.start(StateGuardLifecycleSupport.java:67)
at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:193)
at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)
at org.sonatype.nexus.internal.orient.OrientBootstrap.doStart(OrientBootstrap.java:78)
.java:193)
2018-10-14 18:35:25,264+0000 ERROR [FelixStartLevel] *SYSTEM java.lang.Throwable - at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)


#5

Hi rseddonSonatypers
could you please check my issue.

Thanks
Neetu


#6

2018-10-14 18:35:25,228+0000 ERROR [FelixStartLevel] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception 68FBE484 in storage plocal:/usr/local/sonatype-work/nexus3/db/OSystem : 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database ‘OSystem’ due to limited free space on the disk (3876 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
DB name=“OSystem”

The error above shows the problem. There isn’t sufficient free space left in the disk partition holding the work directory, and the databases have been put into read only mode. This was done to protect the databases against corruption that will occur if the disk they reside on becomes completely full.

RIch