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

read only /var/opt/jfrog/artifactory/backup directory prevents Artifactory from starting

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.4.5
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Environment:

      CentOS 6.8 rpm install

      Description

      I created a test that shows the default /var/opt/jfrog/artifactory/backup read only directory prevents Artifactory from starting.

      This is on CentOS 6.8 and rpm install.

      1. install Artifactory
      2. run a backup using default location.
      3. change backup location to /backups
      4. make /var/opt/jfrog/artifactory/backup read only
      5. perform successful backup to /backups
      6. restart Artifactory - it errors on starup (java.lang.RuntimeException: java.lang.IllegalArgumentException: Could not initialize artifactory home directory due to: Directory '/var/opt/jfrog/artifactory/backup' is not writable!)

      This behaviour should not occur as I was allowed to change to a different backup location and perform successful backups.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              derek.pilat Derek Pilat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: