Conjur Upgrade Failed - for any version prior to 12.5.1 to 12.6

Conjur Upgrade Failed - for any version prior to 12.5.1 to 12.6

105
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM


Symptom


When attempting to upgrade a Conjur Leader from any version prior to 12.5.1 (such as 12.1.0) directly to 12.6.0 the Conjur server fails to start during the upgrade process.

The error message encountered when an upgrade fails is as follows:

 Expected process to exit with [0], but received '1'
			    ---- Begin output of "bash"  "/tmp/chef-script20220822-129-18e3emn" ----
			    STDOUT:
			    STDERR: Deleting 1 credential for roles that no longer exist:
			    	demo:host:myDemoApp/app
			    rake aborted!
			    NameError: undefined local variable or method `latent_credentials' for #<Sequel::Postgres::Database: "postgres:///conjur" {:test=>true, :url=>"postgres:///conjur"}>
			    Did you mean?  latent_roles

 

 



Environment


12.0;12.1;12.2;12.4;12.3;12.5;12.6 Conjur Server

Server Other



Cause


This error only occurs under special circumstances. To determine if you may encounter this bug when upgrading from a Leader version prior to 12.5.1 directly to 12.6.0, determine if you are affected by the following security bulletin: Cyberark-Security-Bulletin-CA22-07 .

You can verify if you are affected by the above security bulletin by reviewing this Knowledge Base Article: Conjur Enterprise evoke restore --preview does not work .



Resolution


If you must upgrade from a version of Conjur Enterprise that is older than 12.5.1 to a later version later than 12.5.1 (such as 12.6.0), then you must first:
  • Create a backup of your current database
  • Upgrade to 12.5.1 from this backup
  • Create a backup from now-upgraded Leader (running 12.5.1)
  • Upgrade to 12.6.0 (or your target version) from the new 12.5.1 backup
Note: This bug is addressed in subsequent releases
​​​​​​


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000qrRCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail