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

artifactory.config.import.yml does not initialize Artifactory with the mentioned configurations.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Duplicate
    • Affects Version/s: 6.1.0
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      Medium
    • Regression:
      Yes

      Description

      artifactory.config.import.yml does not initialize Artifactory with the mentioned proxy/repositories.

      The following error gets thrown :

      2018-07-15 16:25:27,470 [art-init] [INFO ] (o.a.r.o.OnboardingYamlBootstrapper:120) - Bootstrapping artifactory from artifactory.config.import.yml
      2018-07-15 16:25:27,503 [art-init] [ERROR] (o.a.r.o.OnboardingYamlBootstrapper:98) - Unable to parse YAML file artifactory.config.import.yml - Artifactory can not initialize default bootstrap settings
      2018-07-15 16:25:27,647 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:365) - Initialized new service id: jfrt@01cjf1w3ywpsfp1k4m19y41qsq

      Steps to reproduce:

      1. Unzip a fresh Artifactory 6.1 installation.
      2. The YAML configuration file template can be found under $ARTIFACTORY_HOME/misc/artifactory.config.template.yml
      3. Add the license to the artifactory.config.template.yml
      4. Uncomment few repositories and enter some proxy configuration.
      5. Rename the file, save it as artifactory.config.import.yml and place it under Artifactory's etc folder.
      6. Start Artifactory.
      7. Notice that Artifactory came up with the license, but with no repositories and no proxy configuration.

       

      can be related to the following:

      String serviceId = accessService.getArtifactoryServiceId().getFormattedName();
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              topazb Topaz Braverman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-17121 -
                  SYNCHRONIZED
                  • Last Sync Date: