# Broken Pages in DB

**URL:** <https://community.sonatype.com/t/broken-pages-in-db/11187>\
**Category:** Sonatype Nexus Repository\
**Tags:** orientdb\
**Created:** [August 29, 2023, 8:53pm UTC](https://community.sonatype.com/t/broken-pages-in-db/11187 "2023-08-29T20:53:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![martin.blaschke](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@martin.blaschke](https://community.sonatype.com/u/martin.blaschke)\
**Post date:** [August 29, 2023, 8:53pm UTC](https://community.sonatype.com/t/broken-pages-in-db/11187/1 "2023-08-29T20:53:49Z")

</div>

Hi,  
we are using Nexus Storage manager. After a crash of the the Nexus application, the storage has been switched to readonly mode. The storage has a size of about 400 GB.  
Here is the error output  
2023-08-29 09:40:41,146-0400 WARN [qtp2028174808-544] hudson org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /nexus/content/groups/npm-public/bootstrap  
com.orientechnologies.orient.core.exception.OPageIsBrokenException: Following files and pages are detected to be broken [‘component\_bucket\_name\_version\_idx.sbt’ :283;‘browse\_node\_asset\_id\_idx.sbt’ :112;‘asset\_name\_ci\_idx.sbt’ :1552;‘component\_bucket\_group\_name\_version\_idx.sbt’ :282;‘browse\_node\_3.pcl’ :306;‘browse\_node\_component\_id\_idx.sbt’ :74;‘asset\_bucket\_rid\_idx.sbt’ :279;‘browse\_node\_repository\_name\_parent\_path\_name\_idx.sbt’ :1015;‘asset\_component\_idx.sbt’ :179;], storage is switched to ‘read only’ mode. Any modification operations are prohibited. To restore database and make it fully operational you may export and import database to and from JSON.  
DB name=“component”  
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkLowDiskSpaceRequestsAndReadOnlyConditions(OAbstractPaginatedStorage.java:5144)  
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1729)  
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:541)  
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:99)  
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2908)  
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2870)  
at org.sonatype.nexus.repository.storage.StorageTxImpl.commit(StorageTxImpl.java:196)  
at sun.reflect.GeneratedMethodAccessor1301.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53)  
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:57)

We also tried to export the DB but that again threw lots of errors. And we tried to rebuild the index which again threw various errors.

Does anybody know how to fix this issue?

If you need more info, I am happy to provide it.  
Nexus version: 3.51.0-01

Thank you in advance for your help!

Martin

---

_[View the full topic](https://community.sonatype.com/t/broken-pages-in-db/11187)._
