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

Changing the DB_HOST host still uses the initial host

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.15.0
    • Fix Version/s: None
    • Component/s: Docker Image
    • Environment:
    • Severity:
      Medium

      Description

      Using the docker image docker.bintray.io/jfrog/artifactory-pro:6.15.0 with an external DB, if for the first start we set DB_HOST to host1, and for the second start we set the DB_HOST to host2, Artifactory still tries to connect to host1.

      Sample output:

      [445 entrypoint-artifactory.sh] Waiting for DB postgresql to be ready on arty-test-db.xxx.us-east-1.rds.amazonaws.com/5432 within 30 seconds
      [598 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already set to postgresql
      [595 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to postgresql...
      [592 entrypoint-artifactory.sh] Checking if need to copy postgresql configuration
      [590 entrypoint-artifactory.sh] DB_HOST is set to arty-test-db2.xxx.us-east-1.rds.amazonaws.com
      [674 entrypoint-artifactory.sh] DB_TYPE is set to postgresql
      

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              obogdan Ovidiu-Florin BOGDAN
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

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