Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14839

Access - bootstrap of admin credentials should override the matching entry on the database

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Access Server
    • Labels:
      None

      Description

      In order to overcome the following error:

      Application could not be initialized: HTTP response status 401:{"errors":[{"code":"UNAUTHORIZED","detail":"Bad credentials","message":"HTTP 401 Unauthorized"}]}
      java.lang.reflect.InvocationTargetException: null
      

      when trying to restart Artifactory, you can create a bootstrap.creds file to bootstrap the admin credentials of the access server.

      The problem is that it doesn't override the existing entry on the table access_users of the username = 'admin'
      So bootstrapping doesn't work unless the entry is deleted manually on the database.

      It is expected that bootstrap will override the existing entry on the database.

        Attachments

          Activity

            People

            • Assignee:
              shayb Shay Bagants
              Reporter:
              aviz Avi Zaig (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: