Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-18687

Rollback from 3.14.0 to 3.13.0 corrupts the database

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.13.0, 3.14.0
    • Fix Version/s: None
    • Component/s: Database
    • Labels:
      None

      Description

      Rollback from Nexus 3.14.0 to 3.13.0 crashes the OrientDB databases accesslog:  

      com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/nexus-data/db/accesslog' with mode=rw
      ...
      Caused by: java.lang.NullPointerException: null
      

      and component:

      com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/nexus-data/db/component' with mode=rw
      ...
      Caused by: java.lang.NullPointerException: null
      

       

      The error "Cannot open local storage ... with mode=rw"  indicates that there is another OrientDB process that is running and locked the database, but it's not true in my case. Also it is impossible to connect to databases to export and reimport or rebuild them.

      Appart from database restore, is there any workaround to this behavior after the rollback?

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mykh Mykhailo
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title