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

Replicator restart script passes wrong home dir to replicator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      Identified on docker.

      Steps to reproduce:

      Install artifactory and replicator.

      docker run -p 8081:8081 -e "START_LOCAL_REPLICATOR=true" docker.jfrog.io/jfrog/artifactory-pro:6.0.0-m024
      

      Use replicator.sh to restart replicator:

      go to:

      /opt/jfrog/artifactory/bin/replicator

      ./replicator.sh restart
      
      

      Replicator will not start properly and will print to nohup.out:

      Info: Waiting for file /opt/jfrog/artifactory/bin/etc/replicator.artifactory.yaml
      
      

       

      As you can see the home directory has been set incorrectly to: /opt/jfrog/artifactory/bin

      Replicator expects it to be /opt/jfrog/artifactory/replicator

        Attachments

          Activity

              People

              Assignee:
              galba Gal Ben Ami
              Reporter:
              galba Gal Ben Ami
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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