Have a question? Want to report an issue? Contact JFrog support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleThe log says "Your database password in ${ARTIFACTORY_HOME}/etc/db.properties is encrypted, but no ${ARTIFACTORY_HOME}/etc/security/master.key file exists".
Cause

There is a Master Key is missing.

The Master key is an AES 128 bit secret key that's used by Artifactory to securely synchronize files between cluster nodes. It is responsible to encrypt and decrypt the shared data in the database.

Resolution
Copy the $ARTIFACTORY_HOME/etc/security/master.key from the primary node to the secondary node.
Expand
titleThe node does not contain the right bootstrap bundledid not start with a bootstrap bundle or with a wrong bootstrap bundle
Info

Relevant only when installing Artifactory version 5.6.x and below.

Cause
The node was installed without the right bootstrap bundle (bootstrap.bundle.tar.gz) or no bootstrap bundle at all.
Resolution

Install the right bootstrap bundle using the following procedure:

  1. Shutdown the node
  2. Delete the $ARTIFACTORY_HOME/access folder
  3. Delete the $ARTIFACTORY_HOME/etc/security/access folder
  4. Delete $ARTIFACTORY_HOME/etc/security/communication.key
  5. Delete $ARTIFACTORY_HOME/etc/security/artifactory.key
  6. Delete $ARTIFACTORY_HOME/etc/binarystore.xml
  7. Delete $ARTIFACTORY_HOME/etc/db.properties
  8. Delete $ARTIFACTORY_HOME/etc/cluster.id
  9. Copy the bootstrap bundle you created on the primary node, bootstrap.bundle.tar.gz, to the $ARTIFACTORY_HOME/etc folder on the secondary node.
  10. Ensure that the bundle is owned by artifactory user (chown artifactory:artifactory bootstrap.bundle.tar.gz)
  11. Start up the node

...