Red Hat Satellite 6 Upgrade Fails with error "rake aborted! NoMethodError: undefined method `first' for nil:NilClass".

Solution Verified - Updated -

Issue

  • Satellite upgrade fails due to below error:

    rake aborted! NoMethodError: undefined method 'first' for nil:NilClass
    
  • After applying the audit patch from below resolution, the upgrade fails again with the following error:

    rake aborted! Unable to create bookmark: Name has already been taken
    

Environment

  • Red Hat Satellite 6.2.x and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content