Skip to content

Server does not start after upgrade from 5.1.1 to 5.1.2 (binary version '5.1.1....' does not match the installed version '5.1.2....') #746

Description

@pzygielo

Describe the bug
Server does not start after upgrade from 5.1.1 to 5.1.2

To Reproduce
Steps to reproduce the behavior:

  1. stop current (5.1.1) opendj
  2. backup (saved me this time)
  3. unzip 5.1.2 (cksum: 403568937 76728473 opendj-5.1.2.zip) over current installation
  4. execute upgrade
  5. start upgraded opendj

Expected behavior
5.1.2 to start and operate normally

Screenshots

# ./upgrade 

>>>> OpenDJ Upgrade Utility

 * OpenDJ will be upgraded from version
 5.1.1.eefd084c464aaa6492814a833d804a93e2001782 to
 5.1.2.0802aa4081e1c175c40bde1af59439a20fcc5670
 * See '.../opendj/logs/upgrade.log' for a detailed log of this
 operation

>>>> Preparing to upgrade

  The upgrade is ready to proceed. Do you wish to continue? (yes/no) [yes]: 


>>>> Performing upgrade

  Replacing schema file '02-config.ldif'..............................   100%     
  Archiving concatenated schema.......................................   100%     

>>>> OpenDJ was successfully upgraded from version
5.1.1.eefd084c464aaa6492814a833d804a93e2001782 to
5.1.2.0802aa4081e1c175c40bde1af59439a20fcc5670

 * See '.../opendj/logs/upgrade.log' for a detailed log of this

in my case upgrade.log is actually empty.

then - on starting here's server.out:

[17/Jul/2026:19:33:17 +0000] category=CORE severity=NOTICE msgID=139 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID org.opends.messages.core-141): The Directory Server has started the shutdown process. The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServer and the reason provided for the shutdown was An error occurred while trying to start the Directory Server: InitializationException: The OpenDJ binary version '5.1.1.eefd084c464aaa6492814a833d804a93e2001782' does not match the installed version '5.1.2.0802aa4081e1c175c40bde1af59439a20fcc5670'. Please run upgrade before continuing (DirectoryServer.java:1331 DirectoryServer.java:5054)

running upgrade again:

# ./upgrade 
 * OpenDJ has already been upgraded to version
 5.1.2.0802aa4081e1c175c40bde1af59439a20fcc5670

Desktop (please complete the following information):

  • OS: Ubuntu 24.04

Vote to raise the priority 🖐️

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpackagingdeb/rpm/MSI, distribution layout, config.ldif

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions