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

{Windows} When the data folder name is starting with the character "r", upgrade fails to point to the right directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 4.16.0, 5.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      {Windows}

      When upgrading from version 4.x to version 5.x with the data folder name points to a folder that the name starts with "r", then the conversion to binarystore.xml fails to get the right location.

      Steps to reproduce:

      1. Start HA with version 4.16 when in the storage.properties put the directory to your NFS:
      binary.provider.filesystem.dir=\\\{Storage}\\support\repos
      2. Start your HA cluster (2 nodes at least) and check that all is working. Check that the storage is pointing to the NFS (screenshot storage4.jpg)
      3. Stop the primary (let slave node run).
      4. Perform the upgrade to 5.x of the primary. (remove the bin, tomcat, webapp and put the new ones)
      5. Start the primary.
      6. The conversion of the storage.properties will run and change the file to db.properties and binarystore.xml
      7. In the binarystore.xml file, the path will be to a wrong directory:

      <config version="v1">
      <chain template="file-system"/>
      <provider type="file-system" id="file-system">
      <binariesDir>C:\Users\user\cluster\ha-data\storage\supportepos</binariesDir>
      <fileStoreDir>\storage\supportepos</fileStoreDir>
      </provider>
      </config>

      8. Indeed, in the storage page, the directory is pointing to a wrong location. (see screenshot storage5)

        Attachments

        1. storage4.jpg
          storage4.jpg
          47 kB
        2. storage5.jpg
          storage5.jpg
          51 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alexeiv Alexei Vainshtein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: